The settings() function is your gateway to effortless
metadata management in froggeR. Whether you’re a researcher publishing
papers, a data analyst sharing reports, or anyone who creates Quarto
documents, settings() helps you maintain consistent author
information across all your projects.
froggeR manages six metadata fields:
Let’s walk through how settings() works with a
real-world example of Dr. Rachel Kim, a neuroscience researcher.
When Rachel runs settings() for the first time:
> froggeR::settings()
froggeR Metadata Status
✖ No project-level metadata
✖ No global metadata
What would you like to do?
1: Create or update metadata
2: View current metadata
3: Exit
Selection: 1froggeR guides her through creating metadata:
Enter your metadata (press Enter to skip optional fields):
Full name
Your full name as it appears in publications
: Dr. Rachel Kim
Email address
Contact email
: rachel.kim@neuroscience.edu
ORCID
Optional (e.g., 0000-0001-2345-6789)
: 0000-0002-1234-5678
Website or profile URL
Optional (e.g., https://yoursite.com)
: https://rachelkim.science
GitHub username
Optional (e.g., octocat)
: rkim-neuro
Affiliations
Optional (e.g., Institution, Department)
: University of Washington, Department of NeuroscienceAfter entering all fields, froggeR shows a preview:
Your metadata preview:
---
name: Dr. Rachel Kim
email: rachel.kim@neuroscience.edu
orcid: 0000-0002-1234-5678
url: https://rachelkim.science
github: rkim-neuro
affiliations: University of Washington, Department of Neuroscience
---Rachel chooses to save globally so she can reuse it in all future projects:
Where would you like to save this metadata?
1: Save to this project only
2: Save globally (reuse in all future projects)
3: Save to both locations
4: Cancel (discard changes)
Selection: 2
✔ Saved to global: /home/rachel/.config/froggeR/_variables.yml
✔ froggeR metadata configured successfully!
ℹ Your metadata will automatically be used in future froggeR projects.froggeR validates your input and provides helpful error messages:
Email validation:
ORCID validation:
URL validation:
Website or profile URL
Optional (e.g., https://yoursite.com)
: rachelkim.science
URL must start with http:// or https://GitHub username validation:
When metadata exists, froggeR asks whether to update or start fresh:
Metadata already exists. What would you like to do?
1: Update existing metadata
2: Start fresh
Selection: 1When updating, current values appear in brackets. You can press Enter to keep them or type new values:
Sometimes you need different metadata for a specific project:
Now this project has custom metadata while your global settings remain unchanged.
froggeR stores metadata in two locations:
_variables.yml in your
project directory
~/.config/froggeR/_variables.ymlC:\Users\<username>\AppData\Local\froggeR/_variables.ymlNow that you understand metadata management with
settings(), explore:
brand_settings()quarto_project() uses your
settingsThe settings() function provides an interactive way to
manage your author metadata:
By configuring metadata once with settings(), you
eliminate repetitive data entry and ensure consistency across all your
Quarto projects.