From 23833e7862741300132a0fdb3b509d16467e8cbf Mon Sep 17 00:00:00 2001 From: Ger Inberg Date: Fri, 17 Nov 2023 11:54:08 +0100 Subject: [PATCH] (Hopefully temporary) workaround for tidyverse/vroom#519 --- R/Table1.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/Table1.R b/R/Table1.R index 3be7695c..c0252a64 100644 --- a/R/Table1.R +++ b/R/Table1.R @@ -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)