listBundleFiles: List Files to be Bundled

Description Usage Arguments Details Value

View source: R/bundle.R


Given a directory containing an application, returns the names of the files to be bundled in the application.





Directory containing the application.


This function computes results similar to a recursive directory listing from list.files(), with the following constraints:

  1. If the total size of the files exceeds the maximum bundle size, no more files are listed. The maximum bundle size is controlled by the rsconnect.max.bundle.size option.

  2. If the total size number of files exceeds the maximum number to be bundled, no more files are listed. The maximum number of files in the bundle is controlled by the rsconnect.max.bundle.files option.

  3. Certain files and folders that don't need to be bundled, such as those containing internal version control and RStudio state, are excluded.


Returns a list containing the following elements:

contents A list of the files to be bundled
totalSize The total size of the files

rstudio/rsconnect documentation built on Jan. 15, 2019, 5:29 a.m.