R/read_template.R

Defines functions read_template

# read_template ------------------------------------------------------

#' @keywords internal
#' @noRd
read_template <- function(name)
{
  template <- system.file(sprintf("templates/%s", name), package = "kwb.pkgbuild")

  readLines(template)
}
KWB-R/kwb.pkgbuild documentation built on Oct. 25, 2022, 2:17 a.m.