We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e876a6 commit 6b5b75aCopy full SHA for 6b5b75a
inst/shinyexample/R/app_config.R
@@ -32,8 +32,11 @@ get_golem_config <- function(
32
)
33
),
34
use_parent = TRUE,
35
- # Modify this if your config file is somewhere else
36
- file = app_sys("golem-config.yml")
+ # If you don't want to use the default config file:
+ # - replace the function call and write a hard coded path to your config file
37
+ # - set a `GOLEM_CONFIG_PATH` environment variable that points to the file
38
+ # (which will be picked up by golem::guess_where_config() internally)
39
+ file = golem::get_current_config()
40
) {
41
config::get(
42
value = value,
0 commit comments