R/update_template.R

Defines functions update_template

update_template <- function(template_new_file, tag, value) {
    text <- readLines(template_new_file)
    text[text == tag] <- value
    writeLines(text, con = template_new_file)
}
ComunidadBioInfo/easyweb documentation built on Oct. 30, 2019, 5:44 a.m.