CRAN Package Check Results for Package mapme.biodiversity

Last updated on 2024-10-12 06:51:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 27.34 296.59 323.93 OK
r-devel-linux-x86_64-debian-gcc 0.9.2 16.28 194.87 211.15 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.2 402.88 OK
r-devel-linux-x86_64-fedora-gcc 0.9.2 343.38 OK
r-devel-windows-x86_64 0.9.2 25.00 286.00 311.00 OK
r-patched-linux-x86_64 0.9.2 25.60 282.01 307.61 ERROR
r-release-linux-x86_64 0.9.1 27.26 270.41 297.67 OK
r-release-macos-arm64 0.9.2 143.00 OK
r-release-macos-x86_64 0.9.2 243.00 OK
r-release-windows-x86_64 0.9.2 23.00 280.00 303.00 OK
r-oldrel-macos-arm64 0.9.2 147.00 OK
r-oldrel-macos-x86_64 0.9.2 259.00 OK
r-oldrel-windows-x86_64 0.9.2 28.00 317.00 345.00 OK

Check Details

Version: 0.9.2
Check: tests
Result: ERROR Running ‘testthat.R’ [46s/90s] 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") Attaching package: 'purrr' The following object is masked from 'package:testthat': is_null 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 0 | SKIP 38 | PASS 573 ] ══ Skipped tests (38) ══════════════════════════════════════════════════════════ • On CRAN (38): '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_chirps.R:2: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_chirps.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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calc_indicator.R:262:3'): .read_vector works ─────────────────── Error in `st_sf(x, ..., agr = agr, sf_column_name = sf_column_name)`: no simple features geometry column present Backtrace: ▆ 1. └─mapme.biodiversity::make_footprints(v, what = "vector") at test-calc_indicator.R:262:3 2. ├─sf::st_as_sf(tibble::as_tibble(srcs)) 3. └─sf:::st_as_sf.data.frame(tibble::as_tibble(srcs)) 4. └─sf::st_sf(x, ..., agr = agr, sf_column_name = sf_column_name) [ FAIL 1 | WARN 0 | SKIP 38 | PASS 573 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.2
Check: tests
Result: ERROR Running ‘testthat.R’ [60s/124s] 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") Attaching package: 'purrr' The following object is masked from 'package:testthat': is_null 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 0 | SKIP 38 | PASS 573 ] ══ Skipped tests (38) ══════════════════════════════════════════════════════════ • On CRAN (38): '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_chirps.R:2: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_chirps.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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calc_indicator.R:262:3'): .read_vector works ─────────────────── Error in `st_sf(x, ..., agr = agr, sf_column_name = sf_column_name)`: no simple features geometry column present Backtrace: ▆ 1. └─mapme.biodiversity::make_footprints(v, what = "vector") at test-calc_indicator.R:262:3 2. ├─sf::st_as_sf(tibble::as_tibble(srcs)) 3. └─sf:::st_as_sf.data.frame(tibble::as_tibble(srcs)) 4. └─sf::st_sf(x, ..., agr = agr, sf_column_name = sf_column_name) [ FAIL 1 | WARN 0 | SKIP 38 | PASS 573 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64