Skip to contents

Create a file to store your database configurations in.

Usage

easydb_init(config_file)

Arguments

config_file

path to create a new config file to store database configurations

Value

invisibly returns path to config file

Examples


# Choose config file path
# Do NOT use tempfile in practice.
# Choose a fixed location such as '~/.easydb'
config <- tempfile('.example_config')

# Initialise Configuration File
easydb_init(config)
#> Creating config file at:
#>/tmp/RtmpdSEDIY/.example_config18af1fd832d2
#> ────────────────────────────────────────────────────────────────────────────────
#>  Config file created at /tmp/RtmpdSEDIY/.example_config18af1fd832d2