Repository navigation
fix: Fix the release gate's findings for the resubmission of 1.5.0 - #686
Merged
Merged
Conversation
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
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 |
test-DBItest.R now skips without a server unless `RPOSTGRES_REQUIRE_SERVER` is set, which CI does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
…rn values The "Databases using R" link now points to https://solutions.posit.co/connections/db/, where https://db.rstudio.com/ redirects. The `@return` of `postgresDefault()` mentions the testthat skip. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
krlmlr
marked this pull request as ready for review
November 30, 2026 06:17
4 tasks
This was referenced Nov 30, 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.
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.
Importsnow hasDBI (>= 1.4.0), with a bullet in the existing 1.5.0 section of NEWS.md (heading and date unchanged). The help pages forpostgres-queryandpostgres-tableswere regenerated with DBI 1.4.0 installed, so the inheritedrow.namestext 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 resolveDBI (>= 1.4.0)until it is accepted. That is expected, and noRemotes: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.Rran the DBItest suite wheneverGITHUB_ACTIONSwas "true", and the gate checks on GitHub Actions without a database server, so the suite failed there. The suite now runs whenNOT_CRANis "true" andpostgresHasDefault()connects, or whenRPOSTGRES_REQUIRE_SERVERis "true". Thecustom/after-installaction, which starts the server in R-CMD-check, R-CMD-check-dev and pkgdown, now setsRPOSTGRES_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 ofPostgres,Redshift,PqDriver-class,PqConnection-class,PqResult-class,postgres-query,postgres-tables,quote,dbDataTypeandpostgresHasDefaultnow has a@returntag 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_documentas its output format. Its chunks are not evaluated, so no server is involved. The gate installs only the dependencies andConfig/Needs/check, so cynkratemplate was missing there. DESCRIPTION now hasConfig/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 newinst/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 buildandR CMD check --as-cran --no-manualran locally on the tarball without a database server, with DBI 1.4.0 installed from GitHub, once withGITHUB_ACTIONSunset and once with it set to "true". Both show no ERROR and no NOTE; the one WARNING is thatqpdfis missing on the local machine. The tests skip the server-dependent parts there ([ FAIL 0 | WARN 0 | SKIP 124 | PASS 34 ]). WithRPOSTGRES_REQUIRE_SERVER=trueand no server,test-DBItest.Rerrors, as CI should when its server is unreachable.spelling::spell_check_package()reports no errors, and every help page with\usagehas\value.https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
Generated by Claude Code