R/tsvDir.R

#' List TSV files in a directory.
#'
#' @param dir String of directory.
#' @return List of *.tsv files in the directory.
#' @export
tsvDir <- function (dir) {
  list <-
    list.files(
      path = dir,
      recursive = TRUE,
      full.names = TRUE,
      pattern = "*.tsv"
    )
}
jonathan-mcmillan/csci3500 documentation built on Jan. 31, 2020, 12:25 a.m.