An R6 class that represents content
Public fields
connect
An R6 Connect object
content
The content details from RStudio Connect
Methods
Method get_content_remote()
Usage
Content$get_content_remote()
Method bundle_download()
Usage
Content$bundle_download(
bundle_id,
filename = tempfile(pattern = "bundle", fileext = ".tar.gz"),
overwrite = FALSE
)
Method bundle_delete()
Usage
Content$bundle_delete(bundle_id)
Method internal_content()
Usage
Content$internal_content()
Method runas()
Usage
Content$runas(run_as, run_as_current_user = FALSE)
Method get_dashboard_url()
Usage
Content$get_dashboard_url(pane = "")
Method permissions_add()
Usage
Content$permissions_add(principal_guid, principal_type, role)
Method permissions_update()
Usage
Content$permissions_update(id, principal_guid, principal_type, role)
Method permissions_delete()
Usage
Content$permissions_delete(id)
Usage
Content$permissions(id = NULL, add_owner = FALSE)
Method environment_set()
Usage
Content$environment_set(...)
Method environment_all()
Usage
Content$environment_all(...)
Usage
Content$deploy(bundle_id = NULL)
Method repo_enable()
Usage
Content$repo_enable(enabled = TRUE)
Method repo_set()
Usage
Content$repo_set(repository, branch, subdirectory)
Method clone()
The objects of this class are cloneable with this method.
Usage
Content$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.