Skip to content

Commit

Permalink
export project creation file and rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Mar 20, 2018
1 parent aef573d commit c63fe5e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export(getDependency)
export(onRender)
export(onStaticRenderComplete)
export(prependContent)
export(projectTemplate)
export(saveWidget)
export(scaffoldWidget)
export(setWidgetIdSeed)
Expand Down
6 changes: 6 additions & 0 deletions R/project.R
Original file line number Diff line number Diff line change
@@ -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))

Expand Down
16 changes: 16 additions & 0 deletions man/projectTemplate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c63fe5e

Please sign in to comment.