CRAN Package Check Results for Package mapi

Last updated on 2025-08-29 01:51:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.4 12.91 253.31 266.22 OK
r-devel-linux-x86_64-debian-gcc 1.1.4 10.74 273.18 283.92 OK
r-devel-linux-x86_64-fedora-clang 1.1.4 312.36 OK
r-devel-linux-x86_64-fedora-gcc 1.1.4 476.97 OK
r-devel-windows-x86_64 1.1.4 19.00 190.00 209.00 OK
r-patched-linux-x86_64 1.1.4 13.57 261.65 275.22 OK
r-release-linux-x86_64 1.1.4 13.85 267.10 280.95 OK
r-release-macos-arm64 1.1.4 102.00 OK
r-release-macos-x86_64 1.1.4 214.00 ERROR
r-release-windows-x86_64 1.1.4 21.00 201.00 222.00 OK
r-oldrel-macos-arm64 1.1.4 98.00 OK
r-oldrel-macos-x86_64 1.1.4 216.00 ERROR
r-oldrel-windows-x86_64 1.1.4 22.00 234.00 256.00 OK

Check Details

Version: 1.1.4
Check: tests
Result: ERROR Running ‘testthat.R’ [80s/116s] 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.505, system: 0.045, elapsed: 2.005 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.104, system: 0.098, elapsed: 11.763 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.187, system: 0.013, elapsed: 0.284 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.796, system: 0.202, elapsed: 6.063 seconds] Computing values for grid cells... ... done. [user: 0.163, system: 0.004, elapsed: 0.224 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.287, system: 0.385, elapsed: 21.033 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.486, system: 0.039, elapsed: 3.684 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.132, system: 0.057, elapsed: 14.786 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.185, system: 0.013, elapsed: 0.296 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.743, system: 0.151, elapsed: 6.307 seconds] Computing values for grid cells... ... done. [user: 0.166, system: 0.003, elapsed: 0.229 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.250, system: 0.282, elapsed: 26.258 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.551, system: 0.033, elapsed: 2.417 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.102, system: 0.074, elapsed: 12.723 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.185, system: 0.011, elapsed: 0.293 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.783, system: 0.183, elapsed: 5.534 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 4 3 ... computing probabilities from permuted values ... ... done. [user: 1.184, system: 0.206, elapsed: 1.030 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.589, system: 0.533, elapsed: 23.215 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.560, system: 0.042, elapsed: 2.055 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.109, system: 0.115, elapsed: 12.491 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.189, system: 0.014, elapsed: 0.279 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.860, system: 0.196, elapsed: 5.449 seconds] Computing values for grid cells... ... done. [user: 0.168, system: 0.004, elapsed: 0.207 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.496, system: 0.492, elapsed: 15.610 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 26.029, system: 0.902, elapsed: 37.000 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 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ──────────────────────── sd(sf::st_area(grid.var)) (`actual`) not equal to 963339.563502512 (`expected`). `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’ [80s/130s] 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.578, system: 0.045, elapsed: 2.739 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.156, system: 0.073, elapsed: 15.290 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.186, system: 0.014, elapsed: 0.275 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.548, system: 0.177, elapsed: 5.562 seconds] Computing values for grid cells... ... done. [user: 0.159, system: 0.003, elapsed: 0.230 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.176, system: 0.334, elapsed: 25.006 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.466, system: 0.026, elapsed: 2.316 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.067, system: 0.087, elapsed: 14.638 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.179, system: 0.011, elapsed: 0.324 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.665, system: 0.169, elapsed: 6.386 seconds] Computing values for grid cells... ... done. [user: 0.175, system: 0.010, elapsed: 0.372 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 15.108, system: 0.330, elapsed: 24.967 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.626, system: 0.053, elapsed: 3.395 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.317, system: 0.203, elapsed: 17.826 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.182, system: 0.012, elapsed: 0.394 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.587, system: 0.210, elapsed: 5.995 seconds] Computing values for grid cells... ... done. [user: 0.174, system: 0.015, elapsed: 0.307 seconds] Starting 4 permutations... ... parallelized over 2 cores ... 1 2 3 4 ... computing probabilities from permuted values ... ... done. [user: 1.044, system: 0.226, elapsed: 0.997 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 16.579, system: 0.758, elapsed: 30.189 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.444, system: 0.026, elapsed: 2.050 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 9.027, system: 0.073, elapsed: 14.474 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.186, system: 0.011, elapsed: 0.269 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 3.748, system: 0.180, elapsed: 6.295 seconds] Computing values for grid cells... ... done. [user: 0.178, system: 0.007, elapsed: 0.322 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.194, system: 0.469, elapsed: 17.607 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 25.426, system: 0.795, elapsed: 42.159 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 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ──────────────────────── sd(sf::st_area(grid.var)) (`actual`) not equal to 963339.563502512 (`expected`). `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