Skip to content

fix: sqliteRemote() loads the default extensions - #841

Merged
krlmlr merged 1 commit into
claude/httpvfs-load-extensionsfrom
claude/httpvfs-remote-extensions
Nov 27, 2026
Merged

krlmlr merged 1 commit into
claude/httpvfs-load-extensionsfrom
claude/httpvfs-remote-extensions

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

sqliteRemote() passed default.extensions = FALSE to dbConnect(), a workaround for the bug that #840 fixes. Its connections now load the default extensions as dbConnect() does, so functions such as stdev() work on remote databases, and callers can pass default.extensions themselves, which used to fail with 'formal argument "default.extensions" matched by multiple actual arguments'. This is a behavior change for sqliteRemote() users.

The Range test now calls stdev() through sqliteRemote(); against the layer below, it fails with "no such function: stdev".

Part of the stack that splits the earlier combined #832 into scoped pull requests, as the maintainer asked there. This code was reviewed as part of #832, in three clean reviews of the combined version; a clean review of the split found nothing in this layer, and what remains is under Accepted limitations.

https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE


Generated by Claude Code

krlmlr commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

The clean review of the split found nothing in this pull request, and none of the limitations that the reviews of the combined version left concern it. None remain.


Generated by Claude Code

`sqliteRemote()` passed `default.extensions = FALSE` to `dbConnect()`,
a workaround for the HTTP VFS refusing to load extensions, which no longer applies.
Its connections now load the default extensions as `dbConnect()` does,
so functions such as `stdev()` work on remote databases,
and callers can pass `default.extensions` themselves.
This changes the behavior of `sqliteRemote()` for its users.
The Range test calls `stdev()` through `sqliteRemote()`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
@krlmlr
krlmlr force-pushed the claude/httpvfs-remote-extensions branch from 98af1cb to 0d7c716 Compare November 13, 2026 15:42
@krlmlr krlmlr mentioned this pull request Nov 27, 2026
16 of 22 tasks
@krlmlr
krlmlr merged commit 50945ba into main Nov 27, 2026
8 checks passed
@krlmlr
krlmlr deleted the claude/httpvfs-remote-extensions branch November 27, 2026 20:33
krlmlr pushed a commit that referenced this pull request Nov 27, 2026
Brings in #832, #839, #840, #841 and the workflow sync #912; adds the HTTP VFS fixes to NEWS,
and declares rmarkdown as a vignette builder, as #915 does on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd6znpbaJUu6TJLjgQC
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.

2 participants