#' Delete collardb
#'
#' @param dirpath character
#' @param force boolean
#'
#' @return null
#' @export
#'
#' @examples
#' \donttest{
#' delete_collardb(force = T)
#' }
collardb_delete <- function (dirpath = '~/.collardb', force = FALSE) {
if (force) {
fs::dir_delete(dirpath)
} else {
warning('you must explicitly force deletion for safety')
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.