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