Skip to content

docs: clarify remote SQLite connection entry points - #759

Open
LeonidasZhak wants to merge 3 commits into
r-dbi:mainfrom
LeonidasZhak:codex-remote-sqlite-entrypoints
Open

LeonidasZhak wants to merge 3 commits into
r-dbi:mainfrom
LeonidasZhak:codex-remote-sqlite-entrypoints

Conversation

@LeonidasZhak

@LeonidasZhak LeonidasZhak commented Jun 22, 2026 •

Copy link
Copy Markdown

Summary

Document both supported entry points for remote read-only SQLite databases using the optional HTTP VFS.

Thanks to maintainers

Thanks for adding the HTTP VFS in #680 and for maintaining RSQLite.

Issue or motivation

Addresses #505. Remote access is available, but the package documentation did not show users how to open a remote database.

Root cause

The dbConnect() documentation covered local and in-memory files, and the README listed the HTTP VFS helpers without showing a connection example.

Change

  • Document the optional HTTP VFS under dbname, including the required read-only flag for an explicit SQLite URI.
  • Add examples for sqliteRemote() and the explicit file:https://... URI form.
  • Regenerate man/SQLite.Rd, README.md, and index.md from their source files.

Tests

  • tools::checkRd("man/SQLite.Rd"): passed.
  • Rendered README.Rmd; the generated README.md matches the render output and index.md was regenerated.
  • NOT_CRAN=false devtools::test(reporter = "summary"): passed; 19 tests were skipped for CRAN or platform conditions.
  • R CMD check --no-manual --as-cran --no-multiarch with force-suggests and remote incoming checks disabled: 0 errors, 0 warnings, 1 NOTE for the development version number.
  • Ran the repository's clang-format 21.1.8 source-file command: no changes.
  • git diff --check: passed.
  • With NOT_CRAN=true, three local HTTP VFS integration tests fail to open the test database; those tests are marked skip_on_cran() and were skipped in the passing as-cran check.

Scope

This change documents the existing read-only HTTP VFS. It does not change VFS behavior or add a new API.

@LeonidasZhak
LeonidasZhak force-pushed the codex-remote-sqlite-entrypoints branch from 61dc435 to 041556b Compare July 16, 2026 15:12
@LeonidasZhak
LeonidasZhak force-pushed the codex-remote-sqlite-entrypoints branch from 041556b to d8ad69e Compare September 25, 2026 15:03
@LeonidasZhak

Copy link
Copy Markdown
Author

I checked the failed format-suggest run on the current head. It stops before formatting: GitHub Actions cannot find the local action at ci-base/.github/workflows/style (action.yml/action.yaml/Dockerfile missing). This looks like the upstream workflow checkout/path setup rather than a formatting diagnostic in this docs change. Could a maintainer check the action path or advise whether the job should be rerun?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant