Closed thibautjombart closed 5 years ago
This was a bit difficult for me to parse when I first read it.
For future contributors: please use the reprex package to make a reproducible example like so:
reprex::reprex({
library("incidence")
res <- incidence("2001-01-01")
str(res)
})
This would copy the formatted code to your clipboard that you can paste directly into github:
library("incidence")
res <- incidence("2001-01-01")
str(res)
#> Date[1:1], format: "2001-01-01"
Created on 2019-01-08 by the reprex package (v0.2.1)
This method makes it easier for us to figure out what the actual behavior was and if we can fix it.
Stegen case study: not converting dates to dates does not generate errors, but does not work either - dispatching is not working, try and see why, make sure we issue a meaningful error.
This comes from:
Not working.