Learn R Programming

froggeR (version 0.5.0)

save_brand: Save brand YAML for 'Quarto' Projects

Description

This function saves the current `_brand.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_brand(save_logos = TRUE)

Value

Invisibly returns `NULL` after creating system-level configuration file.

Arguments

save_logos

Logical. Save brand logos from `logos` directory. Default is `TRUE`.

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.

Examples

Run this code

# Write the _brand.yml file
if (interactive()) save_brand()

Run the code above in your browser using DataLab