Learn R Programming

gofigR (version 1.1.3)

infer_workspace: Resolve the workspace argument, falling back to the client's default.

Description

Returns the supplied workspace if present, otherwise the default workspace configured on the GoFigr client. Throws an error if neither is available.

Usage

infer_workspace(gf, workspace)

Value

A workspace object or API ID suitable for passing to other helpers.

Arguments

gf

GoFigr client.

workspace

Optional workspace object or API ID. If `NULL`, the client's default workspace is used.