create_config: Create a configuration file

View source: R/create_config.R

create_configR Documentation

Create a configuration file

Description

Create a configuration file

Usage

create_config(..., path = fs::file_temp("config-", ext = ".yml"))

Arguments

...

String(s) to pass to the ... argument of glue::glue().

path

String giving the path where to save the configuration file.

Value

Invisible path.

See Also

FINANCIAL.TIMESTAMP

Other functions to deal with configuration files: default_config(), edit_config(), show_config()

Examples

out <- create_config("
  default:
    field: value
")
out

show_config(out)

2DegreesInvesting/r2dii.utils documentation built on March 31, 2022, 11:20 p.m.