Creates a bundle from a target directory.

bundle_dir(
  path = ".",
  filename = fs::file_temp(pattern = "bundle", ext = ".tar.gz")
)

Arguments

path

The path to the directory to be bundled

filename

The output bundle path

Value

Bundle A bundle object

See also

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

Examples


bundle_dir(system.file("tests/testthat/examples/shiny/", package = "connectapi"))
#> Error in bundle_dir(system.file("tests/testthat/examples/shiny/", package = "connectapi")): fs::dir_exists(path) is not TRUE