An R6 class that represents content

Public fields

connect

An R6 Connect object

content

The content details from RStudio Connect

Methods


Method new()

Usage

Content$new(connect, content)


Method get_connect()

Usage

Content$get_connect()


Method get_content()

Usage

Content$get_content()


Method get_content_remote()

Usage

Content$get_content_remote()


Method get_bundles()

Usage

Content$get_bundles()


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 update()

Usage

Content$update(...)


Method danger_delete()

Usage

Content$danger_delete()


Method runas()

Usage

Content$runas(run_as, run_as_current_user = FALSE)


Method get_url()

Usage

Content$get_url()


Method get_dashboard_url()

Usage

Content$get_dashboard_url(pane = "")


Method get_jobs()

Usage

Content$get_jobs()


Method get_job()

Usage

Content$get_job(key)


Method jobs()

Usage

Content$jobs()


Method job()

Usage

Content$job(key)


Method variants()

Usage

Content$variants()


Method tag_set()

Usage

Content$tag_set(tag_id)


Method tag_delete()

Usage

Content$tag_delete(id)


Method tags()

Usage

Content$tags()


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)


Method permissions()

Usage

Content$permissions(id = NULL, add_owner = FALSE)


Method environment()

Usage

Content$environment()


Method environment_set()

Usage

Content$environment_set(...)


Method environment_all()

Usage

Content$environment_all(...)


Method deploy()

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 print()

Usage

Content$print(...)


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.