R/template.conf.R

Defines functions template.conf

Documented in template.conf

#' create a YAML configuration template
#' 
#' This is a function to create a YAML configuration example which can be used
#' as a template for users.
#' @param outfile the file name of YAML configuration template.
#' @export 
template.conf <- function(outfile="template.yaml") {
    conffile <- paste(path.package('ccanonym'), "/test.yaml", sep="")
    conffile <- yaml.load_file(conffile)
    write(file=outfile, as.yaml(conffile))
}
CC-HIC/ccanonym documentation built on May 6, 2019, 9:23 a.m.