Running 'testthat.R' [4s]
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
  > # https://github.com/Rdatatable/data.table/issues/5658
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > Sys.setenv("Ncpu" = 2)
  > 
  > library(testthat)
  > library(mllrnrs)
  > 
  > test_check("mllrnrs")
  [ FAIL 17 | WARN 0 | SKIP 1 | PASS 0 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-lints.R:10:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-glmnet_binary.R:88:5'): test nested cv, bayesian, binary - glmnet ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("prauc") at test-glmnet_binary.R:88:5
  ── Error ('test-glmnet_binary.R:134:5'): test nested cv, grid - glmnet, errors ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("prauc") at test-glmnet_binary.R:134:5
  ── Error ('test-glmnet_multiclass.R:89:5'): test nested cv, bayesian, multiclass - glmnet ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("bacc") at test-glmnet_multiclass.R:89:5
  ── Error ('test-glmnet_regression.R:87:5'): test nested cv, bayesian, regression - glmnet ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("rmsle") at test-glmnet_regression.R:87:5
  ── Error ('test-glmnet_regression.R:134:5'): test nested cv, grid - glmnet ─────
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("rmsle") at test-glmnet_regression.R:134:5
  ── Error ('test-lightgbm_binary.R:99:5'): test nested cv, bayesian, binary - lightgbm ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("auc") at test-lightgbm_binary.R:99:5
  ── Error ('test-lightgbm_multiclass.R:101:5'): test nested cv, bayesian, multiclass - lightgbm ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("bacc") at test-lightgbm_multiclass.R:101:5
  ── Error ('test-lightgbm_regression.R:99:5'): test nested cv, bayesian, regression - lightgbm ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-lightgbm_regression.R:99:5
  ── Error ('test-lightgbm_regression.R:141:5'): test nested cv, grid - lightgbm ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-lightgbm_regression.R:141:5
  ── Error ('test-ranger_binary.R:92:5'): test nested cv, bayesian, binary - ranger ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("auc") at test-ranger_binary.R:92:5
  ── Error ('test-ranger_multiclass.R:93:5'): test nested cv, bayesian, regression - ranger ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("bacc") at test-ranger_multiclass.R:93:5
  ── Error ('test-ranger_regression.R:87:5'): test nested cv, bayesian, regression - ranger ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-ranger_regression.R:87:5
  ── Error ('test-ranger_regression.R:125:5'): test nested cv, grid - ranger ─────
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-ranger_regression.R:125:5
  ── Error ('test-xgboost_binary.R:83:5'): test nested cv, bayesian, binary:logistic - xgboost ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("auc") at test-xgboost_binary.R:83:5
  ── Error ('test-xgboost_multiclass.R:86:5'): test nested cv, bayesian, multi:softprob - xgboost, with weights ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("bacc") at test-xgboost_multiclass.R:86:5
  ── Error ('test-xgboost_regression.R:82:5'): test nested cv, bayesian, reg:squarederror - xgboost ──
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-xgboost_regression.R:82:5
  ── Error ('test-xgboost_regression.R:125:5'): test nested cv, grid - xgboost ───
  Error: Package "measures" must be installed to use function 'metric()'.
  Backtrace:
      ▆
   1. └─mlexperiments::metric("msle") at test-xgboost_regression.R:125:5
  
  [ FAIL 17 | WARN 0 | SKIP 1 | PASS 0 ]
  Error: Test failures
  Execution halted