Skip to content

Commit

Permalink
fix #59
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Nov 7, 2018
1 parent a071f94 commit 9da7052
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/createBasicProject.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ createBasicProject <- function(name, folder = getwd(),
packagedeps <- match.arg(packagedeps, okpackagedeps())

tryCatch({
if (is_available(name)) {
dir.create(file.path(folder, name))


Expand All @@ -51,7 +50,7 @@ createBasicProject <- function(name, folder = getwd(),

if (git) usethis::use_git()
if (readme) usethis::use_readme_rmd(open = FALSE)
}

}
,
error = function(e) {
Expand Down

0 comments on commit 9da7052

Please sign in to comment.