generate_nmm_config.Rd
Creates a default watcher configuration file
generate_nmm_config(
.mod,
model_number = NULL,
files_to_track = NULL,
tmp_dir = NULL,
watched_dir = file.path("model", "nonmem"),
output_dir = file.path(watched_dir, "in_progress"),
poll_duration = NULL,
level = NULL,
threads = NULL,
overwrite = FALSE,
bbi_config_path = NULL,
alerter_opts = list()
)
a bbi nonmem model object
a string of model number e.g. 101a15. Default is pulled from .mod
a vector of file extensions. If left blank, nmm will use .ext, .lst. and .grd.
a temporary directory location to run nonmem. If left blank nmm will use /tmp
the directory where nonmem will output. Default is here::here()/model/nonmem
the directory where watcher will place log and any output files default is here::here()/model/nonmem/in_progress
the amount of time in seconds between the watchers polling. If left blank, nmm will use 1 second
What level to log at. Available options are Trace, Debug, Info, Warn, Fatal if left blank, nmm will use Info
number of threads if running a parallel job. If left blank nmm will use 1
bool whether to overwrite existing run.
the path to bbi.yaml file
a list for setting up an alerter fields needed are alerter, command, message_flag, use_stdout, args (list of additional args to be passed to alerter)
none
if (FALSE) { # \dontrun{
generate_nmm_config(.mod)
} # }