Running ‘testthat.R’ [33s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(nlpred)
  Loading required package: data.table
  > 
  > test_check("nlpred")
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 |
  Multistart 1 of 1 /
  Multistart 1 of 1 |
  Multistart 1 of 1 |
                     
  [13:35:15] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (testWrappers.R:31:3): wrappers work ──────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'glmnet'
  Backtrace:
      █
   1. ├─nlpred:::check_wrapper(...) testWrappers.R:31:16
   2. │ ├─base::do.call(wrapper, args = list(train = train, test = test)) testWrappers.R:12:16
   3. │ └─nlpred::glmnet_wrapper(...)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base:::withOneRestart(expr, restarts[[1L]])
   7.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 50 ]
  Error: Test failures
  Execution halted