Change YAML header content
change_yaml_matter.Rd
This function updates the YAML content of a given Rmd file. YAML content is passed as a list via the dots argument of the function.
Arguments
- input_file
Input .Rmd file with YAML to be updated
- output_file
Output .Rmd filename with updated YAML (optional; if left blank, updated .Rmd file will be printed in the console.)