- using R Under development (unstable) (2024-12-01 r87411)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 19.1.4
flang-new version 19.1.4
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘forestdata/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘forestdata’ version ‘0.2.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘forestdata’ can be installed ... [10s/11s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [13s/14s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [216s/260s] 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
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR