CRAN Package Check Results for Package forestdata

Last updated on 2024-12-07 13:53:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 5.38 196.60 201.98 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 4.09 139.14 143.23 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 295.64 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 290.48 ERROR
r-devel-windows-x86_64 0.2.1 9.00 632.00 641.00 OK
r-patched-linux-x86_64 0.2.1 6.33 195.91 202.24 OK
r-release-linux-x86_64 0.1.0 5.50 44.63 50.13 OK
r-release-macos-arm64 0.2.1 1073.00 OK
r-release-macos-x86_64 0.2.1 951.00 OK
r-release-windows-x86_64 0.2.1 10.00 502.00 512.00 OK
r-oldrel-macos-arm64 0.2.1 1070.00 OK
r-oldrel-macos-x86_64 0.2.1 914.00 OK
r-oldrel-windows-x86_64 0.2.1 13.00 646.00 659.00 OK

Additional issues

donttest

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [216s/259s] 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") Cite this dataset using <https://doi.org/10.1111/gcb.16302> Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.7.83 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe trying URL 'https://figshare.com/ndownloader/articles/5100802/versions/5' Content type 'application/zip' length 1909400 bytes (1.8 MB) ================================================== downloaded 1.8 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/4758208/versions/5' trying URL 'https://figshare.com/ndownloader/articles/4758208/versions/4' Content type 'application/zip' length 1382161 bytes (1.3 MB) ================================================== downloaded 1.3 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/3' Content type 'application/zip' length 238109 bytes (232 KB) ================================================== downloaded 232 KB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/3' Content type 'application/zip' length 228361 bytes (223 KB) ================================================== downloaded 223 KB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100802/versions/5' Content type 'application/zip' length 1909400 bytes (1.8 MB) ================================================== downloaded 1.8 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://springernature.figshare.com/ndownloader/files/36704304' Content type 'application/zip' length 2056197958 bytes (1960.9 MB) ================================================== downloaded 1960.9 MB Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> [ FAIL 1 | WARN 2 | SKIP 13 | PASS 49 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): '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-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-forest-country.R:7:1'): (code run outside of `test_that()`) ──── Error in `download.file(url = download_url, destfile = dir_zip, quiet = quiet, mode = "wb")`: download from 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_27_tcm30-200101.zip' failed Backtrace: ▆ 1. └─forestdata::fd_forest_spain_mfe50(province = "Lugo", quiet = TRUE) at test-forest-country.R:7:1 2. └─forestdata:::fdi_download_unzip(...) 3. └─utils::download.file(...) [ FAIL 1 | WARN 2 | SKIP 13 | PASS 49 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [218s/392s] 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") Cite this dataset using <https://doi.org/10.1111/gcb.16302> Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> You selected a country, so the function will use `spatial = TRUE` automatically You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using <https://doi.org/10.1111/gcb.16302> terra 1.7.83 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe trying URL 'https://figshare.com/ndownloader/articles/5100802/versions/5' Content type 'application/zip' length 1909400 bytes (1.8 MB) ================================================== downloaded 1.8 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/4758208/versions/5' trying URL 'https://figshare.com/ndownloader/articles/4758208/versions/4' Content type 'application/zip' length 1382161 bytes (1.3 MB) ================================================== downloaded 1.3 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100295/versions/3' Content type 'application/zip' length 238109 bytes (232 KB) ================================================== downloaded 232 KB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100304/versions/3' Content type 'application/zip' length 228361 bytes (223 KB) ================================================== downloaded 223 KB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://figshare.com/ndownloader/articles/5100802/versions/5' Content type 'application/zip' length 1909400 bytes (1.8 MB) ================================================== downloaded 1.8 MB Cite this dataset using <https://doi.org/10.1016/j.dib.2017.05.007> trying URL 'https://springernature.figshare.com/ndownloader/files/36704304' Content type 'application/zip' length 2056197958 bytes (1960.9 MB) ================================================== downloaded 1960.9 MB Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.5525688.v2> [ FAIL 1 | WARN 2 | SKIP 13 | PASS 49 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): '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-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-forest-country.R:7:1'): (code run outside of `test_that()`) ──── Error in `download.file(url = download_url, destfile = dir_zip, quiet = quiet, mode = "wb")`: download from 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_27_tcm30-200101.zip' failed Backtrace: ▆ 1. └─forestdata::fd_forest_spain_mfe50(province = "Lugo", quiet = TRUE) at test-forest-country.R:7:1 2. └─forestdata:::fdi_download_unzip(...) 3. └─utils::download.file(...) [ FAIL 1 | WARN 2 | SKIP 13 | PASS 49 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc