Helper to extract the path to the input data from a bbi object.
get_data_path(.bbi_object, .check_exists = TRUE, ...)
The object to query. Could be
a bbi_{.model_type}_model
object,
bbi_{.model_type}_summary
object,
or a tibble of class bbi_log_df
.
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.)
Absolute path to input data file
NONMEM
model extensionsBefore 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 .mod
extension, bbi
automatically adjusts a
relative data path to make it relative to the execution directory,
following the behavior of PsN
.
For a model with a .ctl
extension, bbi
does 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.
get_model_id()
get_path_from_object()
build_path_from_model()
Other NONMEM
model extensions:
submit_model()
,
submit_models()