* using log directory 'd:/RCompile/CRANincoming/R-devel/forestdata.Rcheck' * using R Under development (unstable) (2024-10-18 r87246 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'forestdata/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'forestdata' version '0.2.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] NOTE Maintainer: 'Adrián Cidre González ' Found the following URLs which should use \doi (with the DOI name only): File 'fd_allometry_tallo.Rd': https://doi.org/10.1111/gcb.16302 File 'fd_canopy_height.Rd': https://doi.org/10.1016/j.rse.2023.113888 File 'fd_forest_extent_glad.Rd': https://doi.org/10.3389/frsen.2022.856903 File 'fd_forest_glad.Rd': https://doi.org/10.3389/frsen.2022.856903 https://doi.org/10.1016/j.rse.2020.112165 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'forestdata' can be installed ... OK * checking installed package size ... OK * 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 ... 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 ... 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 ... [23s] NOTE Examples with CPU (user + system) or elapsed time > 10s user system elapsed fd_allometry_tallo 18.7 1.02 20.86 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [20m] ERROR Running 'testthat.R' [20m] 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 Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using You selected a country, so the function will use `spatial = TRUE` automatically Cite this dataset using 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 terra 1.7.83 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe 2 tile(s) were found. Downloading tile 1... trying URL 'https://libdrive.ethz.ch/index.php/s/cO8or7iOe5dT2Rt/download?path=%2F3deg_cogs&files=ETH_GlobalCanopyHeight_10m_2020_N39W009_Map.tif' Content type 'image/tiff' length 389535812 bytes (371.5 MB) ================================================== downloaded 371.5 MB Downloading tile 2... trying URL 'https://libdrive.ethz.ch/index.php/s/cO8or7iOe5dT2Rt/download?path=%2F3deg_cogs&files=ETH_GlobalCanopyHeight_10m_2020_N42W009_Map.tif' Content type 'image/tiff' length 200788782 bytes (191.5 MB) ================================================== downloaded 191.5 MB Merging tiles... Cite this dataset using 1 tile(s) were found. Downloading tile 1... Cite this dataset using 1 tile(s) were found. Downloading tile 1... Cite this dataset using 1 tile(s) were found. Downloading tile 1... trying URL 'https://libdrive.ethz.ch/index.php/s/cO8or7iOe5dT2Rt/download?path=%2F3deg_cogs&files=ETH_GlobalCanopyHeight_10m_2020_N42W009_Map_SD.tif' Content type 'image/tiff' length 131443944 bytes (125.4 MB) ================================================== downloaded 125.4 MB Cite this dataset using 2 tile(s) were found. Downloading tile 1... Downloading tile 2... Cite this dataset using 1 tile(s) were found. Downloading tile 1... Cite this dataset using 1 tile(s) were found. Downloading tile 1... Cite this dataset using 1 tile(s) were found. Tile 031332330 cached. Cite this dataset using 2 tile(s) were found. Downloading tile 1... Downloading tile 2... Cite this dataset using 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 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 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 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 trying URL 'https://figshare.com/ndownloader/articles/5100619/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100619/versions/4' Content type 'application/zip' length 424059 bytes (414 KB) ================================================== downloaded 414 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100634/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100634/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100634/versions/3' Content type 'application/zip' length 759976 bytes (742 KB) ================================================== downloaded 742 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100655/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100655/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100655/versions/3' Content type 'application/zip' length 195387 bytes (190 KB) ================================================== downloaded 190 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100658/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100658/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100658/versions/3' Content type 'application/zip' length 127311 bytes (124 KB) ================================================== downloaded 124 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100664/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100664/versions/4' Content type 'application/zip' length 140444 bytes (137 KB) ================================================== downloaded 137 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5024546/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5024546/versions/4' Content type 'application/zip' length 1537328 bytes (1.5 MB) ================================================== downloaded 1.5 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/19323395/versions/5' trying URL 'https://figshare.com/ndownloader/articles/19323395/versions/4' trying URL 'https://figshare.com/ndownloader/articles/19323395/versions/3' trying URL 'https://figshare.com/ndownloader/articles/19323395/versions/2' trying URL 'https://figshare.com/ndownloader/articles/19323395/versions/1' Content type 'application/zip' length 1077101 bytes (1.0 MB) ================================================== downloaded 1.0 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/16752427/versions/5' trying URL 'https://figshare.com/ndownloader/articles/16752427/versions/4' trying URL 'https://figshare.com/ndownloader/articles/16752427/versions/3' trying URL 'https://figshare.com/ndownloader/articles/16752427/versions/2' trying URL 'https://figshare.com/ndownloader/articles/16752427/versions/1' Content type 'application/zip' length 1425811 bytes (1.4 MB) ================================================== downloaded 1.4 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100694/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100694/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100694/versions/3' Content type 'application/zip' length 1450667 bytes (1.4 MB) ================================================== downloaded 1.4 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100700/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100700/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100700/versions/3' Content type 'application/zip' length 1389198 bytes (1.3 MB) ================================================== downloaded 1.3 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100709/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100709/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100709/versions/3' Content type 'application/zip' length 864561 bytes (844 KB) ================================================== downloaded 844 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100718/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100718/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100718/versions/3' Content type 'application/zip' length 586354 bytes (572 KB) ================================================== downloaded 572 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100724/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100724/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100724/versions/3' Content type 'application/zip' length 1639570 bytes (1.6 MB) ================================================== downloaded 1.6 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100727/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100727/versions/4' Content type 'application/zip' length 2382148 bytes (2.3 MB) ================================================== downloaded 2.3 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100730/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100730/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100730/versions/3' Content type 'application/zip' length 2659077 bytes (2.5 MB) ================================================== downloaded 2.5 MB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100736/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100736/versions/4' Content type 'application/zip' length 969089 bytes (946 KB) ================================================== downloaded 946 KB Cite this dataset using trying URL 'https://figshare.com/ndownloader/articles/5100754/versions/5' trying URL 'https://figshare.com/ndownloader/articles/5100754/versions/4' trying URL 'https://figshare.com/ndownloader/articles/5100754/versions/3' Content type 'application/zip' length 1712875 bytes (1.6 MB) ================================================== downloaded 1.6 MB Cite this dataset using 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 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 Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using Cite this dataset using 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 46.6 MB Visit for more information on the dataset ■■ 2% | ETA: 4m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_11_tcm30-200096.zip' Content type 'application/zip' length 24870750 bytes (23.7 MB) ================================================== downloaded 23.7 MB Visit for more information on the dataset ■■ 4% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_14_tcm30-200074.zip' Content type 'application/zip' length 30543629 bytes (29.1 MB) ================================================== downloaded 29.1 MB Visit for more information on the dataset trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_18_tcm30-200110.zip' Content type 'application/zip' length 60838103 bytes (58.0 MB) ================================================== downloaded 58.0 MB Visit for more information on the dataset ■■■ 8% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_21_tcm30-200102.zip' Content type 'application/zip' length 43729365 bytes (41.7 MB) ================================================== downloaded 41.7 MB Visit for more information on the dataset ■■■■ 10% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_23_tcm30-200082.zip' Content type 'application/zip' length 55302101 bytes (52.7 MB) ================================================== downloaded 52.7 MB Visit for more information on the dataset ■■■■■ 12% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_29_tcm30-200067.zip' Content type 'application/zip' length 24095742 bytes (23.0 MB) ================================================== downloaded 23.0 MB Visit for more information on the dataset ■■■■■ 14% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_41_tcm30-200065.zip' Content type 'application/zip' length 22961837 bytes (21.9 MB) ================================================== downloaded 21.9 MB Visit for more information on the dataset ■■■■■■ 16% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_22_tcm30-200106.zip' Content type 'application/zip' length 72834592 bytes (69.5 MB) ================================================== downloaded 69.5 MB Visit for more information on the dataset ■■■■■■ 18% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_44_tcm30-200094.zip' Content type 'application/zip' length 70483197 bytes (67.2 MB) ================================================== downloaded 67.2 MB Visit for more information on the dataset ■■■■■■■ 20% | ETA: 3m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_50_tcm30-200075.zip' Content type 'application/zip' length 106770705 bytes (101.8 MB) ================================================== downloaded 101.8 MB Visit for more information on the dataset ■■■■■■■■ 22% | ETA: 3m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_33_tcm30-200081.zip' Content type 'application/zip' length 28105205 bytes (26.8 MB) ================================================== downloaded 26.8 MB Visit for more information on the dataset ■■■■■■■■ 24% | ETA: 3m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_07_tcm30-200091.zip' Content type 'application/zip' length 3998222 bytes (3.8 MB) ================================================== downloaded 3.8 MB Visit for more information on the dataset trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_35_tcm30-200079.zip' Content type 'application/zip' length 8540664 bytes (8.1 MB) ================================================== downloaded 8.1 MB Visit for more information on the dataset ■■■■■■■■■ 28% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_38_tcm30-200077.zip' Content type 'application/zip' length 10616179 bytes (10.1 MB) ================================================== downloaded 10.1 MB Visit for more information on the dataset trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_39_tcm30-200066.zip' Content type 'application/zip' length 6436488 bytes (6.1 MB) ================================================== downloaded 6.1 MB Visit for more information on the dataset trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_02_tcm30-200097.zip' Content type 'application/zip' length 44872050 bytes (42.8 MB) ================================================== downloaded 42.8 MB Visit for more information on the dataset ■■■■■■■■■■■ 34% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_13_tcm30-200068.zip' Content type 'application/zip' length 58182493 bytes (55.5 MB) ================================================== downloaded 55.5 MB Visit for more information on the dataset ■■■■■■■■■■■■ 36% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_16_tcm30-200071.zip' Content type 'application/zip' length 48777101 bytes (46.5 MB) ================================================== downloaded 46.5 MB Visit for more information on the dataset ■■■■■■■■■■■■ 38% | ETA: 2m trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_19_tcm30-200104.zip' Content type 'application/zip' length 43864787 bytes (41.8 MB) =============================================== downloaded 40.0 MB trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/temas/inventarios-nacionales/ifn/ifn4/ifn4-albacete.zip' Content type 'application/zip' length 1642684 bytes (1.6 MB) ================================================== downloaded 1.6 MB trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/temas/inventarios-nacionales/ifn/ifn4/sig-albacete.zip' Content type 'application/zip' length 3133325 bytes (3.0 MB) ================================================== downloaded 3.0 MB trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/Ifn3p02.zip' Content type 'application/zip' length 1575897 bytes (1.5 MB) ================================================== downloaded 1.5 MB trying URL 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/Sig_02.zip' Content type 'application/zip' length 1747488 bytes (1.7 MB) ================================================== downloaded 1.7 MB 1 tile(s) were found. 2 tile(s) were found. 1 tile(s) were found. trying URL 'https://lulctimeseries.blob.core.windows.net/lulctimeseriesv003/lc2020/29T_20200101-20210101.tif' Content type 'image/tiff' length 92152594 bytes (87.9 MB) ================================================== downloaded 87.9 MB [ FAIL 1 | WARN 10 | SKIP 0 | PASS 91 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-forest-country.R:13:1'): (code run outside of `test_that()`) ─── Error in `purrr::map(metadata_forestdata$mfe_provinces, fd_forest_spain_mfe50, .progress = TRUE)`: ℹ In index: 20. Caused by error in `download.file()`: ! download from 'https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/MFE50_19_tcm30-200104.zip' failed Backtrace: ▆ 1. ├─purrr::map(metadata_forestdata$mfe_provinces, fd_forest_spain_mfe50, .progress = TRUE) at test-forest-country.R:13:1 2. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 3. │ ├─purrr:::with_indexed_errors(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ ├─purrr:::call_with_cleanup(...) 6. │ └─forestdata (local) .f(.x[[i]], ...) 7. │ └─forestdata:::fdi_download_unzip(...) 8. │ └─utils::download.file(...) 9. └─base::.handleSimpleError(...) 10. └─purrr (local) h(simpleError(msg, call)) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) [ FAIL 1 | WARN 10 | SKIP 0 | PASS 91 ] Error: Test failures Execution halted * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs