Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(txshift)
  txshift v0.3.5: Efficient Estimation of the Causal Effects of Stochastic
  Interventions
  > 
  > test_check("txshift")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-censoring_mech.R:20:1): (code run outside of `test_that()`) ─────
  Error in `origami::cross_validate(cv_fun = cv_haldensify, folds = folds, 
      long_data = long_data, wts = wts_long, lambda_seq = lambda_seq, 
      smoothness_orders = smoothness_orders, ..., use_future = FALSE, 
      .combine = FALSE)`: formal argument "use_future" matched by multiple actual arguments
  Backtrace:
       █
    1. └─txshift:::est_g_exp(...) test-censoring_mech.R:20:0
    2.   ├─base::do.call(haldensify::haldensify, fit_args)
    3.   └─(function (A, W, wts = rep(1, length(A)), grid_type = "equal_range", ...
    4.     └─future.apply::future_mapply(...)
    5.       └─future.apply:::future_xapply(...)
    6.         ├─future::value(fs)
    7.         └─future:::value.list(fs)
    8.           ├─future::resolve(...)
    9.           └─future:::resolve.list(...)
   10.             └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   11.               └─future:::signalConditions(...)
  ── Error (test-tmle_comparison.R:124:1): (code run outside of `test_that()`) ───
  Error in `hal9001::fit_hal(X = as.matrix(data_internal[, ..v_names]), Y = as.numeric(eif_eval$eif_unweighted[C_samp == 
      1]), max_degree = NULL, fit_type = "glmnet", family = "gaussian", 
      return_lasso = FALSE, standardize = FALSE, type.measure = "mse", 
      nlambda = 1000, lambda.min.ratio = 1/nrow(data_internal), 
      yolo = FALSE)`: unused arguments (fit_type = "glmnet", standardize = FALSE, type.measure = "mse", nlambda = 1000, lambda.min.ratio = 1/nrow(data_internal))
  Backtrace:
      █
   1. └─txshift::txshift(...) test-tmle_comparison.R:124:0
   2.   └─txshift:::tmle_txshift(...)
   3.     └─txshift:::ipcw_eif_update(...)
  
  [ FAIL 2 | WARN 3 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted