From d043915df284cdfcba0e5b812ee52ae0432cd23f Mon Sep 17 00:00:00 2001 From: Adrien Le Guillou Date: Fri, 25 Oct 2024 14:42:08 +0200 Subject: [PATCH] fix save_pattern swf --- R/netsim_scenarios.R | 1 + R/swfcalib_helpers.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/R/netsim_scenarios.R b/R/netsim_scenarios.R index 2a6b48f..f3370b0 100644 --- a/R/netsim_scenarios.R +++ b/R/netsim_scenarios.R @@ -50,6 +50,7 @@ step_tmpl_netsim_scenarios <- function(path_to_x, param, init, control, #' #' @param scenarios_list A list of scenarios to be run. Produced by the #' \code{EpiModel::create_scenario_list} function +#' @param ... for compatibility reasons #' #' @inheritParams netsim_run_one_scenario #' @inheritSection netsim_run_one_scenario Checkpointing diff --git a/R/swfcalib_helpers.R b/R/swfcalib_helpers.R index 6abc21c..1fcd5f5 100644 --- a/R/swfcalib_helpers.R +++ b/R/swfcalib_helpers.R @@ -29,7 +29,7 @@ make_calibrated_scenario <- function(calib_object) { #' @inheritParams netsim_scenarios_setup netsim_swfcalib_output_setup <- function(path_to_x, param, init, control, calib_object, n_rep, n_cores, - output_dir, libraries, save_pattern) { + output_dir, libraries) { scenarios_list <- NULL p_list <- netsim_scenarios_setup( path_to_x, param, init, control,