retrieve_models
Retrieve models after a tool run
Any models created and run by the tool can be retrieved.
retrieve_models(source, names = NULL)
source
: (str or Context) Source where to find models. Can be a path (as str or Path), or a Contextnames
: (array(str) (optional)) List of names of the models to retrieve or NULL for all(vector) List of retrieved model objects
## Not run: tooldir_path <- 'path/to/tool/directory' models <- retrieve_models(tooldir_path, names=c('run1')) ## End(Not run)