arkdb_delete_db {arkdb} | R Documentation |
delete the local arkdb database
arkdb_delete_db(db_dir = arkdb_dir(), ask = interactive())
db_dir |
neon database location |
ask |
Ask for confirmation first? |
Just a helper function that deletes the database files. Usually unnecessary but can be helpful in resetting a corrupt database.
# Create a db
dir <- tempfile()
db <- local_db(dir)
# Delete it
arkdb_delete_db(dir, ask = FALSE)