Skip to content

Commit

Permalink
Update R/distances.R
Browse files Browse the repository at this point in the history
code compression

Co-authored-by: Hugo Flávio <[email protected]>
  • Loading branch information
dsmith-unbc and hugomflavio authored Dec 6, 2024
1 parent e3fdca4 commit 1c63547
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions R/distances.R
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,10 @@ distancesMatrix <- function(t.layer, starters = NULL, targets = NULL,
" distances matrix as 'distances.csv'?(y/n)"),
choices = c("y", "n"))
if (decision == "y") {
dir_decision <- userInput(paste0("Would you like 'distances.csv' saved in",
" the current working directory?(y/n)"),
choices = c("y", "n"))
dir_decision <- userInput(paste0("Would you like 'distances.csv'",
" saved in the current working",
" directory?(y/n)"),
choices = c("y", "n"))
if (dir_decision == "n") {

target_dir <- ""
Expand Down

0 comments on commit 1c63547

Please sign in to comment.