Running ‘testthat.R’ [5s/7s]
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(geslaR)
  Loading required package: arrow
  Some features are not enabled in this build of Arrow. Run `arrow_info()` for more information.
  
  Attaching package: 'arrow'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following object is masked from 'package:utils':
  
      timestamp
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("geslaR")
  i The total size of the dataset is about 7GB, and the download time will depend
  on your internet connection
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 17 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-run_gesla_app.R:4:5'): Required packages are available ───────
  length(missing_pkgs) (`actual`) not equal to 0L (`expected`).
  
    `actual`: 1
  `expected`: 0
  The following required packages are missing: tidyverse
  ── Error ('test-run_gesla_app.R:25:5'): Dataset download prompt works as expected when user declines ──
  Error in `run_gesla_app(app_dest = app_dest, open = FALSE)`: 
  x The following packages are required to run the GESLA app: tidyverse
  i Consider installing each one with `install.packages('name')`
  i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session.
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-run_gesla_app.R:25:5
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─geslaR::run_gesla_app(app_dest = app_dest, open = FALSE)
  ── Error ('test-run_gesla_app.R:33:5'): Use overwrite when no dataset is present ──
  Error in `run_gesla_app(app_dest = app_dest, overwrite = TRUE, open = FALSE)`: 
  x The following packages are required to run the GESLA app: tidyverse
  i Consider installing each one with `install.packages('name')`
  i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session.
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-run_gesla_app.R:33:5
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─geslaR::run_gesla_app(...)
  ── Error ('test-run_gesla_app.R:57:5'): Dataset overwrite prompt works as expected when user declines ──
  Error in `run_gesla_app(app_dest = app_dest, overwrite = TRUE, open = FALSE)`: 
  x The following packages are required to run the GESLA app: tidyverse
  i Consider installing each one with `install.packages('name')`
  i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session.
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-run_gesla_app.R:57:5
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─geslaR::run_gesla_app(...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 17 ]
  Error: Test failures
  Execution halted