Helper to extract the path to the input data from a bbi object.
Arguments
- .bbi_object
The object to query. Could be a
bbi_{.model_type}_modelobject,bbi_{.model_type}_summaryobject, or a tibble of classbbi_log_df.- .check_exists
If
TRUE, the default, will throw an error if the file does not exist- ...
Arguments passed through to methods. (Currently none, but may have some modifier arguments other model types in the future.)
Notes on NONMEM model extensions
Before executing the model, bbi first copies the control stream file to a
subdirectory. Whether a relative path to the data file in the control stream
is adjusted for this change in directory depends on the control stream's file
extension:
For a model with a
.modextension,bbiautomatically adjusts a relative data path to make it relative to the execution directory, following the behavior ofPsN.For a model with a
.ctlextension,bbidoes not adjust the data path. A relative data path in the control stream must be specified one level deeper (i.e. with an additional../) to account for the model being executed in a subdirectory.
See also
get_model_id() get_path_from_object() build_path_from_model()
Other NONMEM model extensions:
submit_model(),
submit_models()
