bundle_static | R Documentation |
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.
bundle_static(
path,
filename = fs::file_temp(pattern = "bundle", ext = ".tar.gz")
)
path |
The path to a file (or files) that will be used for the static bundle |
filename |
The output bundle path |
NOTE: the rsconnect
package is required for this function to work properly.
Bundle A bundle object
Other deployment functions:
bundle_dir()
,
bundle_path()
,
deploy()
,
download_bundle()
,
poll_task()
bundle_static(system.file("logo.png", package = "connectapi"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.