r-lib / vctrs

Generic programming with typed R vectors
https://vctrs.r-lib.org
Other
285 stars 66 forks source link

Error in `vec_rbind()`: #1875

Open GedeanJohn opened 1 year ago

GedeanJohn commented 1 year ago

c() method returned a vector of unexpected size 116 instead of 114. ℹ In file c.c at line 412. ℹ This is an internal error that was detected in the vctrs package.

This error is occurring when I regress for quarterly data on GDP.

I don't know if it's happening in modeltime_calibrate() or modeltime_forecast()

Thanks for help me.

GedeanJohn commented 1 year ago

  1. ├─modeltime::modeltime_forecast(...)
  2. ├─modeltime:::modeltime_forecast.mdl_time_tbl(...)
  3. │ └─dplyr::bind_rows(ret_1, ret_2)
  4. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
  5. └─rlang:::stop_internal_c_lib(...)
  6. └─rlang::abort(message, call = call, .internal = TRUE, .frame = frame)
GedeanJohn commented 1 year ago

Same issue:

1826