Skip to content

Commit

Permalink
(Hopefully temporary) workaround for tidyverse/vroom#519
Browse files Browse the repository at this point in the history
  • Loading branch information
ginberg committed Nov 17, 2023
1 parent 4c3068b commit 23833e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/Table1.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#' @export
getDefaultTable1Specifications <- function() {
fileName <- system.file("csv", "Table1Specs.csv", package = "FeatureExtraction")
# Workaround for issue https://github.com/tidyverse/vroom/issues/519:
readr::local_edition(1)
colTypes <- list(label = readr::col_character(), analysisId = readr::col_integer(), covariateIds = readr::col_character())
specifications <- readr::read_csv(fileName, col_types = colTypes)
return(specifications)
Expand Down

0 comments on commit 23833e7

Please sign in to comment.