Skip to content

Clarify which README file should be edited - #2248

Merged
jennybc merged 1 commit into
r-lib:mainfrom
dmuenz:clarify-readme-template-comment
Oct 28, 2026
Merged

jennybc merged 1 commit into
r-lib:mainfrom
dmuenz:clarify-readme-template-comment

Conversation

@dmuenz

@dmuenz dmuenz commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #2193. I updated 4 files in inst/templates:

  • package-README and project-README for the Rmd templates
  • package-README-qmd and project-README-qmd for the qmd templates

I think that's all the places where there was previously a comment like:

 <!-- README.md is generated from README.Rmd. Please edit that file --> 

I changed Please edit that file to Please edit only the Rmd file. or Please edit only the qmd file. as appropriate.

And I reran the unit tests which required updating the snapshots in tests/testthat/_snaps/readme.md.

@jennybc

jennybc commented Oct 28, 2026

Copy link
Copy Markdown
Member

Thanks!

@jennybc
jennybc merged commit 772fad9 into r-lib:main Oct 28, 2026
15 checks passed
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.

Confusing comment in README.Rmd about where to edit

2 participants