Repository navigation
docs: Derive README.md from a README.Rmd - #609
Merged
Merged
Conversation
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 16:17
5680d2b to
23ede3e
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 16:31
23ede3e to
34a03b4
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 16:59
34a03b4 to
fb68cda
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 18:26
fb68cda to
aa2c4fd
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
2 times, most recently
from
September 13, 2026 20:30
7e03121 to
fc9461c
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 21:06
fc9461c to
41364bf
Compare
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 13, 2026 21:42
f1edeb5 to
34d50ec
Compare
The hand-written `README.md` keeps the package out of the shared rendering pipeline, so this adds a `README.Rmd` copied from it verbatim, prefixed with the `cynkratemplate::readme_document` front matter and the canonical generated-file comment. Rendering with `cynkratemplate::render_readme()` also writes `index.md` for pkgdown, which is the `README.md` without the code-of-conduct footer. Both `README.Rmd` and `index.md` are added to `.Rbuildignore` so neither ships in the tarball. The rendered `README.md` differs from the hand-written one only in pandoc's gfm normalisations: the generated-file comment, `*` bullets written as `-`, ` ```R ` written as ` ``` r `, blank lines inserted around headings and `<!-- badges: start -->`, trailing whitespace stripped, and `---` written as a full-width row of hyphens. No word, URL, or code-block content changes. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 14, 2026 05:27
34d50ec to
5e87678
Compare
The hand-written `README.md` keeps the package out of the shared rendering pipeline, so this adds a `README.Rmd` copied from it verbatim, prefixed with the `cynkratemplate::readme_document` front matter and the canonical generated-file comment. Rendering with `cynkratemplate::render_readme()` also writes `index.md` for pkgdown, which is the `README.md` without the code-of-conduct footer. Both `README.Rmd` and `index.md` are added to `.Rbuildignore` so neither ships in the tarball. The rendered `README.md` differs from the hand-written one only in pandoc's gfm normalisations: the generated-file comment, `*` bullets written as `-`, ` ```R ` written as ` ``` r `, blank lines inserted around headings and `<!-- badges: start -->`, trailing whitespace stripped, and `---` written as a full-width row of hyphens. No word, URL, or code-block content changes. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/readme-rmd
branch
from
September 14, 2026 14:37
5e87678 to
1587ada
Compare
The format from cynkratemplate#135 now links inline code in prose to its reference page, and this branch was rendered before that landed, so the committed README.md no longer matched a fresh render. With the README rendered in CI by default, the first run would have committed the links itself; this commits exactly what that run produces, so the pull request stays a faithful render. Only README.md changes: the links are added to prose and nothing else moves. index.md is untouched, because pkgdown links the front page itself. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
4 tasks
Carries the fix from the README.md source in #607 into the files rendered from README.Rmd. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Carries the two README.md wording edits from #607 into README.Rmd and re-renders README.md and index.md from it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Carries the revised "Goals and non-goals" section from #607 into README.Rmd and re-renders README.md and index.md from it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
Member
Author
Accepted limitationsThese remain after the clean review (one round, nothing above Low).
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hand-written
README.mdkept this package out of the shared rendering pipeline. This PR adds aREADME.Rmdcopied from it verbatim, prefixed with theoutput: cynkratemplate::readme_documentfront matter and a comment that namesREADME.Rmdas the file to edit, and rendersREADME.mdandindex.mdfrom it with the ordinaryrmarkdown::render("README.Rmd")(ordevtools::build_readme(), or the Knit button).Stacked on #607, which adds the "Goals and non-goals" section; this PR's
README.Rmdcarries that section, including #607's latest wording, so the renderedREADME.mdequals #607'sREADME.mdplus the changes listed below.What rendering changes
index.mdis the pkgdown front page: the same text without the part from the horizontal rule on (the code-of-conduct footer), which pkgdown shows in its sidebar instead. BothREADME.Rmdandindex.mdare in.Rbuildignore;R CMD buildplustar tzfconfirms the tarball shipsREADME.mdand neither of the other two.The rendered
README.mddiffers from the hand-written one only in pandoc's gfm normalisations and the format's autolinking:README.Rmdas the source;*bullets written as-(including those of docs: State the goals and non-goals #607's goals section);```Rwritten as``` r;<!-- badges: start -->, after## Installation, and before## Connecting to a specific Postgres instance;---written as a full-width row of hyphens;Redshift(),postgresImportLargeObject()andpostgresWaitForNotify(), all under https://rpostgres.r-dbi.org/reference/, andbit64::integer64to https://bit64.r-lib.org/reference/bit64-package.html (the topic that aliasesinteger64).index.mdkeeps them unlinked, because pkgdown links them itself.No evaluated chunks were added, so rendering needs no database server. Rendered with the current cynkratemplate (0.0.2.9041), a fresh render is byte-identical to the committed
README.mdandindex.md, so the "Re-render the README" step of R-CMD-check onmainhas nothing to commit back.Checks
On this stacked branch only format-suggest runs; the full checks run once the PR targets
main. Locally:pkgdown::check_pkgdown()reports no problems. A localpkgdown::build_home()could not run, because the session's network does not reach the CDN pkgdown fetches its assets from.Stacking
This derivation logically belongs below the line-break work, but it is stacked on top of
claude/readme-goalsto avoid rewriting and force-pushing every branch in the open chain across four repositories.Clean review done, nothing above Low: Accepted limitations.
Sessions: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m (original author), https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc (merged
mainand #607, ported #607's revised goals section intoREADME.Rmd, re-rendered and re-checked).Generated by Claude Code