Running ‘testthat.R’ [4s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(epwshiftr)
  > 
  > test_check("epwshiftr")
  ── 1. Failure: Query ESGF (@test-esgf.R#5)  ────────────────────────────────────
  `... <- NULL` produced messages.
  
  ── 2. Failure: Query ESGF (@test-esgf.R#23)  ───────────────────────────────────
  names(qd) not equal to c(...).
  Lengths differ: 0 is not 17
  
  ── 3. Failure: Query ESGF (@test-esgf.R#33)  ───────────────────────────────────
  `... <- NULL` produced messages.
  
  ── 4. Failure: Query ESGF (@test-esgf.R#52)  ───────────────────────────────────
  names(qf) not equal to c(...).
  Lengths differ: 0 is not 22
  
  ── 5. Failure: Build CMIP6 file index database (@test-esgf.R#71)  ──────────────
  `... <- NULL` produced messages.
  
  ── 6. Failure: Build CMIP6 file index database (@test-esgf.R#73)  ──────────────
  names(idx) not equal to c(...).
  Lengths differ: 0 is not 23
  
  ── 7. Failure: Build CMIP6 file index database (@test-esgf.R#83)  ──────────────
  file.exists(file.path(.data_dir(), "cmip6_index.csv")) isn't true.
  
  ── 8. Error: Build CMIP6 file index database (@test-esgf.R#85)  ────────────────
  CMIP6 experiment output file index does not exists. You may want to create one using 'init_cmip6_index()'.
  Backtrace:
   1. testthat::expect_silent(idx1 <- load_cmip6_index())
   9. epwshiftr::load_cmip6_index()
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 8 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: Query ESGF (@test-esgf.R#5) 
  2. Failure: Query ESGF (@test-esgf.R#23) 
  3. Failure: Query ESGF (@test-esgf.R#33) 
  4. Failure: Query ESGF (@test-esgf.R#52) 
  5. Failure: Build CMIP6 file index database (@test-esgf.R#71) 
  6. Failure: Build CMIP6 file index database (@test-esgf.R#73) 
  7. Failure: Build CMIP6 file index database (@test-esgf.R#83) 
  8. Error: Build CMIP6 file index database (@test-esgf.R#85) 
  
  Error: testthat unit tests failed
  Execution halted