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
crash in gnls when using spatial correlation structures
Traced by Mikko Korpela and Benjamin Tyner to originate in nlme:::Dim.corStruct where val[["start"]] is calculated to contain offsets into c(loss_gradient, residuals) that result in corStruct_recalc → mult_mat overflowing a buffer on the heap.
It seems that the right values would have been c(0, cumsum(val[["len"]])[-val[["M"]]]), or maybe even the original value of val[['start'] = match(levels(groups), groups) - 1L), but the code has been there since the oldest version of nlme present on CRAN, so it's hard to argue in favour of changing it.
Discussed in #4
Originally posted by giscus[bot] June 26, 2023
R Project Sprint 2023 - Addressing Bugs in nlme
Addressing open bugs on the recommended package nlme for (non)linear mixed effect models.
https://contributor.r-project.org/r-project-sprint-2023/projects/nlme-bugs/
The text was updated successfully, but these errors were encountered: