docs: Replace the dead Travis and AppVeyor badges with the one that runs - #61
Open
krlmlr wants to merge 3 commits into
Open
docs: Replace the dead Travis and AppVeyor badges with the one that runs#61krlmlr wants to merge 3 commits into
krlmlr wants to merge 3 commits into
Conversation
Part of harmonizing how `README.md` and the pkgdown front page are produced across the fleet. The output format becomes `cynkratemplate::readme_document`, which is a `github_document` that also writes the pkgdown front page from the same render. It carries `-smart` and `--wrap=preserve`, matching duckdb-r, which has used them longest: together they keep the pandoc pass close to an identity transform, so no smart quotes and no reflowing to 72 columns. That keeps the rendered file close to its source and makes future diffs sentence-level rather than whole-paragraph. Stating the format by name rather than repeating its settings means the settings live in one place instead of thirty. Rendering is unchanged in how it is invoked: `rmarkdown::render()`, `devtools::build_readme()` and the Knit button all work as before, and all now produce both files. The only new requirement is that cynkratemplate be installed. No prose changes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Output of `cynkratemplate::render_readme()`, with no hand edits. `README.md` changes are the pandoc settings from the previous commit taking effect: `--wrap=preserve` stops badge lines and sentences being broken at 72 columns, and `-smart` leaves quotes and dashes as written. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
`NEWS.md` for 1.0.1.9002 records "Turn off Travis and AppVeyor (#10)", so both badges have reported nothing for many releases. The checks that actually run live in `.github/workflows/R-CMD-check.yaml`, whose `name:` is `rcc`, and that is the badge the rest of this fleet carries. The block also gains the `<!-- badges: start -->` / `<!-- badges: end -->` markers, which `usethis` uses to find it. Based on the pkgdown harmonization branch rather than `main` on purpose: `main` declares `output: downlit::readme_document`, and `downlit` exports no such object, so `README.md` cannot be regenerated there at all. Rendering works on this branch, so the committed output is a real render rather than a hand edit -- two consecutive renders are byte-identical. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/drop-dead-ci-badges
branch
from
September 13, 2026 20:33
1fcc6af to
0dd5486
Compare
krlmlr
force-pushed
the
claude/pkgdown-harmonization
branch
2 times, most recently
from
September 13, 2026 21:41
7f99c1e to
41314a6
Compare
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 README carries a Linux build badge from travis-ci.org and a Windows one from ci.appveyor.com.
NEWS.mdfor 1.0.1.9002 records "Turn off Travis and AppVeyor (#10)", so neither has reported anything for many releases.The checks that actually run live in
.github/workflows/R-CMD-check.yaml, whosename:isrcc— the badge the rest of this fleet carries. The block also gains the<!-- badges: start -->/<!-- badges: end -->markers thatusethisuses to find it.On the base branch. This targets
claude/pkgdown-harmonization(#56) rather thanmain, and not for stacking convenience:maindeclaresoutput: downlit::readme_document, and downlit exports no such object, soREADME.mdcannot be regenerated onmainat all — the render aborts with'readme_document' is not an exported object from 'namespace:downlit'. That is worth knowing independently of this change; #56 is what fixes it. Rendering works on that branch, so theREADME.mdandindex.mdhere are a real render rather than a hand edit, and two consecutive renders are byte-identical.This is not one of the documentation chain's four links — it is an independent fix that happens to need a working render.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Generated by Claude Code