How to use an encrypted DuckDB in R

Since November 2025, DuckDB databases have built-in encryption. This is great news for IT-security in data journalism: Even if somebody has access to a database file, they cannot read it in plaintext without a key. While in the past access to DuckDB storage would have been enough to leak data, we can now relax paranoia [ ]