View source: R/read_path_information.R
read_path_information | R Documentation |
Read Files Containing File Path Information from Folder
read_path_information(file_info_dir, pattern = "^path-info", ...)
file_info_dir |
path to folder in which to look for files matching
|
pattern |
pattern to match against the file names to be read. Default: "^path-info" |
... |
further arguments passed to
|
# Set root directory (here: package installation directory of kwb.fakin) root_dir <- system.file(package = "kwb.fakin") # Set output directory output_dir <- tempdir() # Write all paths below root_dir into a "path-info"-file fakin.path.app::get_and_save_file_info(root_dir, output_dir) # Read the "path-info"-files that are (now) found in output_dir path_info <- kwb.fakin:::read_path_information(output_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.