reconhub / incidence

☣:chart_with_upwards_trend::chart_with_downwards_trend:☣ Compute and visualise incidence
https://reconhub.github.io/incidence
Other
58 stars 13 forks source link

stegen not converting dates #88

Closed thibautjombart closed 5 years ago

thibautjombart commented 5 years ago

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:

incidence("2001-01-01")

Not working.

zkamvar commented 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.