Creates or opens a _variables.yml file in a Quarto project for editing.
If the file already exists, it is opened directly. If global froggeR settings
exist, those are used as the starting point. Otherwise, the template is
downloaded from the
frogger-templates
repository.
Usage
write_variables(path = here::here())Arguments
- path
Character. Path to the project directory. Default is current project root via
here.
Details
The _variables.yml file stores reusable author metadata that Quarto
documents can reference. Available fields:
name: Your full name as it appears in publicationsemail: Contact email addressorcid: ORCID identifier (e.g., 0000-0001-2345-6789)url: Personal website or profile URLgithub: GitHub usernameaffiliations: Institution, department, etc.
Use save_variables to persist your project-level metadata to
the global config directory for reuse across projects.