Repository navigation
test: Declare DBItest 1.8.3.6 in the DBItest context - #854
Conversation
DBItest gates six specs for requested Arrow schemas at 1.8.3.1 to 1.8.3.6. Declare the highest of these, so that the specs run with the development DBItest and a spec gated later stays off until RSQLite has been checked against it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
The previous commit picked up a rebuilt dependency list with absolute paths by mistake. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
|
Review of this pull request at 197ca59, by a Claude Code reviewer with clean context that read the description, both commits and their net diff against What was run
No What holds
HighNone. MediumNone. Low
Generated by Claude Code |
Superseded: Accepted limitationsThe clean review found nothing above Low. Its corrections to the description (the CRAN figures depend on whether RSQLite is installed, and
Generated by Claude Code |
|
re "rcc-dev: DBItest": The logs show Should these files be printed or made available as artifacts? |
|
Re the Why the job passes with FAIL 3. Where the files are. Since testthat 3.3.0, the check reporter writes one reproducer script per failed expectation to Recommendation. Merge #832 to remove the trigger here. Then, in cynkratemplate's Generated by Claude Code |
Accepted limitationsThe clean review found nothing above Low. Its corrections to the description (the CRAN figures depend on whether RSQLite is installed, and
Generated by Claude Code |
DBItest gates its newest specs behind the
dbitest_versiontweak, with a counter of its own (1.8.0.1 to 1.8.0.50, then 1.8.3.1 to 1.8.3.6). r-dbi/DBItest#571 gated six specs for requested Arrow schemas at 1.8.3.1 to 1.8.3.6:arrow_fetch_arrow_schema,arrow_get_query_arrow_schema,arrow_get_query_arrow_schema_zero_rows,arrow_fetch_arrow_chunk_schema,arrow_read_table_arrow_64_bitandarrow_send_query_schema_stable. This PR declaresdbitest_version = "1.8.3.6"intests/testthat/helper-DBItest.R, the highest gate RSQLite has been run against, so that the six specs run and a spec DBItest gates later stays off until RSQLite has been checked against it. It is themaincounterpart of the declaration in #831, which sits on the old Arrow stack and also changes a second, Arrow-specific context thatmaindoes not have; only the default-context line is brought over.The six specs need a DBItest newer than the CRAN release 1.8.3, which gates nothing above 1.8.0.50, so with the released version nothing changes. They are in the development version, 1.8.3.9013 on r-universe (
https://r-dbi.r-universe.dev) and GitHubr-dbi/DBItest. The declared value is deliberately 1.8.3.6 and not the development version number, because the gates are compared withas.package_version()and a declaration of 1.8.3.9013 would also switch on every spec gated at 1.8.3.7 or later before RSQLite has run it.DESCRIPTIONkeepsDBItest (>= 1.8.0): declaring a version above the installed one is harmless. NoRemotes:orConfig/Needsentry is needed, because the development DBItest is only installed by thercc devjob (nightly onmain), which installs it from r-universe itself, andR-CMD-checkkeeps installing CRAN's.Tested by running
tests/testthat/test-DBItest.R(the default context) afterpkgload::load_all(), with DBItest 1.8.3 from CRAN and with 1.8.3.9013 installed from r-universe into a separate library, onmainand on this branch:reexportspec then runs).main, 664 tests and 9684 expectations, 64 skipped, no failures, and the six specs skipped.arrow_send_query_schema_stable(61 expectations),arrow_fetch_arrow_chunk_schema(18),arrow_fetch_arrow_schema,arrow_get_query_arrow_schemaandarrow_get_query_arrow_schema_zero_rows(9 each) andarrow_read_table_arrow_64_bit(3). DBI's default Arrow methods are enough for them, as test: Declare DBItest 1.8.3.6 in the DBItest contexts #831 reported.The specs do not run in this PR's checks, since
R-CMD-checkinstalls DBItest from CRAN. They run in thercc devjob (nightly onmain, and oncran-*pushes,v*tags and manual dispatch) and in DBItest's ownbackendsjob, which clones RSQLite's default branch. The copies of this helper in DBItest and DBI still declare 1.8.1 until they are regenerated.The plan to rework the Arrow stack splits this out as a separate pull request from
main, since nothing else depends on it.Reviewed in a clean review, which found nothing above Low; see the accepted limitations. Squash-merge, so that the first commit, which carries a regenerated
src/cpp11.dd, does not reachmain.Generated by Claude Code