CRAN Package Check Results for Package forestdata

Last updated on 2025-05-27 14:49:53 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 6.09 143.29 149.38 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 5.00 101.37 106.37 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 228.09 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 209.72 OK
r-devel-windows-x86_64 0.3.1 9.00 256.00 265.00 OK
r-release-linux-x86_64 0.3.1 7.56 136.48 144.04 OK
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 298.00 308.00 OK
r-oldrel-macos-arm64 0.3.1 504.00 OK
r-oldrel-macos-x86_64 0.3.1 577.00 ERROR
r-oldrel-windows-x86_64 0.3.1 12.00 525.00 537.00 OK

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [78s/530s] 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 [1m 0.2s] ℹ Preparing data... ✔ Prepared [31ms] ✔ 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 [4ms] ✔ Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> i Downloading data... v Downloaded [1ms] v Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> i Downloading data... v Downloaded [2ms] v Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> i Downloading data... v Downloaded [1ms] v Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> i Downloading data... v Downloaded [1ms] v Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> ℹ Downloading data... ✔ Downloaded [4m 56.2s] ℹ Preparing data... ✔ Prepared [12ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [2ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [11ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [2ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [2ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [2ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [2ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [1ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [1ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> ℹ Preparing data... ✔ Prepared [1ms] ✔ Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> i Downloading data... v Downloaded [3.4s] i Preparing data... v Prepared [10ms] 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 [24ms] 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.7s] 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 ℹ Downloading data... ✔ Downloaded [1m 19.7s] ℹ Preparing data... ✔ Prepared [9ms] ℹ Downloading data... ✔ Downloaded [24ms] ℹ Preparing data... ✔ Prepared [9ms] ℹ Downloading data... ✔ Downloaded [6ms] ℹ Preparing data... ✔ Prepared [9ms] ℹ Downloading data... ✔ Downloaded [6ms] ℹ Preparing data... ✔ Prepared [9ms] ℹ Downloading data... ✔ Downloaded [7ms] ℹ Preparing data... ✔ Prepared [10ms] [ FAIL 2 | WARN 0 | SKIP 18 | PASS 36 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • Not a raster object, skipping test on atlas (4): '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-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 18 | PASS 36 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64