Running 'testthat.R' [403s]
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")
  ℹ Downloading data...
  ✔ Downloaded [7.7s]
  
  ℹ Preparing data...
  ✔ Prepared [48ms]
  
  ✔ Cite this dataset using https://doi.org/10.1111/gcb.16302
  terra 1.8.42
  
  Attaching package: 'terra'
  
  The following objects are masked from 'package:testthat':
  
      compare, describe
  
  ℹ Downloading data...
  ✔ Downloaded [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.1016/j.dib.2017.05.007
  i Downloading data...
  v Downloaded [2ms]
  
  v Cite this dataset using https://doi.org/10.1016/j.dib.2017.05.007
  i Downloading data...
  v Downloaded [2ms]
  
  v Cite this dataset using https://doi.org/10.1016/j.dib.2017.05.007
  i Downloading data...
  v Downloaded [3ms]
  
  v Cite this dataset using https://doi.org/10.1016/j.dib.2017.05.007
  i Downloading data...
  v Downloaded [3ms]
  
  v Cite this dataset using https://doi.org/10.1016/j.dib.2017.05.007
  ℹ Downloading data...
  ✔ Downloaded [1m 16.6s]
  
  ℹ Preparing data...
  ✔ Prepared [24ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [2ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [2ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ℹ Preparing data...
  ✔ Prepared [3ms]
  
  ✔ Cite this dataset using https://doi.org/10.6084/m9.figshare.c.5525688.v2
  ✖ `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [6ms]
  
  x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [7ms]
  
  x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [7ms]
  
  x `fd_forest_spain_mfe50()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✔ Downloaded [55.6s]
  
  ℹ Preparing data...
  ✔ Prepared [25ms]
  
  ℹ Downloading data...
  ✔ Downloaded [18ms]
  
  ℹ Preparing data...
  ✔ Prepared [27ms]
  
  ℹ Downloading data...
  ✔ Downloaded [18ms]
  
  ℹ Preparing data...
  ✔ Prepared [28ms]
  
  ℹ Downloading data...
  ✔ Downloaded [17ms]
  
  ℹ Preparing data...
  ✔ Prepared [25ms]
  
  ℹ Downloading data...
  ✔ Downloaded [18ms]
  
  ℹ Preparing data...
  ✔ Prepared [30ms]
  
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 43 ]
  
  ══ Skipped tests (14) ══════════════════════════════════════════════════════════
  • On CRAN (14): '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-forest-country.R:36: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:16:3'): Data is downloaded properly ─────────
  class(lugo_mfe)[1] (`actual`) not equal to "sf" (`expected`).
  
  `actual`:   "character"
  `expected`: "sf"       
  ── Error ('test-forest-country.R:17:3'): Data is downloaded properly ───────────
  Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value
  Backtrace:
      ▆
   1. └─testthat::expect_gt(nrow(lugo_mfe), 10) at test-forest-country.R:17:3
   2.   └─testthat:::expect_compare(">", act, exp)
   3.     └─rlang::abort("Result of comparison must be a single logical value")
  
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 43 ]
  Error: Test failures
  Execution halted