cmu-delphi / epipredict

Tools for building predictive models in epidemiology.
https://cmu-delphi.github.io/epipredict/
Other
8 stars 8 forks source link

add a check to the `*_args_list()` constructors #301

Closed dajmcdon closed 3 months ago

dajmcdon commented 3 months ago

See also #290 and the comments in #300.

The *_args_list() constructors should verify and at least warn when both forecast_date and target_date are specified with target_date != forecast_date + ahead.

Note: If forecast_date = NULL but target_date is specified, we can't check this until we add the layer.