Skip to content

fix: Fix the release gate's findings for the resubmission of 1.5.0 - #686

Merged
krlmlr merged 8 commits into
v1.5-reedfrom
claude/resubmit-fixes
Nov 30, 2026
Merged

krlmlr merged 8 commits into
v1.5-reedfrom
claude/resubmit-fixes

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

This prepares the resubmission of RPostgres 1.5.0 from the release branch v1.5-reed, which was cut at the submitted commit c324cdb. It requires DBI 1.4.0, carries the URL fix of #683, and fixes the findings of the release gate run on c324cdb.

DBI 1.4.0. Imports now has DBI (>= 1.4.0), with a bullet in the existing 1.5.0 section of NEWS.md (heading and date unchanged). The help pages for postgres-query and postgres-tables were regenerated with DBI 1.4.0 installed, so the inherited row.names text follows DBI 1.4.0. DBI 1.4.0 is submitted to CRAN but not yet accepted there (CRAN has 1.3.0). CI jobs that install DBI from CRAN may therefore fail to resolve DBI (>= 1.4.0) until it is accepted. That is expected, and no Remotes: field is added, because CRAN does not allow one.

URLs (#683). The commit that removes the dead R-SIG-DB mailing list link from README.Rmd, README.md and index.md is cherry-picked from #683. The gate's urlchecker step reported no findings. The "Databases using R" link in README.Rmd, README.md and index.md now points to https://solutions.posit.co/connections/db/, where https://db.rstudio.com/ redirects.

R CMD check --as-cran: 1 ERROR. tests/testthat/test-DBItest.R ran the DBItest suite whenever GITHUB_ACTIONS was "true", and the gate checks on GitHub Actions without a database server, so the suite failed there. The suite now runs when NOT_CRAN is "true" and postgresHasDefault() connects, or when RPOSTGRES_REQUIRE_SERVER is "true". The custom/after-install action, which starts the server in R-CMD-check, R-CMD-check-dev and pkgdown, now sets RPOSTGRES_REQUIRE_SERVER=true, so a server that cannot be reached still fails CI instead of skipping the suite. The comment on the ARM64 Windows filter in DESCRIPTION is updated to match; the filter itself stays. The gate reported no NOTE.

Help pages without \value: 10 pages. Each of Postgres, Redshift, PqDriver-class, PqConnection-class, PqResult-class, postgres-query, postgres-tables, quote, dbDataType and postgresHasDefault now has a @return tag that names what each documented function or method returns. The Rd files were regenerated with roxygen2.

README.Rmd knitting failed. README.Rmd uses cynkratemplate::readme_document as its output format. Its chunks are not evaluated, so no server is involved. The gate installs only the dependencies and Config/Needs/check, so cynkratemplate was missing there. DESCRIPTION now has Config/Needs/check: cynkra/cynkratemplate. R CMD check ignores that field, and the gate's hard check does not inspect it. Knitting README.Rmd locally without a server gives the committed README.md unchanged.

Spelling. The typos "ßsavepoint" (in the dbBegin() help) and "supproted" (in an older NEWS entry) are fixed, and "parameterised" is spelled "parameterized" everywhere. The remaining 71 flagged words are names and technical terms, and they are listed in a new inst/WORDLIST.

Not fixed here. The gate's warning that no checklist pull request is open is left to the release coordination, which opens that pull request.

Verification. R CMD build and R CMD check --as-cran --no-manual ran locally on the tarball without a database server, with DBI 1.4.0 installed from GitHub, once with GITHUB_ACTIONS unset and once with it set to "true". Both show no ERROR and no NOTE; the one WARNING is that qpdf is missing on the local machine. The tests skip the server-dependent parts there ([ FAIL 0 | WARN 0 | SKIP 124 | PASS 34 ]). With RPOSTGRES_REQUIRE_SERVER=true and no server, test-DBItest.R errors, as CI should when its server is unreachable. spelling::spell_check_package() reports no errors, and every help page with \usage has \value.

https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89


Generated by Claude Code

The R-SIG-DB mailing list is no longer active, and win-builder's
CRAN incoming check flagged its mailman URL as unreachable.
The sentence is removed from README.Rmd, README.md and index.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
(cherry picked from commit 0e1882c)
The help pages inherit the updated documentation of `row.names` from DBI 1.4.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
R CMD check --as-cran in the release gate runs on GitHub Actions without a server,
and the DBItest suite ran there because `GITHUB_ACTIONS` was "true", which failed the check.
The suite now runs when `NOT_CRAN` is "true" and `postgresHasDefault()` connects,
or when `RPOSTGRES_REQUIRE_SERVER` is "true".
The CI workflows set that variable after starting the server,
so a server that cannot be reached still fails CI instead of skipping the suite.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
README.Rmd uses `cynkratemplate::readme_document`,
and the release gate installs only the packages that `Config/Needs/check` names besides the dependencies,
so knitting the README failed there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
Fixes "ßsavepoint" and "supproted", and lists the remaining words that spelling flags,
which are names and terms, in inst/WORDLIST.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
CRAN's reviewers ask for a `\value` section on every help page with a `\usage` section,
and ten pages lacked one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89

krlmlr commented Nov 30, 2026

Copy link
Copy Markdown
Member Author

The smoke test fails because pak cannot resolve the new requirement: "Can't install dependency DBI (>= 1.4.0)" (job log). DBI 1.4.0 was submitted to CRAN on 2026-11-30 and is not yet accepted, so CRAN still serves 1.3.0. This is the expected block noted in the description, not a defect of the PR. CI will be rerun once DBI 1.4.0 is on CRAN, and the resubmission waits for that anyway.


Generated by Claude Code

@krlmlr
krlmlr marked this pull request as ready for review November 30, 2026 06:17
@krlmlr
krlmlr merged commit c65d9fe into v1.5-reed Nov 30, 2026
5 of 7 checks passed
@krlmlr
krlmlr deleted the claude/resubmit-fixes branch November 30, 2026 21:54
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