save_brand: Save Brand Configuration to Global froggeR Settings

View source: R/save_brand.R

save_brandR Documentation

Save Brand Configuration to Global froggeR Settings

Description

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

Usage

save_brand(save_logos = TRUE)

Arguments

save_logos

Logical. Should logo files from the logos directory also be saved to global configuration? Default is TRUE.

Details

This function:

  • Reads the project-level _brand.yml file

  • Saves it to your system-wide froggeR config directory

  • Optionally copies the logos directory for reuse in future projects

  • 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 init or write_brand.

Value

Invisibly returns NULL after saving configuration file.

See Also

write_brand, save_variables

Examples

# Save brand settings from current project to global config
if (interactive()) save_brand()

# Save brand settings but skip logos
if (interactive()) save_brand(save_logos = FALSE)


froggeR documentation built on March 17, 2026, 9:06 a.m.