File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,8 @@ exportToCsv <- function(outputFolder,
220
220
221
221
writeToCsv <- function (data , fileName , append = FALSE ) {
222
222
colnames(data ) <- SqlRender :: camelCaseToSnakeCase(colnames(data ))
223
+ # Workaround for issue https://github.com/tidyverse/vroom/issues/519:
224
+ readr :: local_edition(1 )
223
225
readr :: write_csv(x = data , file = fileName , append = append )
224
226
}
225
227
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ uploadExportedResults <- function(connectionDetails,
135
135
cdm_source_abbreviation = as.character(.data $ database_id )
136
136
)
137
137
databaseIdentifierFile <- tempfile(fileext = " .csv" )
138
+ # Workaround for issue https://github.com/tidyverse/vroom/issues/519:
139
+ readr :: local_edition(1 )
138
140
readr :: write_csv(databaseIdentifier , databaseIdentifierFile )
139
141
DatabaseConnector :: insertTable(
140
142
connection = connection ,
You can’t perform that action at this time.
0 commit comments