View source: R/ifcb_helper_functions.R
create_package_manifest | R Documentation |
This function generates a MANIFEST.txt file that lists all files in the specified paths, along with their sizes. It recursively includes files from directories and skips paths that do not exist. The manifest excludes the manifest file itself if present in the list.
create_package_manifest(paths, manifest_path = "MANIFEST.txt", temp_dir)
paths |
A character vector of paths to files and/or directories to include in the manifest. |
manifest_path |
A character string specifying the path to the manifest file. Default is "MANIFEST.txt". |
temp_dir |
A character string specifying the temporary directory to be removed from the file paths. |
This function does not return any value. It creates a MANIFEST.txt
file at the specified location,
which contains a list of all files (including their sizes) in the provided paths.
The file paths are relative to the specified temp_dir
, and the manifest excludes the manifest file itself if present.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.