Repository navigation
fix(flavor): Rename the package in the pkgdown articles too - #3062
Merged
Merged
Conversation
`vignettes/articles/` is `.Rbuildignore`d, so the flavor guard skipped it on the grounds that no flavor builds it. But the rcc `pkgdown` gate renders the site on every flavored commit, where `library(igraph)` attaches the mainline package: the plotting article added with #2711 then fails on `scale_vertex_color()`, which CRAN's igraph lacks, and the deprecation table article reads the mainline package's file, or none. Scan the articles like the vignettes, and teach scripts/flavor.patch to rewrite both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
schochastics
enabled auto-merge (squash)
December 4, 2026 09:59
auto-merge was automatically disabled
December 4, 2026 10:06
Repository rule violations found
schochastics
added a commit
to schochastics/rigraph
that referenced
this pull request
Dec 4, 2026
) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 6302685)
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 flavor guard (
scripts/flavor-package-name.R) skippedvignettes/articles/because it is.Rbuildignored and "no flavor ships or builds it". The first half is true; the second isn't. The rccpkgdowngate (scripts/rcc-one.sh) runspkgdown::build_site()on every flavored commit, which renders the articles against the flavored package. There,library(igraph)attaches the mainline package instead:vignettes/articles/plotting.Rmd(added with feat: refactor and extendplot.igraph()with new features #2711) fails onscale_vertex_color(), which CRAN's igraph doesn't have. Every series commit from feat: refactor and extendplot.igraph()with new features #2711 on was red inpkgdown.vignettes/articles/deprecated-dot-case.Rmdreadsinst/lifecycle/deprecated.csvfrom the mainline package if one is installed, and fails otherwise.This scans the articles like the vignettes and adds
scripts/flavor.patchhunks for both.Tested:
flavor_package_name_offenders(".")is empty, andtest-flavor-package-name.Rpasses.scripts/flavor.sh devin a Debian container applies the patch and spells both articlesigraph.dev.Heads-up for #3034, which moves the topic vignettes to
vignettes/articles/: after this, the guard scans them there, so theirflavor.patchhunks need thevignettes/articles/…paths.🤖 Generated with Claude Code