Skip to content

Commit

Permalink
docs fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Nov 8, 2018
1 parent 51839b9 commit 71a6105
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/createPackageProject.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
#' commands executed to save you hassle
#'
#' @param name Project / package name
#' @param title "What the Project Does (One Line, Title Case)"
#' If NULL, a random one will be generated.
#' @param folder Folder under which to create the project
#' @param git Configure Git
#' @param bestPractices Run additional best practice commands
#' @param coverage What code coverage platform to use, "codecov" or "coveralls".
#' @param external_setup How to do the partly interactive setup
Expand Down Expand Up @@ -87,7 +90,9 @@ createPackageProject <- function(name, title = NULL,
usethis::use_readme_rmd(open = FALSE)
usethis::use_testthat()
usethis::use_vignette(name)
usethis::use_git(message = cool_first_commit())
if(git){
usethis::use_git(message = cool_first_commit())
}

if (!is.null(external_setup)){
setup_repo(
Expand Down
5 changes: 5 additions & 0 deletions man/createPackageProject.Rd

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

0 comments on commit 71a6105

Please sign in to comment.