download_bundle: Download a Bundle from Deployed Connect Content

View source: R/deploy.R

download_bundleR Documentation

Download a Bundle from Deployed Connect Content

Description

Downloads a Content item's active bundle, or (optionally) one of its other bundles.

Usage

download_bundle(
  content,
  filename = fs::file_temp(pattern = "bundle", ext = ".tar.gz"),
  bundle_id = NULL,
  overwrite = FALSE
)

Arguments

content

A Content object

filename

Optional. The output bundle path

bundle_id

Optional. A string representing the bundle_id to download. If NULL, will use the currently active bundle.

overwrite

Optional. Default FALSE. Whether to overwrite the target location if it already exists

Value

Bundle A bundle object

See Also

Other deployment functions: bundle_dir(), bundle_path(), bundle_static(), deploy(), poll_task()


rstudio/connectapi documentation built on Dec. 20, 2024, 1:48 p.m.