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 23, 2019
1 parent 0cb752d commit 9f051bc
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 9f051bc

Please sign in to comment.