The default build compiles a release version from an amalgamation.
Optional extensions can be enabled by passing them (comma-separated, if there is more than one) to the environment variable DUCKDB_R_EXTENSIONS
:
For development, setting the DUCKDB_R_DEBUG
environment variable enables incremental debugging builds for the R package.
This also works for devtools:
Add the following to your .Renviron
to make this the default:
DUCKDB_R_DEBUG=1
If you do this, remember to use --vanilla
for building release builds.