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: /tmp/RtmpDnfBd8/file440879455303/reference
#>   Size: 4K
#> 
#> bundle_path("/tmp/RtmpDnfBd8/file440879455303/reference")
#>