Running ‘testthat.R’ [4s/12s]
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")
  dvode -- Warning.. Internal T (=R1) and H (=R2) are
        such that in the machine, T + H = T on the next step
        (H = step size). Solver will continue anyway.
  In above message, R1 = -146100, R2 = -1.30156e-11
  dvode -- Warning.. Internal T (=R1) and H (=R2) are
        such that in the machine, T + H = T on the next step
        (H = step size). Solver will continue anyway.
  In above message, R1 = -146100, R2 = -1.30156e-11
  i The astronomical solution "full-ZB18a" has not been cached.
  i Reading 'full-ZB18a.dat' from website <http://www.soest.hawaii.edu/oceanography/faculty/zeebe_files/Astro/PrecTilt/OS/ZB18a/ems-plan3.dat>.
  [ FAIL 1 | WARN 1 | SKIP 6 | PASS 38 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-get_solution.R:21:3', 'test-get_solution.R:25:3',
    'test-get_solution.R:47:3', 'test-get_solution.R:62:3',
    'test-get_solution.R:76:3', 'test-snvec.R:104:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-unwrap.R:5:3'): unwrap works ───────────────────────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-unwrap.R:5:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─snvecR:::unwrap(get_solution()$lan[1:6])
    5. └─snvecR::get_solution()
    6.   └─snvecR:::get_ZB(astronomical_solution, quiet = quiet, force = force)
    7.     └─readr::read_table(...)
    8.       └─readr:::read_delimited(...)
    9.         └─readr:::datasource_connection(file, skip, skip_empty_rows, comment)
   10.           └─readr:::read_connection(path)
   11.             ├─base::open(con, "rb")
   12.             └─base::open.connection(con, "rb")
  
  [ FAIL 1 | WARN 1 | SKIP 6 | PASS 38 ]
  Error: Test failures
  Execution halted