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
Look into what in parsnip::fit() conflicts with new_epi_df(). This problem should be apparent when new_epi_df() is used instead of as_epi_df() in [.epi_df from epiprocess and likely has to do with the couple of lines of column reordering code in new_epi_df(). This is related to Issue #104, but is lower priority as it is not likely to cause issues at present, but may be a problem for us in the future.
Error in `dplyr::mutate()`:
! Problem while computing `time_value = time_value + shift_val`.
Caused by error in `time_value + shift_val`:
! non-numeric argument to binary operator
The text was updated successfully, but these errors were encountered:
I messed around with this a bit yesterday. The (first?) specific issue (using the example in my check) is:
In epi_shift_single(), line 35 in my code: dplyr::select(tidyselect::all_of(c(key_cols, col))).
The result of this line switches the NAMES time_value and geo_value for some reason. The result being that time_value then contains data with states while geo_value contains the dates.
Trying to add an integer shift_val to the character bombs.
Look into what in
parsnip::fit()
conflicts withnew_epi_df()
. This problem should be apparent whennew_epi_df()
is used instead ofas_epi_df()
in[.epi_df
from epiprocess and likely has to do with the couple of lines of column reordering code innew_epi_df()
. This is related to Issue #104, but is lower priority as it is not likely to cause issues at present, but may be a problem for us in the future.Example:
Resulting error:
The text was updated successfully, but these errors were encountered: