r-spatial / spatialreg

spatialreg: spatial models estimation and testing
https://r-spatial.github.io/spatialreg/
43 stars 11 forks source link

issue lmSLX 'script out of bounds' #30

Closed patrascu-flavia closed 1 year ago

patrascu-flavia commented 2 years ago

Hello, Regarding spatialreg::lmSLX version 1.2.3, I get the following error which I can not figure it out Error in sum_lm_model$coefficients[((m2 + 2):m + LI), 1:2, drop = FALSE] : subscript out of bounds What could be the issue? Thank you!

rsbivand commented 2 years ago

Fully reproducible example, please, preferably using a built-in data set.