Skip to content

Commit

Permalink
Update R/distances.R
Browse files Browse the repository at this point in the history
Format changes

Co-authored-by: Hugo Flávio <[email protected]>
  • Loading branch information
dsmith-unbc and hugomflavio authored Dec 6, 2024
1 parent 86ac9d5 commit 2db30e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/distances.R
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,11 @@ distancesMatrix <- function(t.layer, starters = NULL, targets = NULL,
break
}

if(!dir.exists(target_dir)) {
if (!dir.exists(target_dir)) {
dir_decision <- userInput(paste0("Directory specified not found.",
" Do you want to continue?(y/n)"),
choices = c("y", "n"))
if(dir_decision == "n") {
choices = c("y", "n"))
if (dir_decision == "n") {
dir_decision <- "y"
break
}
Expand Down

0 comments on commit 2db30e9

Please sign in to comment.