Skip to content

Commit

Permalink
Update build_project.R
Browse files Browse the repository at this point in the history
  • Loading branch information
RRemelgado committed Apr 1, 2024
1 parent 364c465 commit 146b75f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/build_project.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ build_project = function(out.path) {
# 0. check input argument
#----------------------------------------------------------------------------------------------------------------------------#

if (!exists(out.path)) out.path = "."
if (!is.character(out.path)) stop('"out.path" is not a string character')
if (length(out.path) > 1) stop('"out.path" has more than 1 element')
if (!dir.exists(out.path)) {
Expand Down

0 comments on commit 146b75f

Please sign in to comment.