CRAN Package Check Results for Package mapi

Last updated on 2025-11-29 09:49:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.4 12.58 265.72 278.30 OK
r-devel-linux-x86_64-debian-gcc 1.1.4 10.87 216.77 227.64 OK
r-devel-linux-x86_64-fedora-clang 1.1.4 45.00 285.94 330.94 OK
r-devel-linux-x86_64-fedora-gcc 1.1.4 39.00 322.78 361.78 OK
r-devel-windows-x86_64 1.1.4 25.00 189.00 214.00 OK
r-patched-linux-x86_64 1.1.4 15.60 241.19 256.79 OK
r-release-linux-x86_64 1.1.4 15.21 251.43 266.64 OK
r-release-macos-arm64 1.1.4 OK
r-release-macos-x86_64 1.1.4 19.00 281.00 300.00 ERROR
r-release-windows-x86_64 1.1.4 21.00 186.00 207.00 OK
r-oldrel-macos-arm64 1.1.4 OK
r-oldrel-macos-x86_64 1.1.4 13.00 185.00 198.00 ERROR
r-oldrel-windows-x86_64 1.1.4 24.00 233.00 257.00 OK

Check Details

Version: 1.1.4
Check: tests
Result: ERROR Running ‘testthat.R’ [95s/211s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(mapi) > > test_check("mapi") Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Estimated halfwidth: 286.835888 Estimated halfwidth: 143.417944 Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE Building local cartesian grid... ... 1071 cells Building worldwide lat/lon grid... Resolution: 5, Area (km^2): 209903.548034604, Spacing (km): 452.492014449456, CLS (km): 517.004996903084 ... 2432 cells Building local cartesian grid... ... 1071 cells MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.855, system: 0.107, elapsed: 7.559 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 10.029, system: 0.350, elapsed: 36.691 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.210, system: 0.026, elapsed: 0.569 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.341, system: 0.384, elapsed: 10.334 seconds] Computing values for grid cells... ... done. [user: 0.192, system: 0.009, elapsed: 0.341 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.262, system: 0.963, elapsed: 58.280 seconds] MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.877, system: 0.101, elapsed: 3.739 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 10.051, system: 0.391, elapsed: 21.766 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.200, system: 0.025, elapsed: 0.359 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.537, system: 0.460, elapsed: 8.616 seconds] Computing values for grid cells... ... done. [user: 0.180, system: 0.010, elapsed: 0.199 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.437, system: 1.059, elapsed: 35.990 seconds] MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.990, system: 0.164, elapsed: 3.995 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 10.264, system: 0.517, elapsed: 18.141 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.223, system: 0.024, elapsed: 0.377 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.208, system: 0.300, elapsed: 6.478 seconds] Computing values for grid cells... ... done. [user: 0.184, system: 0.012, elapsed: 0.385 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 3 4 ... computing probabilities from permuted values ... ... done. [user: 1.370, system: 0.311, elapsed: 2.222 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 18.989, system: 1.601, elapsed: 33.166 seconds] Building local cartesian grid... ... 1071 cells MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.977, system: 0.136, elapsed: 5.611 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 10.182, system: 0.383, elapsed: 23.147 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.205, system: 0.023, elapsed: 0.505 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.215, system: 0.275, elapsed: 9.495 seconds] Computing values for grid cells... ... done. [user: 0.200, system: 0.012, elapsed: 0.352 seconds] Starting 50 permutations... ... serially ... | | | 0% | |== | 2% | |=== | 4% | |===== | 6% | |====== | 8% | |======== | 10% | |========== | 12% | |=========== | 14% | |============= | 16% | |============== | 18% | |================ | 20% | |================== | 22% | |=================== | 24% | |===================== | 26% | |====================== | 28% | |======================== | 30% | |========================== | 32% | |=========================== | 34% | |============================= | 36% | |============================== | 38% | |================================ | 40% | |================================== | 42% | |=================================== | 44% | |===================================== | 46% | |====================================== | 48% | |======================================== | 50% | |========================================== | 52% | |=========================================== | 54% | |============================================= | 56% | |============================================== | 58% | |================================================ | 60% | |================================================== | 62% | |=================================================== | 64% | |===================================================== | 66% | |====================================================== | 68% | |======================================================== | 70% | |========================================================== | 72% | |=========================================================== | 74% | |============================================================= | 76% | |============================================================== | 78% | |================================================================ | 80% | |================================================================== | 82% | |=================================================================== | 84% | |===================================================================== | 86% | |====================================================================== | 88% | |======================================================================== | 90% | |========================================================================== | 92% | |=========================================================================== | 94% | |============================================================================= | 96% | |============================================================================== | 98% | |================================================================================| 100% ... computing probabilities from permuted values ... ... done. [user: 11.802, system: 0.887, elapsed: 26.633 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 29.301, system: 1.805, elapsed: 67.281 seconds] Significant areas aggregation, with percentile filter minQ > 0.000000 and alpha = 0.050000 ... ... 1 upper-tail and 3 lower-tail significant areas returned Building local cartesian grid... ... 1045 cells Saving _problems/test-MAPI_Varicell-15.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ──────────────────────── Expected `sd(sf::st_area(grid.var))` to equal 963339.563502512. Differences: `actual`: 963429.6 `expected`: 963339.6 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64

