Skip to content

Conversation

VisruthSK
Copy link

@VisruthSK VisruthSK commented Sep 19, 2025

  • Added Quarto README generation
  • Refactored use_readme_* functions
  • Small documentation changes and such

usethis already exposes an API to quickly create a tempate README.Rmd and README.md, but Quarto wasn't supported. This PR adds Quarto support by leverging the existing templates and adjusting them slightly to allow qmds. I also refactored the now 3 readme functions, pulling common functionality out into a helper. I wrote a few tests as well--due to the new structure of the code, I didn't think it was necesssary to duplicate all the Rmd tests for qmds, but I could do that if needed.

I also opened r-lib/devtools#2620 concerning devtools helpers for README building.

Fixes #1671.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Add use_readme_qmd()
1 participant