Running ‘testthat.R’ [28s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vetiver)
  > 
  > test_check("vetiver")
  
  Create a Model Card for your published model
  * Model Cards provide a framework for transparent, responsible reporting
  * Use the vetiver `.Rmd` template as a place to start
  This message is displayed once per session.
  [ FAIL 1 | WARN 0 | SKIP 35 | PASS 56 ]
  
  ══ Skipped tests (35) ══════════════════════════════════════════════════════════
  • On CRAN (23): 'test-attach-pkgs.R:2:5', 'test-attach-pkgs.R:7:5',
    'test-attach-pkgs.R:12:5', 'test-choose-version.R:4:5',
    'test-choose-version.R:36:5', 'test-create-ptype.R:42:5',
    'test-dashboard.R:13:5', 'test-keras.R:1:1', 'test-luz.R:1:1',
    'test-mlr3.R:8:5', 'test-mlr3.R:51:5', 'test-monitor.R:68:9',
    'test-monitor.R:75:9', 'test-monitor.R:82:9', 'test-monitor.R:127:9',
    'test-pin-read-write.R:6:5', 'test-pin-read-write.R:19:5',
    'test-pin-read-write.R:132:5', 'test-predict.R:1:1', 'test-stacks.R:1:1',
    'test-type-convert.R:16:5', 'test-type-convert.R:41:5',
    'test-type-convert.R:72:5'
  • caret cannot be loaded (1): 'test-caret.R:1:1'
  • plumber cannot be loaded (7): 'test-api.R:1:1', 'test-gam.R:2:1',
    'test-glm.R:1:1', 'test-kproto.R:2:1', 'test-write-docker.R:1:1',
    'test-write-plumber.R:1:1', 'test-xgboost.R:2:1'
  • ranger cannot be loaded (2): 'test-ranger.R:1:1', 'test-tidymodels.R:3:1'
  • recipes cannot be loaded (1): 'test-recipe.R:1:1'
  • smdocker cannot be loaded (1): 'test-sagemaker.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rsconnect.R:11:5'): (code run outside of `test_that()`) ────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `vetiver_write_plumber(board = board, name = name, version = version, 
      !!!predict_args, file = fs::path(tmp, "plumber.R"))`: The package "plumber" is required.
  Backtrace:
      ▆
   1. └─testthat::describe(...) at test-rsconnect.R:3:1
   2.   └─base::eval(substitute(code), describe_environment)
   3.     └─base::eval(substitute(code), describe_environment)
   4.       └─vetiver::vetiver_create_rsconnect_bundle(b, "cars1", filename = tar_file) at test-rsconnect.R:11:5
   5.         └─vetiver::vetiver_write_plumber(...)
   6.           └─rlang::check_installed("plumber")
  
  [ FAIL 1 | WARN 0 | SKIP 35 | PASS 56 ]
  Error: Test failures
  Execution halted