Possible bug in explain_forecast without lag explanation
martinju opened this issue · 0 comments
martinju commented
There seems to be a bug in the test "forecast_output_arima_numeric_no_lags":
shapr/tests/testthat/test-forecast-output.R
Lines 216 to 236 in a62005f
A warning is thrown whenever predict_model is called. The warning is
Warning in
matrix(): data length [2] is not a sub-multiple or multiple of the number of rows [3]
and comes from the following line:
Line 36 in a62005f
Althoug this is just a warning, I suspect it causes erroronous behavior.
@jonlachmann: Since you know this code the best, do you mind taking a look?