-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from USEPA/fix-epa-style
add css file
- Loading branch information
Showing
29 changed files
with
1,309 additions
and
1,227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,40 @@ | ||
#' | ||
#' NOTE: If you manually change your package name in the DESCRIPTION, | ||
#' don't forget to change it here too, and in the config file. | ||
#' | ||
#' NOTE: If you manually change your package name in the DESCRIPTION, | ||
#' don't forget to change it here too, and in the config file. | ||
#' For a safer name change mechanism, use the `golem::set_golem_name()` function. | ||
#' | ||
#' @param ... character vectors, specifying subdirectory and file(s) | ||
#' within your package. The default, none, returns the root of the app. | ||
#' | ||
#' | ||
#' @param ... character vectors, specifying subdirectory and file(s) | ||
#' within your package. The default, none, returns the root of the app. | ||
#' | ||
#' @noRd | ||
app_sys <- function(...){ | ||
app_sys <- function(...) { | ||
system.file(..., package = "TADAShiny") | ||
} | ||
|
||
|
||
#' Read App Config | ||
#' | ||
#' @param value Value to retrieve from the config file. | ||
#' @param config GOLEM_CONFIG_ACTIVE value. If unset, R_CONFIG_ACTIVE. | ||
#' | ||
#' @param value Value to retrieve from the config file. | ||
#' @param config GOLEM_CONFIG_ACTIVE value. If unset, R_CONFIG_ACTIVE. | ||
#' If unset, "default". | ||
#' @param use_parent Logical, scan the parent directory for config file. | ||
#' | ||
#' | ||
#' @noRd | ||
get_golem_config <- function( | ||
value, | ||
value, | ||
config = Sys.getenv( | ||
"GOLEM_CONFIG_ACTIVE", | ||
Sys.getenv( | ||
"R_CONFIG_ACTIVE", | ||
"default" | ||
) | ||
), | ||
use_parent = TRUE | ||
){ | ||
), | ||
use_parent = TRUE) { | ||
config::get( | ||
value = value, | ||
config = config, | ||
value = value, | ||
config = config, | ||
# Modify this if your config file is somewhere else: | ||
file = app_sys("golem-config.yml"), | ||
file = app_sys("golem-config.yml"), | ||
use_parent = use_parent | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#' helpers | ||
#' helpers | ||
#' | ||
#' @description A fct function | ||
#' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.