bbi_init.RdExecutes bbi init ... in specified directory. This creates a bbi.yaml
file, which contains defaults for many configurable bbi settings, in
that directory.
bbi_init(
.dir,
.nonmem_dir,
.nonmem_version = NULL,
.bbi_args = NULL,
.no_default_version = FALSE
)Path to directory to run init in (and put the resulting
bbi.yaml file)
Path to directory with the NONMEM installation.
Character scalar for default version of NONMEM to use.
If left NULL, function will exit and tell you which versions were found in
.nonmem_dir
A named list specifying options to set in the newly created
bbi.yaml file, formatted like list("nm_version" = "nm74gf_nmfe", "json" = T, "threads" = 4). Run print_bbi_args() to see valid options. Note
that bbr does not support changing the output directory (including through
the model or global YAML files).
If TRUE, force creation of bbi.yaml with
no default NONMEM version. FALSE by default, and using TRUE is
not encouraged.
For bbr to make any calls out to bbi (for example in
submit_model() or model_summary()) it must find a bbi.yaml file.
The default behavior is to look for this file in the same directory as the
model. submit_model() and submit_models() also support passing a
configuration file via the .config_path argument.