Skip to content

Commit

Permalink
Convert line endings to Posix when casting
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Jul 23, 2024
1 parent 3274292 commit beef222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ cast_to_type <- function(
double = as.double(x),
integer = as.integer(x),
logical = as.logical(x),
as.character(x)
gsub("\r\n", "\n", as.character(x))
)

}
Expand Down

0 comments on commit beef222

Please sign in to comment.