CRAN Package Check Results for Package mapi

Last updated on 2025-11-29 12:48:40 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 10.00 184.00 194.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’ [87s/131s] 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.793, system: 0.087, elapsed: 2.865 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.918, system: 0.277, elapsed: 14.628 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.208, system: 0.021, elapsed: 0.372 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.042, system: 0.282, elapsed: 5.592 seconds] Computing values for grid cells... ... done. [user: 0.196, system: 0.017, elapsed: 0.235 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.755, system: 0.726, elapsed: 24.645 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.752, system: 0.081, elapsed: 2.192 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.944, system: 0.351, elapsed: 13.849 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.204, system: 0.019, elapsed: 0.303 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.239, system: 0.325, elapsed: 6.329 seconds] Computing values for grid cells... ... done. [user: 0.185, system: 0.011, elapsed: 0.268 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.888, system: 0.839, elapsed: 23.718 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.871, system: 0.114, elapsed: 2.974 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.691, system: 0.172, elapsed: 16.532 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.205, system: 0.011, elapsed: 0.227 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.890, system: 0.179, elapsed: 7.110 seconds] Computing values for grid cells... ... done. [user: 0.175, system: 0.003, elapsed: 0.319 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 3 4 ... computing probabilities from permuted values ... ... done. [user: 1.211, system: 0.223, elapsed: 1.407 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.712, system: 0.755, elapsed: 29.629 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.569, system: 0.038, elapsed: 2.843 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.650, system: 0.092, elapsed: 15.516 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.198, system: 0.013, elapsed: 0.281 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.936, system: 0.181, elapsed: 5.952 seconds] Computing values for grid cells... ... done. [user: 0.182, system: 0.006, elapsed: 0.264 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.880, system: 0.494, elapsed: 19.011 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 27.088, system: 0.845, elapsed: 44.936 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