diff --git a/NAMESPACE b/NAMESPACE index c37ce80f..4109486d 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -10,6 +10,7 @@ export(getDependency) export(onRender) export(onStaticRenderComplete) export(prependContent) +export(projectTemplate) export(saveWidget) export(scaffoldWidget) export(setWidgetIdSeed) diff --git a/R/project.R b/R/project.R index 6a6d39b3..f362d916 100644 --- a/R/project.R +++ b/R/project.R @@ -1,3 +1,9 @@ +#' Creates an RStudio Project Template +#' +#' @param path Destination path where this project will be created. +#' @param ... Additional parameters, currently not used. +#' +#' @export projectTemplate <- function(path, ...) { project_name <- tolower(basename(path)) diff --git a/man/projectTemplate.Rd b/man/projectTemplate.Rd new file mode 100644 index 00000000..a9a92bca --- /dev/null +++ b/man/projectTemplate.Rd @@ -0,0 +1,16 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/project.R +\name{projectTemplate} +\alias{projectTemplate} +\title{Creates an RStudio Project Template} +\usage{ +projectTemplate(path, ...) +} +\arguments{ +\item{path}{Destination path where this project will be created.} + +\item{...}{Additional parameters, currently not used.} +} +\description{ +Creates an RStudio Project Template +}