Skip to content

Commit

Permalink
Merge pull request #316 from ycl6/Improve_export_path_construction
Browse files Browse the repository at this point in the history
Use file.path() to build export file path
  • Loading branch information
ncborcherding authored Feb 14, 2024
2 parents 07492e9 + 8f31a43 commit 3f25230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/exportClones.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ exportClones <- function(input.data,
}

if(is.null(dir)) {
dir <- "./"
dir <- "."
}
filepath <- paste0(dir, file.name)
filepath <- file.path(dir, file.name)
write.csv(mat, file = filepath)
}

Expand Down

0 comments on commit 3f25230

Please sign in to comment.