Returns an Environment object for an existing environment in the workspace.

get_environment(workspace, name, version = NULL)

Arguments

workspace

The Workspace object.

name

A string of the name of the environment.

version

A string of the version of the environment.

Value

The Environment object.

Examples

if (FALSE) { ws <- load_workspace_from_config() env <- get_environment(ws, name = 'myenv', version = '1') }