Skip to contents

Consider using a folder out of your current project directory, e.g. cas_set_db_folder("~/R/cas_data/"): you will be able to use the same database in different projects, and prevent database files from being sync-ed if you use services such as Nextcloud or Dropbox.

Usage

cas_set_db_folder(path = NULL, ...)

cas_get_db_folder(path = NULL, ...)

Arguments

path

A path to a location used for storing the database. If the folder does not exist, it will be created.

Value

The path to the database folder, if previously set; the same path as given to the function; or the default, cas_data is none is given.

Examples

cas_set_db_folder(fs::path(fs::path_home_r(), "R", "cas_data"))

cas_set_db_folder(fs::path(fs::path_temp(), "cas_data"))
cas_get_db_folder()