Repository navigation
docs: State the goals and non-goals - #560
Merged
Merged
Conversation
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 13, 2026 14:27
277b395 to
d0da2e0
Compare
krlmlr
force-pushed
the
claude/readme-goals
branch
2 times, most recently
from
September 13, 2026 16:17
4fbc6ce to
dad291d
Compare
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 13, 2026 16:58
dad291d to
2842ed8
Compare
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 13, 2026 18:25
2842ed8 to
8ed7c48
Compare
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 13, 2026 18:37
8ed7c48 to
c604adb
Compare
krlmlr
force-pushed
the
claude/readme-goals
branch
2 times, most recently
from
September 13, 2026 21:42
47d5068 to
0826428
Compare
krlmlr
commented
Sep 14, 2026
One of the items `usethis::use_tidy_upkeep_issue()` prescribes for 2023.
`pak::pak()` resolves system requirements and installs binaries where they exist,
so it does not need a compiler for pure-R dependencies the way `install_github()` does.
The `# install.packages("pak")` comment is kept,
matching what the packages in this fleet that already use pak do.
pak arrives as a dependency of usethis and of devtools, which both list it in `Imports`,
but the block does not ask the reader to have either installed,
so the line is what makes the snippet self-contained.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Two URLs make up the badge and they had drifted apart:
the image is served from the bare `codecov.io` host,
the link opens the UI on `app.codecov.io`.
Both are brought to their current form.
The branch is dropped from the image URL rather than pinned to `main`.
A branch-pinned badge keeps reporting the branch it names,
so it goes stale silently the next time a branch is renamed --
which is how several badges in this fleet came to report a branch that no longer exists.
Without one, codecov reports the default branch and the badge follows a rename on its own.
The link moves to `/tree/main`, the address the `?branch=` query redirects to.
image codecov.io/gh/<owner>/<repo>/graph/badge.svg
link app.codecov.io/gh/<owner>/<repo>/tree/main
The owner and repository are carried over from the URL being rewritten,
so this cannot retarget a badge at a different project.
This package has no `README.Rmd` and no `index.md`:
`README.md` is hand-written source, so the edit lands there and touches nothing else.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Reformatting only, no wording changes: prose in README.md and the roxygen and inline comments under R/ now breaks at sentence and clause boundaries rather than wrapping to a fixed width. The payoff is sentence-level diffs. A reworded sentence touches one line instead of reflowing the paragraph around it, so review sees the change and not the rewrap. man/*.Rd is regenerated because roxygen2 passes source line breaks through to the .Rd. The rendered help is byte-identical -- checked with tools::Rd2txt() over every topic -- as is the rendered README. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Inside a roxygen block the first line of a paragraph, and every tag line, keeps one space after `#'`; every continuation line of that paragraph now has two. The paragraph structure of the source becomes visible without reading ahead, and in packages that do not enable roxygen2 markdown the extra space is what carries a sentence gap across a line break. RMariaDB enables markdown (`Roxygen: list(markdown = TRUE)`), and commonmark strips leading whitespace from a paragraph's continuation lines, so here the indent reaches neither `man/*.Rd` nor the rendered help. Nothing is regenerated: roxygen2 writes no file, and `tools::Rd2txt()` is unchanged for every topic. That also settles what to do with a sentence pair separated by two spaces: it still has to share one line, because under markdown no leading-space, trailing-space or hard-break form survives into the `.Rd`, so breaking there would drop a space from the rendered help. RMariaDB has three such pairs and none of them is over the line length ceiling, so nothing had to be joined here in the first place. The generated `R/cpp11.R` is left untouched. Reformatting only, no wording changes: the words either side of the diff are identical once comment markers and whitespace are collapsed. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
The two-space continuation indent never reached the `.Rd`. RMariaDB sets `Roxygen: list(markdown = TRUE)`, and commonmark strips the leading whitespace of a continuation line before roxygen2 writes the topic, so the indent changed no rendered output -- `man/` was byte-identical with it and without it. The indent was meant to carry the sentence gap, and it never did, so it comes out. This is `git revert` of the indent commit, not a substitution: that pass also normalised pre-existing three-space tag continuations down to two, and the revert puts them back at three. The long joined lines the sembr pass created stay as they are. Undoing those is a separate decision. man/ is left to CI, which regenerates it from these sources. A line break which follows the end of a sentence currently renders as one space rather than two. Restoring that gap needs a patched roxygen2, which is a separate decision and a separate pull request, so it is deliberately not part of this change. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Scope drawn from the README's own opening
("aimed at full compliance with the DBI specification, as a replacement for the old RMySQL package"),
the DESCRIPTION (Imports DBI, bit64, blob, hms, lubridate;
SystemRequirements names the client libraries the package builds against),
the roxygen of dbConnect() (the `mysql` argument:
"supports both MariaDB and MySQL servers, but the SQL dialect and other details vary";
the secure-password section pointing at keyring),
and tests/testthat/test-DBItest.R, which runs DBItest::test_all().
The RMySQL non-goal rests on the NEWS entry for RMariaDB 0.11-1 (2016-03-24),
which records the removal of dbApply(), dbMoreResults() and dbNextResults()
as experiments that had run their course.
None of the three is a DBI generic, so the bullet names only those.
That same entry also removed dbListFields() and dbGetInfo(),
but both are DBI generics and both are back:
NEWS for 1.0.8 (2019-12-17) reads "Implement `dbGetInfo()` according to the specification",
R/dbGetInfo_MariaDBConnection.R and R/dbGetInfo_MariaDBDriver.R hold the methods,
and NAMESPACE exports both through exportMethods().
Naming them as dropped RMySQL extensions would be wrong twice over,
so they are left out.
The DBI specification is linked on its pkgdown site, which serves the article as spec.html;
the intro paragraph two paragraphs above is pointed at the same address.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 14, 2026 05:25
0826428 to
edb2fbd
Compare
Scope drawn from the README's own opening
("aimed at full compliance with the DBI specification, as a replacement for the old RMySQL package"),
the DESCRIPTION (Imports DBI, bit64, blob, hms, lubridate;
SystemRequirements names the client libraries the package builds against),
the roxygen of dbConnect() (the `mysql` argument:
"supports both MariaDB and MySQL servers, but the SQL dialect and other details vary";
the secure-password section pointing at keyring),
and tests/testthat/test-DBItest.R, which runs DBItest::test_all().
The RMySQL non-goal rests on the NEWS entry for RMariaDB 0.11-1 (2016-03-24),
which records the removal of dbApply(), dbMoreResults() and dbNextResults()
as experiments that had run their course.
None of the three is a DBI generic, so the bullet names only those.
That same entry also removed dbListFields() and dbGetInfo(),
but both are DBI generics and both are back:
NEWS for 1.0.8 (2019-12-17) reads "Implement `dbGetInfo()` according to the specification",
R/dbGetInfo_MariaDBConnection.R and R/dbGetInfo_MariaDBDriver.R hold the methods,
and NAMESPACE exports both through exportMethods().
Naming them as dropped RMySQL extensions would be wrong twice over,
so they are left out.
The DBI specification is linked on its pkgdown site, which serves the article as spec.html;
the intro paragraph two paragraphs above is pointed at the same address.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
krlmlr
force-pushed
the
claude/readme-goals
branch
from
September 14, 2026 14:38
edb2fbd to
93faea8
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
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.
Evidence:
Imports; this package exports methods, not generics.NAMESPACEand no dbplyr dependency.NEWS.mdunderRMariaDB 0.11-1 (2016-03-24), verbatim: "dbApply(),dbMoreResults()anddbNextResults()have been removed. These were always flagged as experimental, and now the experiment is over." None of the three is a DBI generic, so the bullet names exactly those.SystemRequirementsnames libmariadb-dev / libmysqlclient-dev.dbConnect()'s roxygen recommends keyring; the README documents~/.my.cnf.The DBI-conformance goal is checked rather than asserted:
tests/testthat/test-DBItest.RrunsDBItest::test_all().Corrected since the first revision: the bullet also listed
dbListFields()anddbGetInfo()as RMySQL extensions that "gave way to their DBI equivalents", and attributed the removals to a 1.0.0 NEWS section. Both halves were wrong.dbListFields()anddbGetInfo()are DBI generics, and RMariaDB exports both today viaexportMethods(), withR/dbGetInfo_MariaDBConnection.RandR/dbGetInfo_MariaDBDriver.Rsupplying thedbGetInfo()methods and NEWS for 1.0.8 recording "ImplementdbGetInfo()according to the specification". There is no 1.0.0 section inNEWS.mdat all — the removals are under 0.11-1. The bullet is now cut back to the three that really were dropped and never came back.Connection pooling was considered and dropped — the package does not do it, but nothing in the repository says it is out of scope, and "happens not to do" is not a non-goal.
The DBI specification link uses
https://dbi.r-dbi.org/articles/spec.html; pkgdown on GitHub Pages does not append.html. The intro paragraph two paragraphs above pointed at the CRAN vignette copy and is brought to the same address, so the two links agree.This package has no
README.Rmd, soREADME.mdis the source and was edited directly; nothing is rendered.RMySQL is described as the package RMariaDB succeeds, in the intro and in the goals, without calling it "old" (review comment on README.md line 13).
Based on
main; #559 and the PRs below it are merged. Bottom of the stack #560 → #562 → #561.🤖 Generated with Claude Code
https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
Continued in https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
Generated by Claude Code