Running examples in ‘rcdf-Ex.R’ failed
The error most likely occurred in:

> ### Name: write_rcdf_csv
> ### Title: Write RCDF data to CSV files
> ### Aliases: write_rcdf_csv
> 
> ### ** Examples
> 
> dir <- system.file("extdata", package = "rcdf")
> rcdf_path <- file.path(dir, 'mtcars.rcdf')
> private_key <- file.path(dir, 'sample-private-key-pw.pem')
> 
> rcdf_data <- read_rcdf(path = rcdf_path, decryption_key = private_key, password = '1234')
duckdb is storing downloaded extensions and secrets under ~/.duckdb:
ℹ /data/localhost/ripley/.duckdb
This persists across sessions and is shared with the DuckDB CLI and other clients.
ℹ Run duckdb(shared_home = FALSE) to use a temporary directory instead.
ℹ See ?duckdb_storage for details and alternatives.
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.

 *** caught segfault ***
address 0xd03000105, cause 'memory not mapped'

Traceback:
 1: rapi_prepare(conn, query, env)
 2: withCallingHandlers(expr, condition = function(cnd) {    {        .__handler_frame__. <- TRUE        .__setup_frame__. <- frame        if (inherits(cnd, "message")) {            except <- c("warning", "error")        }        else if (inherits(cnd, "warning")) {            except <- "error"        }        else {            except <- ""        }    }    while (!is_null(cnd)) {        if (inherits(cnd, "error")) {            out <- handlers[[1L]](cnd)            if (!inherits(out, "rlang_zap"))                 throw(out)        }        inherit <- .subset2(.subset2(cnd, "rlang"), "inherit")        if (is_false(inherit)) {            return()        }        cnd <- .subset2(cnd, "parent")    }})
 3: doTryCatch(return(expr), name, parentenv, handler)
 4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 5: tryCatchList(expr, classes, parentenv, handlers)
 6: tryCatch(withCallingHandlers(expr, condition = function(cnd) {    {        .__handler_frame__. <- TRUE        .__setup_frame__. <- frame        if (inherits(cnd, "message")) {            except <- c("warning", "error")        }        else if (inherits(cnd, "warning")) {            except <- "error"        }        else {            except <- ""        }    }    while (!is_null(cnd)) {        if (inherits(cnd, "error")) {            out <- handlers[[1L]](cnd)            if (!inherits(out, "rlang_zap"))                 throw(out)        }        inherit <- .subset2(.subset2(cnd, "rlang"), "inherit")        if (is_false(inherit)) {            return()        }        cnd <- .subset2(cnd, "parent")    }}), stackOverflowError = handlers[[1L]])
 7: rlang::try_fetch(rapi_prepare(conn, query, env), error = function(e) {    rethrow_error_from_rapi(e, call)})
 8: rethrow_rapi_prepare(conn@conn_ref, statement, env)
 9: .local(conn, statement, ...)
10: dbSendQuery(conn, statement, ...)
11: dbSendQuery(conn, statement, ...)
12: dbSendStatement(conn, statement, ...)
13: dbSendStatement(conn, statement, ...)
14: DBI::dbExecute(conn, sprintf("CREATE TABLE %s AS\n         SELECT * FROM read_parquet(%s,\n         encryption_config = { footer_key: %s });",     sql_ident(conn, record), sql_literal(conn, pq_file), sql_literal(conn,         secret$key)))
15: DBI::dbExecute(conn, sprintf("CREATE TABLE %s AS\n         SELECT * FROM read_parquet(%s,\n         encryption_config = { footer_key: %s });",     sql_ident(conn, record), sql_literal(conn, pq_file), sql_literal(conn,         secret$key)))
16: process_parquet_file(conn, pq_file, secret, pk, registered_keys)
17: process_rcdf_file(conn = conn, rcdf_file = rcdf_files[i], key = creds$keys[i],     password = creds$passwords[i], metadata = metadata, ignore_duplicates = ignore_duplicates)
18: read_rcdf(path = rcdf_path, decryption_key = private_key, password = "1234")
An irrecoverable exception occurred. R is aborting now ...