Running ‘testthat.R’ [77s/105s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vglmer)
  > 
  > test_check("vglmer")
  ..............................................................[1] "2 for tests because CRAN"
  ........................[1] "2 for tests because CRAN"
  ............[ FAIL 2 | WARN 4 | SKIP 11 | PASS 118 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • On CRAN (10): 'test-match_glmer.R:20:3', 'test-match_glmer.R:58:3',
    'test-match_glmer.R:161:3', 'test-predict.R:216:3', 'test-predict.R:254:3',
    'test-splines.R:22:3', 'test-splines.R:265:3', 'test-update_method.R:20:3',
    'test-update_method.R:65:3', 'test-update_method.R:114:3'
  • empty test (1): 'test-splines.R:375:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-splines.R:85:3'): fit splines works with one knot ──────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(...) at test-splines.R:85:3
   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-splines.R:252:5'): CRAN basic spline tests ─────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'vctrs'
  Backtrace:
      ▆
   1. ├─testthat::expect_vector(predict(m1, newdata = dat_custom)) at test-splines.R:252: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 2 | WARN 4 | SKIP 11 | PASS 118 ]
  Error: Test failures
  Execution halted