Skip to content

Commit

Permalink
Update dataset.R (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed May 2, 2024
1 parent a11ad0a commit b92f76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ loadCorrectDataset <- function(x) {
if (length(match) > 1) {
warning("Multiple datasets exists with the same name, choosing '", datasets[match[1]], "'")
}
return(data.table::fread(fullPath, header = TRUE, check.names = FALSE, data.table = FALSE))
return(data.table::fread(fullPath, header = TRUE, check.names = FALSE, data.table = FALSE, stringsAsFactors = TRUE))
}
allDatasets <- c(allDatasets, basename(datasets))

Expand Down

0 comments on commit b92f76f

Please sign in to comment.