arkdb_delete_db: delete the local arkdb database

Description Usage Arguments Details Examples

View source: R/local_db.R

Description

delete the local arkdb database

Usage

1
arkdb_delete_db(db_dir = arkdb_dir(), ask = interactive())

Arguments

db_dir

neon database location

ask

Ask for confirmation first?

Details

Just a helper function that deletes the database files. Usually unnecessary but can be helpful in resetting a corrupt database.

Examples

1
2
3
4
5
6
# Create a db
dir <- tempfile()
db <- local_db(dir)

# Delete it
arkdb_delete_db(dir, ask = FALSE)

arkdb documentation built on April 5, 2021, 5:07 p.m.