An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
This PR closes #202. It uses the assert_no_dates_after_max() check (that wasn't being used, since we removed needing to specify the forecast date from the preprocessing steps!). What it does:
runs the assertion on the wastewater and count data within the wwinference() function
updates the assert_no_dates_after_max() to take in args specifying what data is in the date vector and what the max date is
updates the test of assert_no_dates_after_max() to expect the specific error message written
This PR closes #202. It uses the
assert_no_dates_after_max()
check (that wasn't being used, since we removed needing to specify the forecast date from the preprocessing steps!). What it does:wwinference()
functionassert_no_dates_after_max()
to take in args specifying what data is in the date vector and what the max date isassert_no_dates_after_max()
to expect the specific error message written