Learn R Programming

froggeR (version 0.6.0)

save_variables: Save Metadata Configuration to Global froggeR Settings

Description

This function saves the current _variables.yml file from an existing froggeR Quarto project to your global (system-wide) froggeR configuration. This allows you to reuse metadata across multiple projects.

Usage

save_variables()

Arguments

Value

Invisibly returns NULL after saving configuration file.

Details

This function:

  • Reads the project-level _variables.yml file

  • Saves it to your system-wide froggeR config directory

  • Prompts for confirmation if a global configuration already exists

The saved configuration is stored in rappdirs::user_config_dir('froggeR') and will automatically be used in new froggeR projects created with quarto_project or write_variables.

This is useful for maintaining consistent author metadata (name, email, affiliations, etc.) across all your projects without having to re-enter it each time.

See Also

settings, write_variables, save_brand

Examples

Run this code
# Save metadata from current project to global config
if (interactive()) save_variables()

Run the code above in your browser using DataLab