quarto-dev / quarto-dev/quarto-r
usethis like functions for add a chapter, or add appendix or other situations
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 161
- Forks
- 29
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 1
Description
usethis like functions for add a chapter, or add appendix or other situations where some boilerplate needs to be added to the _quarto.yml and then you need to create a new .qmd with the same title.
It would also be nice if there were usethis like functions for add a chapter, or add appendix or other situations where some boilerplate needs to be added to the _quarto.yml and then you need to create a new .qmd with the same title.
eg:
add_chapter(name, .before, .after) could add name.qmd to the _quarto.yml file at the end of existing chapters or optionally before or after an existing one and then create and open name.qmd.
Originally posted by @see24 in https://github.com/quarto-dev/quarto-r/issues/87#issuecomment-1761564229
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the proposed add_chapter(name, .before, .after) behavior and how _quarto.yml lists chapters or appendices. Define the expected handling of insertion before or after an existing entry, creation of the matching name.qmd file, and opening it; the work is done when these cases and other boilerplate additions have a decided scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100