Repository navigation
docs: Say which classes are virtual instead of all of them - #798
Merged
Merged
Conversation
The package help, the DESCRIPTION, the README and the specification said that all classes in DBI are virtual. `Id`, `SQL`, `DBIConnector`, `AnsiConnection` and `DBIResultArrowDefault` are concrete, so the sentence now names the driver, connection and result classes, and the README refers to the classes it just listed. Closes #782. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3s7NRVkLyg3an422b
`DBIResultArrowDefault` is an exported result class that is concrete, so the package help and the DESCRIPTION now say that the base classes for drivers, connections and results are virtual. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3s7NRVkLyg3an422b
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.
The docs said that all classes in DBI are virtual.
isVirtualClass()confirms that onlyDBIObject,DBIDriver,DBIConnection,DBIResultandDBIResultArroware, whileId,SQL,DBIConnector,AnsiConnectionandDBIResultArrowDefaultare concrete.R/DBI-package.RandDESCRIPTIONnow say "The base classes for drivers, connections and results in this package are virtual and need to be extended by the various R/DBMS implementations". This excludes the exported concreteDBIResultArrowDefault.man/DBI-package.Rdis regenerated withdevtools::document().README.Rmdnow says "These classes are virtual", which refers to the four classes listed just above it. I editedREADME.mdandindex.mdby hand to match because cynkratemplate was not available to render them in this session. The rendered change is that one word, but rendering the README once more will confirm it.vignettes/spec.mdandvignettes/spec.htmldo not come from DBItest for this paragraph.tests/testthat/helper-dev.Rrebuilds them fromman/DBI-package.Rdwhen tests run locally, so the new wording got into the specification through that regeneration and nothing needs to change in DBItest. The diff there is limited to this one paragraph.devtools::test()passes locally: 0 failures, 9882 passes and 60 skips.Closes #782.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hr1rd3s7NRVkLyg3an422b