Learn R Programming

froggeR (version 1.0.0)

write_brand: Write Brand YAML for Quarto Projects

Description

Creates or opens a _brand.yml file in a Quarto project for editing. If the file already exists, it is opened directly. If global froggeR brand settings exist, those are used as the starting point. Otherwise, the template is downloaded from the frogger-templates repository.

Usage

write_brand(path = here::here(), restore_logos = TRUE)

Value

Invisibly returns the path to the file.

Arguments

path

Character. Path to the project directory. Default is current project root via here.

restore_logos

Logical. Restore logo content from system configuration. Default is TRUE.

Details

The _brand.yml file defines your visual identity for Quarto documents: colors, logos, typography, and more. See the brand.yml specification for the full list of available options.

Use save_brand to persist your project-level brand configuration to the global config directory for reuse across projects.

See Also

save_brand, write_variables, init

Examples

Run this code
if (FALSE) {
write_brand()
}

Run the code above in your browser using DataLab