Repository navigation
docs: Update the specification from DBItest 1.9.0 - #793
Conversation
Regenerate `vignettes/spec.md` and `vignettes/spec.html` with DBItest 1.9.0, and inherit the new "Specification" section of `dbGetQueryArrow()`, which now holds the sentences that DBItest moved out of "Failure modes". Require DBItest >= 1.9.0 in Suggests, since the mirrored text comes from it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd74amfjQXm8ArmPSth
Accepted limitationsThe clean review found nothing above Low.
Generated by Claude Code |
Mirrors the DBI specification from the released DBItest 1.9.0 (now on CRAN). Review PR: #781
Procedure
The same procedure as earlier spec updates (e.g. 4dd4020, 8013faf):
Config/roxygen2/version. Pandoc is 3.10.2.devtools::document(), thendevtools::load_all(). Loading runstests/testthat/helper-dev.R, which renders the spec topics fromman/*.Rdtovignettes/spec.htmland converts that file tovignettes/spec.mdwith pandoc.tests/testthat/test-DBItest.Rwhen an RSQLite checkout sits next to DBI. I reverted that change because it is unrelated.mainwith DBItest 1.8.3.spec.mdcame out identical tomain, so the last mirror was DBItest 1.8.3 and the toolchain adds no changes of its own. Theman/*.Rdfiles onmainhad already been brought up to the DBItest development version by the auto-update workflow. With 1.9.0 they come out unchanged, except for the one addition below.Spec changes (DBItest 1.8.3 → 1.9.0)
dbFetch(): the failure-modes text for results fromdbSendStatement()now says the result is an empty data frame with a warning, and that such results are for side effects and should not be fetched; usedbSendQuery()instead (DBItest fledge: Bump version to 1.3.0.9004 #588).dbSendQueryArrow(): the schema of the result does not depend on the values bound withdbBind()(fledge: Bump version to 1.3.0.9000 #571).dbFetchArrow(): the schema is available throughnanoarrow::infer_nanoarrow_schema()before any batch is consumed, and reading it does not consume the stream (fledge: Bump version to 1.3.0.9000 #571).dbFetchArrowChunk(): each chunk carries the result's schema, and that schema stays the same across all chunks, including the final zero-length chunk (fledge: Bump version to 1.3.0.9000 #571).dbGetQueryArrow(): DBItest moved the sentence aboutnanoarrow::as_nanoarrow_array_stream()out of "Failure modes" into a new "Specification" section and added the schema requirements, including for zero-row results (fledge: Bump version to 1.3.0.9000 #571). DBI did not inherit that section yet, so the sentence had dropped out of the docs.R/dbGetQueryArrow.Rnow adds@inheritSection DBItest::spec_arrow_get_query_arrow Specification, in the same order asdbGetQuery(). This is the only Rd change.dbReadTableArrow(): aBIGINTcolumn comes back as Arrowint64(fledge: Bump version to 1.3.0.9000 #571).Most of the large diff in
vignettes/spec.htmlis line rewrapping. Earlier Rd reflows never reached that file, and it is generated output.DESCRIPTION
Suggests now has
DBItest (>= 1.9.0)instead of(>= 1.8.2), because the mirrored text and the inherited sections now come from DBItest 1.9.0. I leftConfig/Needs/check: r-dbi/DBItestunchanged.Checks
devtools::test(): FAIL 0, WARN 0, SKIP 58, PASS 9868.devtools::check(args = "--no-manual"): 0 errors. The 1 warning (qpdf not installed) and the 1 note (the hidden.gitfile of a git worktree) both come from the local environment. The Rd and vignette checks pass.Session: https://claude.ai/code/session_01Hr1rd74amfjQXm8ArmPSth
Generated by Claude Code