- using R version 4.4.2 Patched (2024-11-28 r87392)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘forestdata’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [8s/11s] OK
- checking Rd files ... [1s/1s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [132s/250s] ERROR
Running ‘testthat.R’ [132s/250s]
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 ... [5s/6s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR