retrieve_models function

retrieve_models

retrieve_models

Retrieve models after a tool run

Any models created and run by the tool can be retrieved.

retrieve_models(source, names = NULL)

Arguments

  • source: (str or Context) Source where to find models. Can be a path (as str or Path), or a Context
  • names: (array(str) (optional)) List of names of the models to retrieve or NULL for all

Returns

(vector) List of retrieved model objects

Examples

## Not run: tooldir_path <- 'path/to/tool/directory' models <- retrieve_models(tooldir_path, names=c('run1')) ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04