Defines functions migrate.template

Documented in migrate.template

#' Migrate a template to a new version of ProjectTemplate
#' This function updates a skeleton project to the current version of
#'   ProjectTemplate.
#' @param template Name of the template to upgrade.
#' @export
migrate.template <- function(template) {
  oldwd <- setwd(.get.template(template))
  on.exit(setwd(oldwd), add = TRUE)


Try the ProjectTemplate package in your browser

Any scripts or data that you put into this service are public.

ProjectTemplate documentation built on July 31, 2021, 5:07 p.m.