Keep getting this warning message:
Warning message: In .parse_hms(..., order = "HMS", quiet = quiet) : Some strings failed to parse, or all strings are NAs
And the function replaces all data in my character vector to NA
.
I've tried running hms()
function through lubridate
package and tried again using POSIXct
combined$start<- c("8:45""12:10""16:00")
combined$start <- as.character(combined$start)
combined$start <- hms(combined$start)
I'd like the characters in combined$start
to be converted to hms
but I only get `NA when I try to run the last line of code.