Define a bundle from a path (a path directly to a tar.gz file)

bundle_path(path)

Arguments

path

The path to a .tar.gz file

Value

Bundle A bundle object

See also

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

Examples


bundle_path(system.file("tests/testthat/examples/static.tar.gz", package = "connectapi"))
#> Bundling path 
#> Posit Connect Bundle: 
#>   Path: /home/runner/work/connectapi/connectapi/docs/reference
#>   Size: 4K
#> 
#> bundle_path("/home/runner/work/connectapi/connectapi/docs/reference")
#>