Update CI to R 4.6 / Bioc 3.23 and bump all GitHub Actions - #73
Merged
Conversation
The check-bioc workflow was pinned to R 4.5 / Bioconductor 3.21 (bioconductor/bioconductor_docker:RELEASE_3_21), which has been failing CI on vignette PDF builds with a LaTeX "No counter 'none' defined" error while rebuilding Vig02-handling-metadata-and-annotations.Rmd. Locally reproducing the full R CMD build with the current Bioc-3.21-pinned BiocStyle (2.36.0) and an identical texlive-full install still succeeded, so the failure isn't traceable to a single missing package; moving to the current R/Bioc release (R 4.6, Bioc 3.23, RELEASE_3_23) is both the currently-supported target and the configuration verified to build the vignette successfully in this environment. Also bumped every GitHub Action pin to its current major version, since several were badly stale: - actions/checkout: v4 -> v6 - actions/upload-artifact: @master (an unpinned, mutable branch ref) -> v7, and made the uploaded artifact name reflect the actual matrix R/Bioc version instead of a hardcoded stale "RELEASE_3_19-r-4.4" string - docker/build-push-action: v1 -> v7 - actions/cache and r-lib/actions were already current (v4 and v2 respectively) and left unchanged
…ignette failure
pandoc >=3.8.1 emits \LTcaptype{none} for uncaptioned longtables, and
stock BiocStyle's LaTeX template never predefines a counter named
"none", causing "LaTeX Error: No counter 'none' defined" when
building vignettes (this is what's been failing check-bioc.yml).
Confirmed via a minimal reprex against official BiocStyle 2.40.0 with
pandoc 3.1.3 (works) vs 3.8.2.1 (fails, same error).
Installs the fork right after dependency-installation pass 1 and
before pass 2 (the step that actually builds vignettes via
remotes::install_local(build_vignettes = TRUE)). The fork's
Version: 2.41.0 outranks the official release's 2.40.0, so pass 2's
own upgrade = TRUE won't revert it.
Temporary until Bioconductor/BiocStyle#116
lands upstream.
This was referenced Jul 11, 2026
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.
Summary
CI on
develhas been failing (and hadn't run successfully in ~10 months before that) with a LaTeX error while rebuildingVig02-handling-metadata-and-annotations.Rmd:Root cause, now confirmed: pandoc
>=3.8.1changed how it renders uncaptioned Markdown tables to LaTeX — it now emits\def\LTcaptype{none}(alongtable/caption-package directive meaning "don't use a float counter for this caption"). BiocStyle's LaTeX template never predefines a counter literally namednone, so LaTeX errors out the first time an uncaptioned table appears. Bisected across pandoc releases:3.8builds fine,3.8.1is the first broken version, and it's still broken as of the latest release (3.10) — so this isn't a "wait for pandoc to fix it" situation.Minimal reproduction (no AlpsNMR code involved at all — just BiocStyle's standard
pdf_documentoutput format and a single uncaptioned Markdown table):Fails identically with stock BiocStyle 2.40.0 + pandoc >=3.8.1.
Changes
RELEASE_3_21(R 4.5, Bioc 3.21) →RELEASE_3_23(R 4.6, Bioc 3.23), the current Bioconductor release. (This alone does not fix the LaTeX error — see below.)zeehio/BiocStyle@my-fixesin the CI workflow, before the dependency-installation pass that builds vignettes. That branch predefines thenonecounter in BiocStyle's LaTeX template (in the correct file,default-2.8.tex, at the correct location — before$body$). This is a temporary pin until Bioconductor/BiocStyle#116 lands upstream.actions/checkout: v4 → v6actions/upload-artifact:@master(an unpinned, mutable branch ref) → v7, and the uploaded artifact name now reflects the actual matrix R/Bioc version instead of a hardcoded staleRELEASE_3_19-r-4.4stringdocker/build-push-action: v1 → v7actions/cache(v4) andr-lib/actions(v2) were already current, left unchangedThis branch also includes a merge of Bioconductor's own
develhistory (github.com/bioc/AlpsNMR), which had drifted ~10 months ahead with its own automated version-bump commits (4.11.1 → 4.15.0) that hadn't been synced back to this repo.Test plan
zeehio/BiocStyle@my-fixesfixes the reprex and the real vignette against pandoc 3.1.3, 3.8.2.1, and 3.10 (pandoc 3.8.1 itself still fails with a narrower, distinct empty-counter-name variant of the bug — that release was quickly superseded and isn't covered by this fix)