diff --git a/R/app_config.R b/R/app_config.R index 948a99a..c0d9820 100644 --- a/R/app_config.R +++ b/R/app_config.R @@ -23,18 +23,17 @@ app_sys <- function(...) { #' #' @noRd get_golem_config <- function( - value, - config = Sys.getenv( - "GOLEM_CONFIG_ACTIVE", - Sys.getenv( - "R_CONFIG_ACTIVE", - "default" - ) - ), - use_parent = TRUE, - # Modify this if your config file is somewhere else - file = app_sys("golem-config.yml") -) { + value, + config = Sys.getenv( + "GOLEM_CONFIG_ACTIVE", + Sys.getenv( + "R_CONFIG_ACTIVE", + "default" + ) + ), + use_parent = TRUE, + # Modify this if your config file is somewhere else + file = app_sys("golem-config.yml")) { config::get( value = value, config = config, diff --git a/R/mod_assumptions.R b/R/mod_assumptions.R index 2d117d0..576678e 100644 --- a/R/mod_assumptions.R +++ b/R/mod_assumptions.R @@ -4,10 +4,10 @@ #' #' @param id,input,output,session Internal parameters for {shiny}. #' -#' @noRd +#' @noRd #' -#' @importFrom shiny NS tagList -mod_assumptions_ui <- function(id){ +#' @importFrom shiny NS tagList +mod_assumptions_ui <- function(id) { ns <- NS(id) tagList( HTML("

The code for this project is open-source, and is on GitHub.

"), @@ -16,7 +16,7 @@ mod_assumptions_ui <- function(id){ width = 12, p("This model is in development. It is not yet ready to be used for planning. Some of the issues to be resolved are detailed below."), HTML( - "