Commit 9c4b612d authored by mahendra-mariadassou's avatar mahendra-mariadassou
Browse files

Update config files

parent 9939a3ca
#' Access files in the current app
#'
#' @param ... Character vector specifying directory and or file to
#' point to inside the current package.
#'
#' @noRd
app_sys <- function(...){
system.file(..., package = "affiliationExplorer")
}
#' Read App Config
#'
#' @param value Value to retrieve from the config file.
#' @param config R_CONFIG_ACTIVE value.
#' @param use_parent Logical, scan the parent directory for config file.
#'
#' @importFrom config get
#'
#' @noRd
get_golem_config <- function(
value,
config = Sys.getenv("R_CONFIG_ACTIVE", "default"),
use_parent = TRUE
){
config::get(
value = value,
config = config,
# Modify this if your config file is somewhere else:
file = app_sys("golem-config.yml"),
use_parent = use_parent
)
}
......@@ -26,6 +26,9 @@ usethis::use_package("Biostrings")
## Github dependencies
usethis::use_dev_package("phyloseq.extended")
## Check dependencies
attachment::att_to_description()
## 2.3 Add tests
usethis::use_test( "app" )
......
default:
golem_name: affiliationExplorer
golem_version: 0.0.0.9000
app_prod: no
production:
app_prod: yes
dev:
golem_wd: !expr here::here()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment