Last updated on 2026-03-24 12:54:04 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.4 | 14.25 | 273.36 | 287.61 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.4 | 11.30 | 266.85 | 278.15 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.4 | 24.00 | 293.39 | 317.39 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.4 | 31.00 | 347.80 | 378.80 | OK | |
| r-devel-macos-arm64 | 1.1.4 | 3.00 | 44.00 | 47.00 | OK | |
| r-devel-windows-x86_64 | 1.1.4 | 24.00 | 192.00 | 216.00 | OK | |
| r-patched-linux-x86_64 | 1.1.4 | 14.04 | 333.31 | 347.35 | OK | |
| r-release-linux-x86_64 | 1.1.4 | 13.91 | 345.24 | 359.15 | OK | |
| r-release-macos-arm64 | 1.1.4 | OK | ||||
| r-release-macos-x86_64 | 1.1.4 | 11.00 | 460.00 | 471.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.4 | 22.00 | 194.00 | 216.00 | ERROR | |
| r-oldrel-macos-arm64 | 1.1.4 | OK | ||||
| r-oldrel-macos-x86_64 | 1.1.4 | 10.00 | 439.00 | 449.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.4 | 26.00 | 247.00 | 273.00 | OK |
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [100s/418s]
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.680, system: 0.056, elapsed: 2.541 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.662, system: 0.100, elapsed: 12.673 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.018, elapsed: 0.608 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.140, system: 0.867, elapsed: 124.191 seconds]
Computing values for grid cells...
... done. [user: 0.166, system: 0.004, elapsed: 0.179 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.451, system: 1.069, elapsed: 140.916 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.515, system: 0.039, elapsed: 2.408 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.507, system: 0.044, elapsed: 21.869 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.216, system: 0.016, elapsed: 1.191 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.048, system: 0.828, elapsed: 111.568 seconds]
Computing values for grid cells...
... done. [user: 0.180, system: 0.006, elapsed: 0.225 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.017, system: 0.957, elapsed: 138.225 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.602, system: 0.039, elapsed: 2.283 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.594, system: 0.102, elapsed: 12.592 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.212, system: 0.014, elapsed: 0.939 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.847, system: 0.699, elapsed: 13.260 seconds]
Computing values for grid cells...
... done. [user: 0.169, system: 0.005, elapsed: 0.204 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.238, system: 0.231, elapsed: 1.040 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.326, system: 1.128, elapsed: 31.187 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.625, system: 0.043, elapsed: 3.958 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.492, system: 0.070, elapsed: 21.702 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.224, system: 0.018, elapsed: 1.029 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.086, system: 0.720, elapsed: 47.075 seconds]
Computing values for grid cells...
... done. [user: 0.179, system: 0.004, elapsed: 0.182 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: 12.227, system: 0.697, elapsed: 26.131 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 31.605, system: 1.590, elapsed: 101.073 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: examples
Result: ERROR
Running examples in 'mapi-Ex.R' failed
The error most likely occurred in:
> ### Name: MAPI_GridHexagonal
> ### Title: Function MAPI_GridHexagonal
> ### Aliases: MAPI_GridHexagonal
>
> ### ** Examples
>
> data("samples")
> # Builds a grid of hexagonal cells according to samples coordinates (columns x and y)
> # using the EPSG:3857 projection and an halfwidth cell value of hw=250m.
> grid <- MAPI_GridHexagonal(samples, crs=3857, hw=250)
Building local cartesian grid...
Flavor: r-release-windows-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [101s/389s]
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.559, system: 0.043, elapsed: 4.394 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.648, system: 0.083, elapsed: 19.026 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.215, system: 0.019, elapsed: 0.520 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.088, system: 0.734, elapsed: 23.092 seconds]
Computing values for grid cells...
... done. [user: 0.166, system: 0.005, elapsed: 0.188 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.253, system: 0.905, elapsed: 48.286 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.563, system: 0.039, elapsed: 2.166 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.523, system: 0.083, elapsed: 14.954 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.215, system: 0.016, elapsed: 0.852 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.921, system: 0.816, elapsed: 86.515 seconds]
Computing values for grid cells...
... done. [user: 0.166, system: 0.003, elapsed: 0.364 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.956, system: 0.977, elapsed: 105.686 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.545, system: 0.029, elapsed: 3.376 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.479, system: 0.062, elapsed: 16.903 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.219, system: 0.015, elapsed: 0.924 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.244, system: 0.845, elapsed: 100.206 seconds]
Computing values for grid cells...
... done. [user: 0.178, system: 0.007, elapsed: 0.248 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.265, system: 0.350, elapsed: 1.320 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.601, system: 1.337, elapsed: 124.241 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.681, system: 0.055, elapsed: 2.505 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.701, system: 0.226, elapsed: 13.462 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.353, system: 0.032, elapsed: 0.224 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.765, system: 0.810, elapsed: 61.862 seconds]
Computing values for grid cells...
... done. [user: 0.161, system: 0.002, elapsed: 0.183 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: 11.348, system: 0.599, elapsed: 21.493 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 31.731, system: 1.768, elapsed: 100.643 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