New function brand_settings() provides an
interactive workflow for configuring Quarto project branding. Supports
interactive configuration of core branding elements (name, color, logos)
and provides options for advanced customization via template editing
(typography, palettes, etc.). Brand configurations can be saved to
project-level, global (system-wide), or both locations for reuse across
projects.
New function save_brand() enables saving and
restoring brand configurations from the global froggeR settings
directory.
settings() function completely redesigned with
enhanced interactive workflow:
write_brand() gains restore_logos
argument to enable automatic restoration of logo content from system
configuration (default TRUE).
write_ignore() now supports creating either a
minimal (default) or an aggressive .gitignore file,
providing more flexibility for project needs.
settings() where empty optional fields
could cause an error during metadata cleanup.brand_settings() where empty
optional fields could lead to null values in
_brand.yml, potentially causing issues with Quarto.brand_settings() by sanitizing prompt display for current
values.config.yml to _variables.yml for improved
consistency and future-proofing..gitignore options, and improved clarity. README
significantly expanded (487 lines) with Table of Contents, better
organization, “Getting Help” section, and comprehensive feature
highlights.from-zero-to-project.Rmd - Getting started with
froggeRbuilding-your-brand-identity.Rmd - Brand management
workflowsyour-metadata-your-way.Rmd - Metadata configuration and
reuseset-once-use-everywhere.Rmd - Leveraging global
configurationswrite_* functions to simplify their public
API by removing the .initialize_proj argument. Core file
creation logic is now handled by internal create_*
functions, while exported write_* functions manage
interactive editing.rlang::abort() with custom error classes, providing more
consistent and informative error messages.R CMD check issues, including fixing example
code, ensuring proper usethis::ui_warn import, removing
unnecessary ::: calls, and addressing ‘incomplete final
line’ warnings in template files.write_* functions, new internal
create_* functions, and the global configuration migration
logic.NEWS and vignettes.
No functionality changes!write_quarto() argument custom_yaml has
been replaced with example, defaulting to TRUE. The Quarto
file templates have been reworked to use Quarto brand structure. This
simplifies the YAML within the document, but may require changes to the
project _quarto.yml and _brand.yml files.write_brand() & save_brand(). These
functions allow users to add project _brand.yml file and
save the current _brand.yml to where your machine stores
configuration files. There are added arguments to save & restore
your brand logos (saved as logos/ directory)._brand.yml file. Added tweaks for ORCID
logo issue when rendering with branding on Windows..Rproj file in
quarto_project().write_variables() that caused
unintentional stoppage.save_variables() is a new function to store the
current project-level _variables.yml to the system
configuration file path. It offers to overwrite if the system config
exists.affiliations in the
standard, non-custom Quarto template. Created rendering error.save_variables() documentation added to READMEwrite_notes() and
write_readme() to reflect updated content.settings() function replaces
froggeR_settings and provides a menu-driven interface.
User’s can now check, view, & get instructions to use Quarto
metadata within and across projects. Learn how to apply user-specific
metadata from the global config file, or store local project metadata
for reuse on future froggeR Quarto projects.write_* functions open the created files
for immediate viewing & editing (in interactive sessions).@examples by using
tempdir() when executing functions.@inheretParams across supplemental functions
(README, notes, ignore, SCSS, variables).write_variables(), the config
file is opened in the interactive session.write_readme; now includes
write_notes for a project-level progress notes
template.write_*
functions exists in the project, froggeR will now stop and provide a
useful message instead of offering to overwrite from the
console. This reduces annoying feedback & interaction and encourages
the user to make deliberate decisions.quarto_project():
write_variables() for
managing _variables.yml.write_quarto():
write_variables() for _variables.yml
creation.write_variables():
_variables.yml files in a modular way.ui_done and ui_info
outputs.check() errors related to undefined
global variables in examples._variables.yml creation would fail
under specific directory conditions.write_quarto(),
quarto_project(), and write_variables() with
detailed examples and explanations.helpers.R for better
maintainability and organization.🎉 With version 0.2.2, froggeR introduces more robust Quarto project management, making metadata handling and customization easier and more intuitive for users.
write_scss() function for more streamlined
YAML updates in Quarto documents.froggeR_settings() function,
providing clearer output of current settings.default parameter to custom_yaml
in quarto_project() and write_quarto() for
clarity.froggeR_settings() to use YAML for
configuration storage.~/.config/froggeR/config.yml.froggeR_settings()
function.quarto_project() and
write_quarto() to use the new YAML-based settings..check_settings() function to provide user
feedback on incomplete settings..update_variables_yml() function to handle both
creation and updating of _variables.yml.load_data() function and related
utilities.quarto_project()
froggeR_settings()
write_quarto() for consistent document creationwrite_readme() for structured project
documentationwrite_ignore() for enhanced Git securitywrite_scss() for custom styling templates