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