Running ‘testthat.R’ [21s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv(R_TESTS="")  # needed for cluster creation to work
  > 
  > library(testthat)
  > library(glmnetUtils)
  > 
  > test_check("glmnetUtils")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● RevoScaleR cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test5_relaxed.R:9:5): relaxed glmnet works ───────────────────────────
  Error: formal argument "x" matched by multiple actual arguments
  Backtrace:
      █
   1. ├─glmnetUtils::glmnet(...) test5_relaxed.R:9:4
   2. └─glmnetUtils:::glmnet.formula(...)
   3.   └─glmnet::relax.glmnet(...)
   4.     ├─stats::update(...)
   5.     ├─stats::update(...)
   6.     ├─stats::update.default(...)
   7.     │ └─base::eval(call, parent.frame())
   8.     │   └─base::eval(call, parent.frame())
   9.     └─glmnetUtils:::glmnet.formula(...)
  ── Error (test5_relaxed.R:23:5): relaxed glmnet works with weights and offset ──
  Error: formal argument "x" matched by multiple actual arguments
  Backtrace:
      █
   1. ├─glmnetUtils::glmnet(...) test5_relaxed.R:23:4
   2. └─glmnetUtils:::glmnet.formula(...)
   3.   └─glmnet::relax.glmnet(...)
   4.     ├─stats::update(...)
   5.     ├─stats::update(...)
   6.     ├─stats::update.default(...)
   7.     │ └─base::eval(call, parent.frame())
   8.     │   └─base::eval(call, parent.frame())
   9.     └─glmnetUtils:::glmnet.formula(...)
  ── Error (test5_relaxed.R:36:5): relaxed predict and coef work ─────────────────
  Error: formal argument "x" matched by multiple actual arguments
  Backtrace:
      █
   1. ├─glmnetUtils::glmnet(...) test5_relaxed.R:36:4
   2. └─glmnetUtils:::glmnet.formula(...)
   3.   └─glmnet::relax.glmnet(...)
   4.     ├─stats::update(...)
   5.     ├─stats::update(...)
   6.     ├─stats::update.default(...)
   7.     │ └─base::eval(call, parent.frame())
   8.     │   └─base::eval(call, parent.frame())
   9.     └─glmnetUtils:::glmnet.formula(...)
  ── Error (test5_relaxed.R:55:5): relaxed predict and coef work with nondefault gamma ──
  Error: formal argument "x" matched by multiple actual arguments
  Backtrace:
      █
   1. ├─glmnetUtils::glmnet(...) test5_relaxed.R:55:4
   2. └─glmnetUtils:::glmnet.formula(...)
   3.   └─glmnet::relax.glmnet(...)
   4.     ├─stats::update(...)
   5.     ├─stats::update(...)
   6.     ├─stats::update.default(...)
   7.     │ └─base::eval(call, parent.frame())
   8.     │   └─base::eval(call, parent.frame())
   9.     └─glmnetUtils:::glmnet.formula(...)
  
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 143 ]
  Error: Test failures
  Execution halted