bundle_static: Define a bundle from a static file (or files)

View source: R/deploy.R

bundle_staticR Documentation

Define a bundle from a static file (or files)

Description

Defines a bundle from static files. It copies all files to a temporary directory, generates a basic manifest file (using the first file as the "primary"), and bundles the directory.

Usage

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

Arguments

path

The path to a file (or files) that will be used for the static bundle

filename

The output bundle path

Details

NOTE: the rsconnect package is required for this function to work properly.

Value

Bundle A bundle object

See Also

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


connectapi documentation built on Feb. 16, 2023, 7:46 p.m.