Downloads a Content item's active bundle, or (optionally) one of its other bundles.
download_bundle(
content,
filename = fs::file_temp(pattern = "bundle", ext = ".tar.gz"),
bundle_id = NULL,
overwrite = FALSE
)
A Content object
Optional. The output bundle path
Optional. A string representing the bundle_id to download. If NULL, will use the currently active bundle.
Optional. Default FALSE. Whether to overwrite the target location if it already exists
Bundle A bundle object
Other deployment functions:
bundle_dir()
,
bundle_path()
,
bundle_static()
,
deploy()
,
poll_task()