You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is expected behavior, but when using expected_plot(), I will get an error (Error in if (!attr(expected, "frequency") %in% c(365, 52)) warning("This function assumes weekly or daily data. This dataset has ", : argument is of length zero) if the object comes from compute_expected(..., keep.components = TRUE) but not if keep.components = FALSE despite all other parameters (and data) being identical.
If expected behavior, I think a more descriptive error would be helpful?
The text was updated successfully, but these errors were encountered:
Not sure if this is expected behavior, but when using
expected_plot()
, I will get an error (Error in if (!attr(expected, "frequency") %in% c(365, 52)) warning("This function assumes weekly or daily data. This dataset has ", : argument is of length zero
) if the object comes fromcompute_expected(..., keep.components = TRUE)
but not ifkeep.components = FALSE
despite all other parameters (and data) being identical.If expected behavior, I think a more descriptive error would be helpful?
The text was updated successfully, but these errors were encountered: