Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("sleev")
  Loading required package: sleev
  Loading required package: Rcpp
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 42 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test_linear2ph.R:22:2', 'test_logistic2ph.R:107:2'
  • empty test (1): 'test_cv_linear2ph.R:4:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_linear2ph.R:107:5'): single iteration cubic ────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(data["Y"]) at test_linear2ph.R:107:5
   2. │ └─base::tryCatch(...)
   3. │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4. │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_linear2ph.R:138:5'): single iteration histogram ────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(data["Y"]) at test_linear2ph.R:138:5
   2. │ └─base::tryCatch(...)
   3. │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4. │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_linear2ph.R:169:5'): single iteration quadratic ────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(data["Y"]) at test_linear2ph.R:169:5
   2. │ └─base::tryCatch(...)
   3. │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4. │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_linear2ph.R:200:5'): single iteration linear ───────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(data["Y"]) at test_linear2ph.R:200:5
   2. │ └─base::tryCatch(...)
   3. │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4. │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 42 ]
  Error: Test failures
  Execution halted