Wrapper with explicit parameters over board_register() to register a Google Cloud Storage container as a board.

board_register_gcloud(
  name = "gcloud",
  bucket = Sys.getenv("GCLOUD_STORAGE_BUCKET"),
  token = NULL,
  cache = board_cache_path(),
  path = NULL,
  ...
)

board_gcloud(
  name,
  bucket = Sys.getenv("GCLOUD_STORAGE_BUCKET"),
  token = NULL,
  cache = NULL,
  ...
)

Arguments

name

Board name, used to identify board in actions that affect multiple boards.

bucket

The name of the Google Cloud Storage bucket. Defaults to the GCLOUD_STORAGE_BUCKET environment variable.

token

The access token of the Google Cloud Storage container. Defaults to use the Google Cloud SDK if configured.

cache

The local folder to use as a cache, defaults to board_cache_path().

path

Subdirectory within url

...

Additional parameters stored in the board object.

Details

This function requires a Google Cloud Storage container to be manually created; otherwise, registering a Google Cloud board will fail.

See also

board_register

Examples

if (FALSE) { # the following example requires the Google Cloud SDK to be configured board_register_gcloud(container = "gcloudcontainer") }