CRAN Package Check Results for Package mapi

Last updated on 2025-11-30 09:50:24 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 12.00 195.00 207.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’ [86s/141s] 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.759, system: 0.074, elapsed: 3.424 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.762, system: 0.214, elapsed: 16.982 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.200, system: 0.018, elapsed: 0.321 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.893, system: 0.262, elapsed: 6.074 seconds] Computing values for grid cells... ... done. [user: 0.173, system: 0.007, elapsed: 0.251 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.352, system: 0.608, elapsed: 27.969 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.736, system: 0.071, elapsed: 2.360 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.821, system: 0.301, elapsed: 15.425 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.182, system: 0.011, elapsed: 0.194 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.990, system: 0.299, elapsed: 6.953 seconds] Computing values for grid cells... ... done. [user: 0.185, system: 0.011, elapsed: 0.344 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.446, system: 0.725, elapsed: 26.023 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.775, system: 0.089, elapsed: 2.575 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.644, system: 0.153, elapsed: 16.699 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.205, system: 0.012, elapsed: 0.435 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.912, system: 0.188, elapsed: 7.485 seconds] Computing values for grid cells... ... done. [user: 0.169, system: 0.005, elapsed: 0.317 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 3 4 ... computing probabilities from permuted values ... ... done. [user: 1.148, system: 0.237, elapsed: 1.321 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 17.518, system: 0.730, elapsed: 30.029 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.661, system: 0.050, elapsed: 3.517 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.607, system: 0.097, elapsed: 17.154 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.198, system: 0.013, elapsed: 0.390 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.785, system: 0.189, elapsed: 6.840 seconds] Computing values for grid cells... ... done. [user: 0.163, system: 0.004, elapsed: 0.280 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.762, system: 0.493, elapsed: 18.603 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 26.840, system: 0.874, elapsed: 48.105 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