- using R Under development (unstable) (2024-12-01 r87412)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.4 (1)
Debian flang-new version 19.1.4 (1)
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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/10s] 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 ... [144s/226s] ERROR
Running ‘testthat.R’ [144s/226s]
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>
trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_04_tcm30-200073.zip'
Content type 'application/zip' length 48890565 bytes (46.6 MB)
========
downloaded 8.0 MB
trying URL 'https://data.geopf.fr/telechargement/download/BDFORET/BDFORET_2-0__SHP_LAMB93_D005_2015-04-01/BDFORET_2-0__SHP_LAMB93_D005_2015-04-01.7z'
Content type 'application/x-7z-compressed' length 64609122 bytes (61.6 MB)
==================================================
downloaded 61.6 MB
⠙ 14 extracted | 101 MB ( 47 MB/s) | 2.1s
⠹ 14 extracted | 222 MB ( 43 MB/s) | 5.1s
Visit <https://geoservices.ign.fr/bdforet> for more information on the dataset
[ FAIL 1 | WARN 2 | SKIP 13 | PASS 58 ]
══ 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 ════════════════════════════════════════════════════════════════
── Failure ('test-forest-country.R:23:3'): All files are downloaded ────────────
Expected `purrr::map(metadata_forestdata$mfe_provinces[1:5], fd_forest_spain_mfe50)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error in `download.file()`:
! download from 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_04_tcm30-200073.zip' failed
[ FAIL 1 | WARN 2 | SKIP 13 | PASS 58 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR