CRAN Package Check Results for Package mapi

Last updated on 2025-11-30 12:49:52 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 9.67 214.81 224.48 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 14.30 269.49 283.79 OK
r-release-macos-arm64 1.1.4 OK
r-release-macos-x86_64 1.1.4 10.00 203.00 213.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 198.00 211.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/147s] 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.695, system: 0.067, elapsed: 4.352 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.823, system: 0.264, elapsed: 13.475 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.196, system: 0.019, elapsed: 0.276 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.198, system: 0.282, elapsed: 7.439 seconds] Computing values for grid cells... ... done. [user: 0.192, system: 0.012, elapsed: 0.526 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.667, system: 0.684, elapsed: 27.297 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.694, system: 0.058, elapsed: 4.271 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.715, system: 0.189, elapsed: 21.851 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.197, system: 0.018, elapsed: 0.417 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 4.419, system: 0.334, elapsed: 8.947 seconds] Computing values for grid cells... ... done. [user: 0.181, system: 0.010, elapsed: 0.414 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.775, system: 0.657, elapsed: 37.253 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.597, system: 0.035, elapsed: 3.573 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.628, system: 0.153, elapsed: 15.652 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.206, system: 0.012, elapsed: 0.277 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.978, system: 0.193, elapsed: 5.473 seconds] Computing values for grid cells... ... done. [user: 0.189, system: 0.012, elapsed: 0.354 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 4 3 ... computing probabilities from permuted values ... ... done. [user: 1.317, system: 0.274, elapsed: 1.420 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.586, system: 0.736, elapsed: 28.046 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.890, system: 0.110, elapsed: 2.965 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.625, system: 0.135, elapsed: 14.429 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.197, system: 0.014, elapsed: 0.350 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.946, system: 0.193, elapsed: 5.846 seconds] Computing values for grid cells... ... done. [user: 0.186, system: 0.006, elapsed: 0.285 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.997, system: 0.522, elapsed: 17.155 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 27.511, system: 1.014, elapsed: 42.111 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’ [84s/146s] 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.885, system: 0.111, elapsed: 3.935 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.450, system: 0.081, elapsed: 17.758 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.204, system: 0.016, elapsed: 0.381 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.833, system: 0.206, elapsed: 7.588 seconds] Computing values for grid cells... ... done. [user: 0.170, system: 0.004, elapsed: 0.320 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.108, system: 0.452, elapsed: 31.130 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.601, system: 0.033, elapsed: 2.806 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.515, system: 0.065, elapsed: 17.372 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.196, system: 0.011, elapsed: 0.382 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.868, system: 0.182, elapsed: 8.116 seconds] Computing values for grid cells... ... done. [user: 0.187, system: 0.007, elapsed: 0.413 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.928, system: 0.324, elapsed: 30.132 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.710, system: 0.038, elapsed: 3.362 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.666, system: 0.100, elapsed: 17.309 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.190, system: 0.011, elapsed: 0.281 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.802, system: 0.187, elapsed: 6.793 seconds] Computing values for grid cells... ... done. [user: 0.171, system: 0.005, elapsed: 0.416 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 4 3 ... computing probabilities from permuted values ... ... done. [user: 1.164, system: 0.231, elapsed: 1.626 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.366, system: 0.614, elapsed: 31.200 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.621, system: 0.041, elapsed: 2.411 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.545, system: 0.115, elapsed: 16.228 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.198, system: 0.013, elapsed: 0.372 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.832, system: 0.191, elapsed: 6.322 seconds] Computing values for grid cells... ... done. [user: 0.166, system: 0.004, elapsed: 0.316 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.675, system: 0.493, elapsed: 17.951 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 26.691, system: 0.886, elapsed: 44.848 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