View source: R/tnu_workspace.R
| tnu_workspace | R Documentation |
tnu_workspace() gets (when x = NULL) or sets and
returns the namespace and name in the form NAMESPACE/NAME.
tnu_workspace_ok() returns TRUE when the workspace
namespace and name have been set by tnu_workspace(), package
options, or system environment variables.
tnu_workspace(x = NULL, is_google_cloud = TRUE)
tnu_workspace_ok()
x |
NULL (get the existing value) or character(1) workspace
namespace and name, formatted as |
is_google_cloud |
logical(1) is the workspace on the google
cloud? If so, ensure that the environment variable
|
tnu_workspace() with no argument checks to see if the
workspace namespace and name have been assigned through a
previous call to tnu_workspace(), or are defined by the
package options AnVILTNU.WORKSPACE_NAMESPACE,
AnVILTNU.WORKSPACE_NAME (set via
options(AnVILTNU.WORKSPACE_NAME = ...)), or by the system
environment variables WORKSPACE_NAMESPACE,
WORKSPACE_NAME. Calls to tnu_workspace() have precedence
over package options, which have precedence over system
environment variables.
if (tnu_workspace_ok()) {
tnu_workspace()
}
tnu_workspace_ok()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.