Runs model fitting, error estimation and variable importance on fold level

runreps(
  current_sample = NULL,
  data = NULL,
  formula = NULL,
  model_args = NULL,
  do_gc = NULL,
  imp_one_rep = NULL,
  model_fun = NULL,
  pred_fun = NULL,
  imp_variables = NULL,
  imp_permutations = NULL,
  imp_sample_from = "test",
  err_fun = NULL,
  importance = NULL,
  current_res = NULL,
  current_impo = NULL,
  pred_args = NULL,
  progress = NULL,
  mode_fold = "sequential",
  pooled_obs_train = NULL,
  pooled_obs_test = NULL,
  pooled_pred_train = NULL,
  response = NULL,
  pooled_pred_test = NULL,
  test_fun = NULL,
  test_param = NULL,
  train_fun = NULL,
  train_param = NULL,
  coords = NULL,
  i = NULL
)