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
if (highest_imputation == "Y" & !is.null(min_dates) & date_imputation != "first") {
warning("If `highest_impuation` = \"Y\" and `min_dates` is specified, `date_imputation` should be set to \"first\".") # nolint
}
It should be updated to
if (highest_imputation == "Y" & is.null(min_dates) & date_imputation == "first") {
warning("If `highest_impuation` = \"Y\" and `date_imputation = \"first\"` is specified, `min_dates` should be specified.") # nolint
}
Session Information
No response
Reproducible Example
No response
The text was updated successfully, but these errors were encountered:
I think when I was trying to implement the fix during the release, I tried following the "guidance" here, is there a particular "hierachy" of the function arguments? So for highest_impuation == "Y" , if I'm interpreting correctly, there should be a check of 1:1 correspondence between:
supplying min_dates and date_imputation == "first"
supplying max_dates and date_imputation == "last"
Wondering if we need to consider them in separate case-conditions?
What happened?
The following call issues a warning.
It is caused by the following check.
It should be updated to
Session Information
No response
Reproducible Example
No response
The text was updated successfully, but these errors were encountered: