Creates the base folder where castarter
stores the project database.
Source: R/cas_database.R
cas_create_db_folder.Rd
Creates the base folder where castarter
stores the project database.
See also
Other database functions:
cas_check_db_folder()
,
cas_check_use_db()
,
cas_connect_to_db()
,
cas_disable_db()
,
cas_disconnect_from_db()
,
cas_enable_db()
,
cas_get_db_settings()
,
cas_read_from_db()
,
cas_set_db()
,
cas_set_db_folder()
,
cas_write_to_db()
Examples
cas_create_db_folder(path = fs::path(fs::path_temp(), "cas_data"))
#> ℹ The database folder '/tmp/Rtmp1QODEK/cas_db_folder/' does not exist. If you prefer to store database files elsewhere, reply negatively and set your preferred database folder with `cas_set_db_folder()`
#> Error: User input required, but session is not interactive.
#> Query: Do you want to create '/tmp/Rtmp1QODEK/cas_db_folder/' for storing data in a local database?