Skip to content

Make generated docs reproducible - #856

Merged
gaborcsardi merged 1 commit into
mainfrom
reproducible-docs
Nov 7, 2026
Merged

gaborcsardi merged 1 commit into
mainfrom
reproducible-docs

Conversation

@hadley

@hadley hadley commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Not sure if this is the right approach or not, but feels like we need someway to opt-in of rebuilding the SVGs.

🤖 Written by AI 🤖

Reduces churn in man/ when running devtools::document(). The asciicast examples now use a fixed home directory, user, pid, timestamp and progress bar id. Animated SVGs (which embed real recording timings) are no longer re-recorded by document(); use Rscript tools/render-svgs.R to regenerate them.

* Fix home directory, user name, pid, `pb_timestamp`, and the `pb_id` counter in asciicast examples so `.Rd` output doesn't depend on who renders it or when.
* `devtools::document()` now reuses existing animated SVGs instead of re-recording them; run `tools/render-svgs.R` to regenerate.
@gaborcsardi
gaborcsardi merged commit ceadbfd into main Nov 7, 2026
11 checks passed
@gaborcsardi

Copy link
Copy Markdown
Member

Thanks!

@gaborcsardi
gaborcsardi deleted the reproducible-docs branch November 7, 2026 19:26
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.

2 participants