- using R Under development (unstable) (2025-09-03 r88788)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-2) 15.2.0
GNU Fortran (Debian 15.2.0-2) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mapme.biodiversity/DESCRIPTION’ ... OK
- this is package ‘mapme.biodiversity’ version ‘0.9.4’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mapme.biodiversity’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/6s] OK
- checking whether the package can be unloaded cleanly ... [5s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/6s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/7s] OK
- checking loading without being on the library search path ... [5s/5s] OK
- checking whether startup messages can be suppressed ... [5s/7s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [28s/35s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [52s/85s] ERROR
Running ‘testthat.R’ [51s/85s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mapme.biodiversity)
>
> options(pillar.advice = FALSE)
> mapme_options(verbose = FALSE)
> test_check("mapme.biodiversity")
You agreed to abide to ACLED's Terms of Use (https://acleddata.com/terms-of-use/).
Resource 'gsw_time_series' is already available.
Resource 'gfw_treecover' is already available.
Resource 'gfw_lossyear' is already available.
Resource 'key_biodiversity_areas' is already available.
[ FAIL 1 | WARN 2 | SKIP 39 | PASS 575 ]
══ Skipped tests (39) ══════════════════════════════════════════════════════════
• GDAL < 3.7.0 (1): 'test-spatial-utils.R:136:3'
• On CRAN (37): 'test-calc_burned_area.R:2:3',
'test-calc_drought_indicator.R:49:3', 'test-calc_elevation.R:39:3',
'test-calc_landcover.R:2:3', 'test-calc_population_count.R:34:3',
'test-calc_precipitation_chelsa.R:36:3', 'test-calc_precipitation_wc.R:35:3',
'test-calc_slope.R:51:3', 'test-calc_soilproperties.R:2:3',
'test-calc_temperature_max_wc.R:37:3', 'test-calc_temperature_min_wc.R:37:3',
'test-calc_traveltime.R:38:3', 'test-calc_traveltime_2000.R:35:3',
'test-calc_treecover_area.R:97:3',
'test-calc_treecover_area_and_emissions.R:30:3',
'test-calc_treecoverloss_emissions.R:27:3', 'test-calc_tri.R:33:3',
'test-get_carbon.R:28:3', 'test-get_chelsa.R:2:3',
'test-get_esalandcover.R:2:3', 'test-get_fritz_et_al.R:2:3',
'test-get_gfw_emissions.R:2:3', 'test-get_gfw_lossyear.R:2:3',
'test-get_gfw_treecover.R:7:3', 'test-get_gmw.R:2:3', 'test-get_gsw.R:2:3',
'test-get_hfp.R:10:3', 'test-get_mcd64A1.R:2:3', 'test-get_nasa_grace.R:2:3',
'test-get_nasa_srtm.R:2:3', 'test-get_nelson_et_al.R:2:3',
'test-get_resources.R:2:3', 'test-get_soilgrids.R:2:3',
'test-get_teow.R:2:3', 'test-get_ucdp_ged.R:3:3', 'test-get_worldpop.R:2:3',
'test-ipbes.R:2:3'
• Skipping (1): 'test-spatial-utils.R:115:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-calc_carbon.R:16:3'): calc_irr_carbon works ──────────────────
`result <- cb(x, irr_carbon)` produced warnings.
[ FAIL 1 | WARN 2 | SKIP 39 | PASS 575 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/15s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR