Function to create a config.yml file

initConfig(
  block = "BlockName",
  database = "DatabaseName",
  withKeyring = FALSE,
  projectPath = here::here(),
  open = TRUE
)

Arguments

block

the name of the config block, defaults to BlockName

database

the name of the database for the block, default to DatabaseName

withKeyring

should the config file use keyring, default FALSE

projectPath

the path to the project

open

toggle on whether the file should be opened