Running 'testthat.R' [9s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(snvecR)
  > 
  > test_check("snvecR")
  Rows: 165062 Columns: 8
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  dbl (8): t, aa, ee, inc, lph, lan, arp, mna
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  i Calculating helper columns.
  Rows: 165062 Columns: 8
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  dbl (8): t, aa, ee, inc, lph, lan, arp, mna
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  i Calculating helper columns.
  Rows: 165062 Columns: 8
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  dbl (8): t, aa, ee, inc, lph, lan, arp, mna
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  i Calculating helper columns.
  Rows: 165062 Columns: 8
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  dbl (8): t, aa, ee, inc, lph, lan, arp, mna
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  i Calculating helper columns.
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_solution.R:8:3'): get_solution() works ─────────────────────
  `head(get_solution(orbital_solution = "ZB18a", quiet = TRUE))` threw an unexpected error.
  Message: object 'save_cache' not found
  Class:   simpleError/error/condition
  ── Error ('test-snvec.R:9:3'): snvec() inputs are checked ──────────────────────
  Error in `get_ZB18a(quiet = quiet)`: object 'save_cache' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-snvec.R:9:2
   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. └─snvecR::snvec(ed = 1.1001, tend = -1, tres = 0.5, quiet = TRUE)
   8.   └─snvecR::get_solution(orbital_solution = orbital_solution)
   9.     └─snvecR::get_ZB18a(quiet = quiet)
  ── Error ('test-snvec.R:21:3'): snvec() works ──────────────────────────────────
  `print(...)` threw an unexpected error.
  Message: object 'save_cache' not found
  Class:   simpleError/error/condition
  ── Error ('test-snvec.R:41:3'): snvec() output columns are correct ─────────────
  Error in `get_ZB18a(quiet = quiet)`: object 'save_cache' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-snvec.R:41:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::colnames(snvec(tend = -1, tres = 0.5, quiet = TRUE, output = "nice"))
   5. │ └─base::is.data.frame(x)
   6. └─snvecR::snvec(tend = -1, tres = 0.5, quiet = TRUE, output = "nice")
   7.   └─snvecR::get_solution(orbital_solution = orbital_solution)
   8.     └─snvecR::get_ZB18a(quiet = quiet)
  ── Error ('test-unwrap.R:5:3'): unwrap works ───────────────────────────────────
  Error in `get_ZB18a()`: object 'save_cache' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-unwrap.R:5:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─snvecR:::unwrap(get_ZB18a()$lan[1:6])
   5. └─snvecR::get_ZB18a()
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 11 ]
  Error: Test failures
  Execution halted