Error in if (is.na(xx)) { : argument is of length zero Calls: <Anonymous> ... withVisible -> eval -> eval -> as.Date.character -> charToDate code example
Example: Error in charToDate(x) : character string is not in a standard unambiguous format
library(lubridate)
data$created_date1 <- mdy_hm(data$created_at)
data$created_date1 <- as.Date(data$created_date1)