Running ‘testthat.R’ [44s/135s]
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 [1m 0.2s]
  
  ℹ Preparing data...
  ✔ Prepared [59ms]
  
  ✔ Cite this dataset using <https://doi.org/10.1111/gcb.16302>
  terra 1.8.60
  
  Attaching package: 'terra'
  
  The following objects are masked from 'package:testthat':
  
      compare, describe
  
  ℹ Downloading data...
  ✖ Download failed [3ms]
  
  ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  ✖ `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [8ms]
  
  x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [3ms]
  
  x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [3ms]
  
  x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  x Download failed [3ms]
  
  x `fd_forest_chorological()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [7ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [26ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [7ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [7ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [7ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [7ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [3ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [3ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [3ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  ℹ Downloading data...
  ✖ Download failed [11ms]
  
  ✖ `fd_forest_eutrees4f()` failed to retrieve the data. Service might be currently unavailable
  i Downloading data...
  v Downloaded [4s]
  
  i Preparing data...
  v Prepared [14ms]
  
  v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information
  i Downloading data...
  v Downloaded [2.5s]
  
  i Preparing data...
  v Prepared [31ms]
  
  v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information
  i Downloading data...
  v Downloaded [3s]
  
  i Preparing data...
  v Prepared [21ms]
  
  v Visit <https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/mfe50.html> for more information
  ℹ Downloading data...
  ✔ Downloaded [14s]
  
  ℹ Preparing data...
  ✔ Prepared [43ms]
  
  ℹ Downloading data...
  ✔ Downloaded [12ms]
  
  ℹ Preparing data...
  ✔ Prepared [26ms]
  
  ℹ Downloading data...
  ✔ Downloaded [9ms]
  
  ℹ Preparing data...
  ✔ Prepared [16ms]
  
  ℹ Downloading data...
  ✔ Downloaded [8ms]
  
  ℹ Preparing data...
  ✔ Prepared [13ms]
  
  ℹ Downloading data...
  ✔ Downloaded [9ms]
  
  ℹ Preparing data...
  ✔ Prepared [12ms]
  
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 32 ]
  
  ══ Skipped tests (20) ══════════════════════════════════════════════════════════
  • Not a raster object, skipping test on atlas (5): 'test-eutrees4f.R:82:5',
    'test-eutrees4f.R:100:5', 'test-eutrees4f.R:118:5', 'test-eutrees4f.R:138:5',
    'test-eutrees4f.R:163:5'
  • Not a sf object, skipping test on atlas (1): 'test-chorological-maps.R:50:5'
  • 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-allometry.R:9:3'): Database is downloaded in correct format ──
  class(tallo_tbl)[1] (`actual`) not equal to "tbl_df" (`expected`).
  
  `actual`:   "try-error"
  `expected`: "tbl_df"   
  ── Error ('test-allometry.R:14:3'): Data is downloaded ─────────────────────────
  Error in `expect_compare(">", act, exp)`: Result of comparison must be a single logical value
  Backtrace:
      ▆
   1. └─testthat::expect_gt(nrow(tallo_tbl), 1) at test-allometry.R:14:3
   2.   └─testthat:::expect_compare(">", act, exp)
   3.     └─rlang::abort("Result of comparison must be a single logical value")
  
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 32 ]
  Error: Test failures
  Execution halted