R/utils.R

Defines functions read_config

Documented in read_config

#' @title Read a model configuration file
#' @param path A character vector representing the path to a YAML file with model configuration details
#' @return An parsed YAML object
read_config <- function(path="models.yml") {
  return(yaml::yaml.load_file(path))
}
team-sparkfish/castpack documentation built on Aug. 26, 2020, 7:34 a.m.