Running ‘testthat.R’ [54s/88s]
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