R Under development (unstable) (2025-06-26 r88362 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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.1, GDAL 3.11.0, PROJ 9.6.0; 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: 2.120, system: 0.080, elapsed: 2.210 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 12.120, system: 0.080, elapsed: 12.200 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.220, system: 0.030, elapsed: 0.230 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 6.250, system: 0.480, elapsed: 6.610 seconds] Computing values for grid cells... ... done. [user: 0.170, system: 0.000, elapsed: 0.170 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 21.570, system: 0.710, elapsed: 22.170 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: 2.190, system: 0.080, elapsed: 2.270 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 12.750, system: 0.080, elapsed: 12.850 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.360, system: 0.020, elapsed: 0.320 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 6.340, system: 0.450, elapsed: 6.750 seconds] Computing values for grid cells... ... done. [user: 0.190, system: 0.030, elapsed: 0.220 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 22.550, system: 0.720, elapsed: 23.180 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: 2.140, system: 0.030, elapsed: 2.180 seconds] Computing spatial intersection between 1071 grid cells and 20100 ellipses... ... done. [user: 13.080, system: 0.040, elapsed: 13.140 seconds] Building sample pairs... ... 39800 sample pairs. [user: 0.320, system: 0.020, elapsed: 0.340 seconds] Matching grid cells with sample pairs... ... 2295394 matches found. [user: 6.640, system: 0.480, elapsed: 6.980 seconds] Computing values for grid cells... ... done. [user: 0.220, system: 0.030, elapsed: 0.250 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.940, system: 0.550, elapsed: 11.310 seconds] MAPI COMPUTATION ENDED. [TOTAL: user: 34.250, system: 1.220, elapsed: 35.190 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 0 | WARN 0 | SKIP 0 | PASS 19 ] > > proc.time() user system elapsed 84.07 3.35 86.95