neon_db_dir.RdUse neon_db_dir() to view or access the currently active database
directory. By default, this uses the appropriate application directory
for your operating system, see tools::R_user_dir().
This location can be overridden by setting
the environmental variable NEONSTORE_DB.
neon_db_dir()the active neonstore directory.
neon_db_dir()
#> [1] "/home/runner/.local/share/R/neonstore/duckdb"
## Override with an environmental variable:
Sys.setenv(NEONSTORE_DB = tempdir())
neon_db_dir()
#> [1] "/tmp/RtmpvWqYJ0"
## Unset
Sys.unsetenv("NEONSTORE_DB")