Skip to content

Commit

Permalink
add temporary fix for tidyverse/vroom#519
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Oct 20, 2023
1 parent 96a4b6a commit ba55e83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/TENxPeaks-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ TENxPeaks <- function(resource, extension, ...) {
#' @export
setMethod("import", "TENxPeaks", function(con, format, ...) {
.checkPkgsAvail("readr")
readr::local_edition(1)
panno <- readr::read_tsv(
file = path(con), col_types = c("c", "n", "n", "c", "n", "c")
)
Expand Down
1 change: 1 addition & 0 deletions R/TENxTSV-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#' @export
setMethod("import", "TENxTSV", function(con, format, text, ...) {
resource <- path(con)
readr::local_edition(1)
df <- readr::read_tsv(
resource, col_names = FALSE, show_col_types = FALSE, progress = FALSE,
...
Expand Down

0 comments on commit ba55e83

Please sign in to comment.