if (FALSE) {
con <- DBI::dbConnect(duckdb::duckdb(dbdir = tempfile()))
# Print CLI report
validate_extension_load_status(con, extension_names = c("excel", "arrow"), return_type = "msg")
# Return a list of loaded, failed, and missing extensions
validate_extension_load_status(con, extension_names = c("excel", "arrow"), return_type = "ext")
# Return logical indicating if all requested extensions are loaded
validate_extension_load_status(con, extension_names = c("excel", "arrow"), return_type = "arg")
}
Run the code above in your browser using DataLab