I am using a read_csv
function from readr
package, which worked fine for me with readr
version 2.1.2; however, when upgrading to version 2.1.3, the following problem appears: Warning: Error in enc2utf8: argument is not a character vector
.
encabezado_csv <- read_csv(input$csv$datapath,
col_names = FALSE,
trim_ws = TRUE,
skip_empty_rows = TRUE) %>%
slice(1:4)
How can I solve this problem?
Regards,