Determine website resource files for a directory
Determine which files within a given directory should be copied in order to serve a website from the directory. Attempts to automatically exclude source, data, hidden, and other files not required to serve website content.
site_resources(site_dir, include = NULL, exclude = NULL, recursive = FALSE)
Site directory to analyze
Additional files to include (glob wildcards supported)
Files to exclude (glob wildcards supported)
TRUEto return a full recursive file listing;
FALSEto just provide top-level files and directories.
Character vector of files and directories to copy