Retrieves the row from DuckDB's duckdb_extensions() catalog for a given
extension (the spatial extension by default) and prints a transposed
glimpse of it: whether it is installed and loaded, its
version, install path, description, and so on.
Arguments
- conn
A connection object to a DuckDB database. Required when an input is a table name. If
NULL(the default), the connection of aduckspatial_dfinput is used when there is one; otherwise the default connection fromddbs_default_conn()is used.- extension
name of the extension to inspect, default is "spatial"
Value
A one-row tibble with the extension's metadata (invisibly).
Called mainly for the glimpse printed as a side effect.
Examples
if (FALSE) { # \dontrun{
## load package
library(duckspatial)
# inspect the spatial extension on the default connection
ddbs_extension_info()
# or pass an explicit connection
conn <- ddbs_create_conn()
ddbs_extension_info(conn)
ddbs_stop_conn(conn)
} # }
