CRAN Package Check Results for Package forestdata

Last updated on 2025-10-06 09:49:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 6.28 115.04 121.32 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 4.84 54.57 59.41 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.1 181.39 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 115.22 ERROR
r-devel-windows-x86_64 0.3.1 9.00 191.00 200.00 OK
r-patched-linux-x86_64 0.3.1 6.54 109.80 116.34 OK
r-release-linux-x86_64 0.3.1 5.98 106.07 112.05 ERROR
r-release-macos-arm64 0.3.1 557.00 OK
r-release-macos-x86_64 0.3.1 575.00 OK
r-release-windows-x86_64 0.3.1 10.00 158.00 168.00 OK
r-oldrel-macos-arm64 0.3.1 504.00 OK
r-oldrel-macos-x86_64 0.3.1 552.00 OK
r-oldrel-windows-x86_64 0.3.1 11.00 198.00 209.00 OK

Additional issues

donttest M1mac

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [0m/22m] 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 [5.4s] ℹ Preparing data... ✔ Prepared [66ms] ✔ Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.8.70 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [7ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [3ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [3ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [3ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `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 [3ms] ✖ `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 [7ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `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 [7ms] ✖ `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 i Downloading data... v Downloaded [3.6s] i Preparing data... v Prepared [13ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [1.3s] i Preparing data... v Prepared [12ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [2.5s] i Preparing data... v Prepared [13ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [3ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [7ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [11ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable [ FAIL 7 | WARN 0 | SKIP 20 | PASS 22 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • 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' • Not a sf object, skipping test on atlas (1): 'test-chorological-maps.R:50: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-pathogens.R:32:3'): Database is downloaded in correct format ── class(defid2_full)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:33:3'): Database is downloaded in correct format ── class(defid_filter_agent)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:34:3'): Database is downloaded in correct format ── class(defid_filter_host)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:35:3'): Database is downloaded in correct format ── class(defid_filter_country)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:36:3'): Database is downloaded in correct format ── class(defid_pt)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Error ('test-pathogens.R:40:3'): Database contains data ───────────────────── Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value Backtrace: ▆ 1. └─testthat::expect_gt(nrow(defid2_full), 1) at test-pathogens.R:40:3 2. └─testthat:::expect_compare(">", act, exp) 3. └─rlang::abort("Result of comparison must be a single logical value") ── Error ('test-pathogens.R:51:3'): Geometry type is correct ─────────────────── Error in `UseMethod("st_geometry")`: no applicable method for 'st_geometry' applied to an object of class "character" Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-pathogens.R:51:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sf::st_geometry_type(defid2_full, by_geometry = FALSE) 5. └─sf::st_geometry(x) [ FAIL 7 | WARN 0 | SKIP 20 | PASS 22 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1m/23m] 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 [9.6s] ℹ Preparing data... ✔ Prepared [85ms] ✔ Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.8.70 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe ℹ Downloading data... ✖ Download failed [66ms] ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [10ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [15ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [11ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [6ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [5ms] ✖ `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 [14ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [5ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [6ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [6ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [6ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [6ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable i Downloading data... v Downloaded [4s] i Preparing data... v Prepared [30ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [2.6s] i Preparing data... v Prepared [28ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [3s] i Preparing data... v Prepared [35ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information ℹ Downloading data... ✖ Download failed [5ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [10ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [14ms] ✖ `fd_pathogens_defid2()` failed to retrieve the data. Service might be currently unavailable [ FAIL 7 | WARN 0 | SKIP 20 | PASS 22 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • 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' • Not a sf object, skipping test on atlas (1): 'test-chorological-maps.R:50: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-pathogens.R:32:3'): Database is downloaded in correct format ── class(defid2_full)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:33:3'): Database is downloaded in correct format ── class(defid_filter_agent)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:34:3'): Database is downloaded in correct format ── class(defid_filter_host)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:35:3'): Database is downloaded in correct format ── class(defid_filter_country)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Failure ('test-pathogens.R:36:3'): Database is downloaded in correct format ── class(defid_pt)[1] (`actual`) not equal to "sf" (`expected`). `actual`: "character" `expected`: "sf" ── Error ('test-pathogens.R:40:3'): Database contains data ───────────────────── Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value Backtrace: ▆ 1. └─testthat::expect_gt(nrow(defid2_full), 1) at test-pathogens.R:40:3 2. └─testthat:::expect_compare(">", act, exp) 3. └─rlang::abort("Result of comparison must be a single logical value") ── Error ('test-pathogens.R:51:3'): Geometry type is correct ─────────────────── Error in `UseMethod("st_geometry")`: no applicable method for 'st_geometry' applied to an object of class "character" Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-pathogens.R:51:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sf::st_geometry_type(defid2_full, by_geometry = FALSE) 5. └─sf::st_geometry(x) [ FAIL 7 | WARN 0 | SKIP 20 | PASS 22 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [62s/155s] 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 [30.7s] ℹ Preparing data... ✔ Prepared [171ms] ✔ Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.8.70 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [4ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [5ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [4ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable i Downloading data... x Download failed [4ms] x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `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 [8ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [8ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [8ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [4ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ Downloading data... ✖ Download failed [8ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable i Downloading data... v Downloaded [2.5s] i Preparing data... v Prepared [19ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [1.7s] i Preparing data... v Prepared [19ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information i Downloading data... v Downloaded [1.4s] i Preparing data... v Prepared [18ms] v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information ℹ Downloading data... ✔ Downloaded [45.5s] ℹ Preparing data... ✔ Prepared [57ms] ℹ Downloading data... ✔ Downloaded [14ms] ℹ Preparing data... ✔ Prepared [22ms] ℹ Downloading data... ✔ Downloaded [25ms] ℹ Preparing data... ✔ Prepared [22ms] ℹ Downloading data... ✔ Downloaded [24ms] ℹ Preparing data... ✔ Prepared [49ms] ℹ Downloading data... ✔ Downloaded [16ms] ℹ Preparing data... ✔ Prepared [21ms] [ FAIL 2 | WARN 0 | SKIP 20 | PASS 32 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • 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' • Not a sf object, skipping test on atlas (1): 'test-chorological-maps.R:50: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-allometry.R:9:3'): Database is downloaded in correct format ── class(tallo_tbl)[1] (`actual`) not equal to "tbl_df" (`expected`). `actual`: "try-error" `expected`: "tbl_df" ── Error ('test-allometry.R:14:3'): Data is downloaded ───────────────────────── Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value Backtrace: ▆ 1. └─testthat::expect_gt(nrow(tallo_tbl), 1) at test-allometry.R:14:3 2. └─testthat:::expect_compare(">", act, exp) 3. └─rlang::abort("Result of comparison must be a single logical value") [ FAIL 2 | WARN 0 | SKIP 20 | PASS 32 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64