Closed de-la-viz closed 3 years ago
==> not sure… I updated all my R packages and it still works perfectly for me. I suspect that it might be an error due to the format of the date. I suspect that the geom_smooth is not able to use a date as x-axis… But I don’t why this happens only on Daniel's machine. Is results$date in date format? (it should not be in character format)
I found this similar error for someone: https://stackoverflow.com/questions/48269887/timestamp-conversion-error-in-r-error-in-unclassx-86400-non-numeric-argumen, but no solution...
It could be that for some reason the date is in character format on your computer. ==> So I reconverted it again to date format (even if I did this in 01_read.Rmd already and saved in RDS format that should preserve the date format)
not solved (no need)
Error message: error in unclass(x) * 86400