CRAN Package Check Results for Package forestdata

Last updated on 2025-04-04 23:54:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 6.16 140.51 146.67 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 4.10 101.93 106.03 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 235.15 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 226.02 OK
r-devel-macos-arm64 0.3.0 538.00 OK
r-devel-macos-x86_64 0.3.0 609.00 OK
r-release-macos-arm64 0.3.0 590.00 OK
r-release-macos-x86_64 0.3.0 846.00 ERROR
r-release-windows-x86_64 0.3.0 6.00 296.00 302.00 OK
r-oldrel-macos-arm64 0.3.0 529.00 OK
r-oldrel-macos-x86_64 0.3.0 582.00 OK
r-oldrel-windows-x86_64 0.3.0 6.00 428.00 434.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2m/13m] 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 [12.3s] ℹ Preparing data... ✔ Prepared [45ms] ✔ Cite this dataset using https://doi.org/10.1111/gcb.16302 terra 1.8.42 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe ℹ Downloading data... ✔ Downloaded [1ms] ✔ 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 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 ℹ Downloading data... ✖ Download failed [3ms] ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable ℹ 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 ℹ 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 ℹ 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 [2.6s] i Preparing data... v Prepared [21ms] 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.5s] i Preparing data... v Prepared [21ms] 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.8s] i Preparing data... v Prepared [21ms] v Visit https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html for more information ℹ Downloading data... ✔ Downloaded [1m 18.4s] ℹ Preparing data... ✔ Prepared [11ms] ℹ Downloading data... ✔ Downloaded [9ms] ℹ Preparing data... ✔ Prepared [55ms] ℹ Downloading data... ✔ Downloaded [13ms] ℹ Preparing data... ✔ Prepared [17ms] ℹ Downloading data... ✔ Downloaded [9ms] ℹ Preparing data... ✔ Prepared [16ms] ℹ Downloading data... ✔ Downloaded [9ms] ℹ Preparing data... ✔ Prepared [31ms] [ FAIL 1 | WARN 0 | SKIP 14 | PASS 43 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • 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 ════════════════════════════════════════════════════════════════ ── Error ('test-eutrees4f.R:67:3'): 4 layers are downloaded ──────────────────── Error: unable to find an inherited method for function 'nlyr' for signature 'x = "character"' Backtrace: ▆ 1. ├─testthat::expect_equal(terra::nlyr(abies_alba_base), 4) at test-eutrees4f.R:67:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─terra::nlyr(abies_alba_base) 5. └─methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`) [ FAIL 1 | WARN 0 | SKIP 14 | PASS 43 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64