Searches the plausible database locations and returns the path to the first duckdb file that exists.
Value
Character string giving the absolute path to an existing .duckdb file,
or NULL if no database was found.
Details
Checks dbPathCandidates in order, so a database installed to the
current default takes precedence over one left in the location that raw ~
expansion produced on Windows. Intended for downstream code, such as
BioticExplorer, which has to
find a database it did not compile itself.