comparing the date in my excel file with system date

Viewed 294

I have an excel file which has two columns start_date and end_date. I want to compare the end_date with the system date but everytime I use this code I get an error:

Incompatible methods ("ops.Date", "Ops.POSIXt") for "<"

I am reading excel file using

x<-read_excel("book.xlxs", Header="TRUE")

And now I am using

Myframe<-ifelse(x$end_date>Sys.Date())

What to do now?

1 Answers
Related