Version: 1.1.4
Check: tests
Result: ERROR Running ‘testthat.R’ [85s/133s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(mapi) > > test_check("mapi") Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Estimated halfwidth: 286.835888 Estimated halfwidth: 143.417944 Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE Building local cartesian grid... ... 1071 cells Building worldwide lat/lon grid... Resolution: 5, Area (km^2): 209903.548034604, Spacing (km): 452.492014449456, CLS (km): 517.004996903084 ... 2432 cells Building local cartesian grid... ... 1071 cells MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.658, system: 0.066, elapsed: 2.030 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.517, system: 0.151, elapsed: 12.287 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.179, system: 0.012, elapsed: 0.191 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.305, system: 0.215, elapsed: 4.090 seconds] Computing values for grid cells... ... done. [user: 0.171, system: 0.007, elapsed: 0.198 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.350, system: 0.476, elapsed: 19.537 seconds] MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.823, system: 0.087, elapsed: 2.306 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 10.146, system: 0.379, elapsed: 13.909 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.199, system: 0.018, elapsed: 0.277 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.901, system: 0.273, elapsed: 5.670 seconds] Computing values for grid cells... ... done. [user: 0.178, system: 0.008, elapsed: 0.234 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.803, system: 0.805, elapsed: 23.179 seconds] MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.868, system: 0.088, elapsed: 3.394 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.672, system: 0.137, elapsed: 19.174 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.197, system: 0.012, elapsed: 0.425 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.761, system: 0.194, elapsed: 6.454 seconds] Computing values for grid cells... ... done. [user: 0.167, system: 0.004, elapsed: 0.229 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 3 4 ... computing probabilities from permuted values ... ... done. [user: 1.138, system: 0.243, elapsed: 1.155 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.475, system: 0.724, elapsed: 32.035 seconds] Building local cartesian grid... ... 1071 cells MAPI COMPUTATION STARTED Checking data... `metric` provided as a vector Unique names ... OK All samples used in metric ... OK ... 200 samples and 39800 metric left. Building 20100 elliptical polygons... ... 20100 ellipses. [user: 1.668, system: 0.053, elapsed: 3.067 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.624, system: 0.130, elapsed: 17.911 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.200, system: 0.014, elapsed: 0.455 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.828, system: 0.194, elapsed: 7.065 seconds] Computing values for grid cells... ... done. [user: 0.173, system: 0.004, elapsed: 0.277 seconds] Starting 50 permutations... ... serially ... | | | 0% | |== | 2% | |=== | 4% | |===== | 6% | |====== | 8% | |======== | 10% | |========== | 12% | |=========== | 14% | |============= | 16% | |============== | 18% | |================ | 20% | |================== | 22% | |=================== | 24% | |===================== | 26% | |====================== | 28% | |======================== | 30% | |========================== | 32% | |=========================== | 34% | |============================= | 36% | |============================== | 38% | |================================ | 40% | |================================== | 42% | |=================================== | 44% | |===================================== | 46% | |====================================== | 48% | |======================================== | 50% | |========================================== | 52% | |=========================================== | 54% | |============================================= | 56% | |============================================== | 58% | |================================================ | 60% | |================================================== | 62% | |=================================================== | 64% | |===================================================== | 66% | |====================================================== | 68% | |======================================================== | 70% | |========================================================== | 72% | |=========================================================== | 74% | |============================================================= | 76% | |============================================================== | 78% | |================================================================ | 80% | |================================================================== | 82% | |=================================================================== | 84% | |===================================================================== | 86% | |====================================================================== | 88% | |======================================================================== | 90% | |========================================================================== | 92% | |=========================================================================== | 94% | |============================================================================= | 96% | |============================================================================== | 98% | |================================================================================| 100% ... computing probabilities from permuted values ... ... done. [user: 10.815, system: 0.501, elapsed: 19.513 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 26.977, system: 0.923, elapsed: 49.633 seconds] Significant areas aggregation, with percentile filter minQ > 0.000000 and alpha = 0.050000 ... ... 1 upper-tail and 3 lower-tail significant areas returned Building local cartesian grid... ... 1045 cells Saving _problems/test-MAPI_Varicell-15.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ──────────────────────── Expected `sd(sf::st_area(grid.var))` to equal 963339.563502512. Differences: `actual`: 963429.6 `expected`: 963339.6 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-x86_64