CRAN Package Check Results for Package forestdata

Last updated on 2025-05-23 22:51:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 6.74 139.50 146.24 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 4.49 103.89 108.38 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 228.09 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 222.21 OK
r-release-macos-arm64 0.3.1 557.00 OK
r-release-macos-x86_64 0.3.1 609.00 WARN
r-release-windows-x86_64 0.3.1 12.00 457.00 469.00 OK
r-oldrel-macos-arm64 0.3.1 504.00 OK
r-oldrel-macos-x86_64 0.3.1 529.00 ERROR
r-oldrel-windows-x86_64 0.3.0 12.00 298.00 310.00 OK

Check Details

Version: 0.3.1
Check: Rd files
Result: WARN prepare_Rd: ./man/fd_allometry_tallo.Rd:47: unknown macro '\doi' checkRd: (-1) fd_allometry_tallo.Rd:47: Lost braces 47 | \doi{10.1111/gcb.16302} | ^ fd_canopy_height.Rd: Sections \title, and \name must exist and be unique in Rd files cannot open the connection cannot open the connection cannot open the connection prepare_Rd: ./man/fd_forest_glad.Rd:83: unknown macro '\doi' prepare_Rd: ./man/fd_forest_glad.Rd:89: unknown macro '\doi' checkRd: (-1) fd_forest_glad.Rd:83: Lost braces 83 | Frontiers in Remote Sensing \doi{10.3389/frsen.2022.856903} | ^ checkRd: (-1) fd_forest_glad.Rd:89: Lost braces 89 | 112165.\doi{10.1016/j.rse.2020.112165} | ^ prepare_Rd: ./man/fd_occ_euforest.Rd:40: unknown macro '\doi' checkRd: (-1) fd_occ_euforest.Rd:40: Lost braces 40 | \doi{10.6084/m9.figshare.c.3288407.v1} | ^ problems found in ‘fd_canopy_height.Rd’, ‘fd_canopy_height_meta.Rd’, ‘fd_forest_chorological.Rd’, ‘fd_forest_eutrees4f.Rd’ Flavor: r-release-macos-x86_64

Version: 0.3.1
Check: for missing documentation entries
Result: WARN Warning in file(open = "w+") : cannot open file '/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T//Rtmp17o56Y/Rfdfc37e8f93a1': No space left on device Error in file(open = "w+") : cannot open the connection Calls: <Anonymous> -> .load_package_quietly -> .try_quietly -> file Execution halted All user-level objects in a package should have documentation entries. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * checking for code/documentation mismatches ...* using check arguments '--no-clean-on-error ' Flavor: r-release-macos-x86_64

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1m/16m] 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(forestdata) > > test_check("forestdata") ℹ Downloading data... ✔ Downloaded [49.2s] ℹ Preparing data... ✔ Prepared [46ms] ✔ Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.8.50 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe ℹ Downloading data... ✔ Downloaded [3ms] ✔ Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> i Downloading data... x Download failed [3.7s] i Downloading data... v Downloaded [1ms] v Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> ℹ Downloading data... ✖ Download failed [3ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [2ms] x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [2ms] x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [2ms] x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable x `fd_forest_france` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [2ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✔ Downloaded [5ms] ℹ Preparing data... ✖ Preparing data... [72ms] [ FAIL 6 | WARN 5 | SKIP 19 | PASS 18 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • Not a raster object, skipping test on atlas (5): 'test-eutrees4f.R:82:5', 'test-eutrees4f.R:100:5', 'test-eutrees4f.R:118:5', 'test-eutrees4f.R:138:5', 'test-eutrees4f.R:163:5' • On CRAN (14): 'test-GLAD.R:18:3', 'test-GLAD.R:35:3', 'test-GLAD.R:54:3', 'test-canopy-height.R:20:3', 'test-canopy-height.R:29:3', 'test-canopy-height.R:45:3', 'test-canopy-height.R:59:3', 'test-canopy-height.R:94:3', 'test-forest-country.R:36:3', 'test-land-cover.R:8:3', 'test-land-cover.R:22:3', 'test-land-cover.R:63:3', 'test-land-cover.R:84:3', 'test-land-cover.R:134:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-chorological-maps.R:20:3'): All natural range data is downloaded ── Expected `purrr::map(metadata_forestdata$chorological_species[1:3], fd_forest_chorological)` to run without any errors. i Actually got a <purrr_error_indexed> with text: i In index: 1. Caused by error in `.f()`: ! There's no range = `nat` for Abies alba ── Failure ('test-forest-country.R:16:3'): Data is downloaded properly ───────── class(lugo_mfe)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Error ('test-forest-country.R:17:3'): Data is downloaded properly ─────────── Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value Backtrace: ▆ 1. └─testthat::expect_gt(nrow(lugo_mfe), 10) at test-forest-country.R:17:3 2. └─testthat:::expect_compare(">", act, exp) 3. └─rlang::abort("Result of comparison must be a single logical value") ── Failure ('test-forest-country.R:59:3'): Data is downloaded properly for DB Foret v1 ── class(hautes_alpes_forest_v1)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Error ('test-forest-country.R:60:3'): Data is downloaded properly for DB Foret v1 ── Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value Backtrace: ▆ 1. └─testthat::expect_gt(nrow(hautes_alpes_forest_v1), 10) at test-forest-country.R:60:3 2. └─testthat:::expect_compare(">", act, exp) 3. └─rlang::abort("Result of comparison must be a single logical value") ── Error ('test-pathogens.R:10:1'): (code run outside of `test_that()`) ──────── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/RtmpLOWjHn/defid2.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─forestdata::fd_pathogens_defid2(agent = metadata_forestdata$defid2_list$pathogens[50]) at test-pathogens.R:10:1 2. └─sf::read_sf(dsn = file_path, query = stringr::str_glue("SELECT * FROM exact_polygons {tmp.query};")) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) 5. └─sf:::CPL_read_ogr(...) [ FAIL 6 | WARN 5 | SKIP 19 | PASS 18 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64