Skip to content

Incidence version 1.5.4

Compare
Choose a tag to compare
@zkamvar zkamvar released this 15 Jan 08:06
1.5.4
8983880

This is another small release of incidence that fixes a few bugs:

BUG FIX

  • incidence() now returns an error when supplied a character vector that is not formatted as (yyyy-mm-dd). (See #88)
  • fit() now returns correct coefficients when dates is POSIXt by converting to Date. (See #91)
  • plot.incidence() now plots in UTC by default for POSIXt incidence objects. This prevents a bug where different time zones would cause a shift in the bars (See #99).

MISC

  • A test that randomly failed on CRAN has been fixed. (See #95).
  • Plotting tests have been updated for new version of vdiffr (See #96).
  • POSIXct incidence are first passed through POSIXlt when initialized.
  • A more informative error message is generated for non ISO 8601 formatted first_date and last_date parameters.

This also introduces new contributor @jrcpulliam! 🎉 🎉 🎉