View source: R/generate_yaml_from_directory.R
generate_yaml_from_directory | R Documentation |
Generate YAML File from Directory Structure
generate_yaml_from_directory(
input_path = tempdir(),
output_yaml_path = "_project_structure_en.yaml",
remove_prefix_numbers = FALSE
)
input_path |
String. The path to the directory whose structure needs to be captured. |
output_yaml_path |
String. The path where the YAML file will be saved. |
remove_prefix_numbers |
Boolean. Whether to remove numeric prefixes and any resulting leading non-alphanumeric characters from folder names. Defaults to FALSE. |
No return value, called for side effects
generate_yaml_from_directory(
output_yaml_path =
tempfile("_project_structure_en", fileext = ".yaml")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.