save_variables {froggeR} | R Documentation |
Save variables YAML for 'Quarto' Projects
Description
This function saves the current '_variables.yml' file from an existing froggeR Quarto project. This provides a safety catch to prevent unintended overwrite if the system-level configuration file exists.
Usage
save_variables()
Details
The function will attempt to create a system-level configuration file from the current froggeR Quarto project. If the system-level configuration file already exists, the user will be prompted prior to overwrite.
Value
Invisibly returns 'NULL' after creating system-level configuration file.
Examples
# Write the _variables.yml file
if (interactive()) save_variables()
[Package froggeR version 0.4.0 Index]