write_brand {froggeR} | R Documentation |
Write Brand YAML for 'Quarto' Projects
Description
This function creates or updates the '_brand.yml' file in a Quarto project directory if they exist in the config path.
Usage
write_brand(
path = here::here(),
restore_logos = TRUE,
.initialize_proj = FALSE
)
Arguments
path |
Character string. Path to the project directory. |
restore_logos |
Logical. Restore logo content from system configuration. Default is 'TRUE'. |
.initialize_proj |
Logical. TRUE only if starting a
|
Details
The function will attempt to use the current froggeR settings from the config path. If no global configurations exist, a template '_brand.yml' will be created.
Value
Invisibly returns 'NULL' after creating or updating the '_brand.yml' file.
Examples
# Write the _brand.yml file
if (interactive()) {
temp_dir <- tempdir()
write_brand(temp_dir)
}
[Package froggeR version 0.5.1 Index]