Closed famuvie closed 5 years ago
The problem is that the REML log is a text file with fixed width. Whenever a covariance matrix is large enough it gets line-wrapped, and the parsing algorithm fails to gather it entirely. In this case, it gets the first 10 lines, because it knows that the matrix has 10 rows.
I need to parse matrices more robustly, accounting for the fact that there can be line-wrapping. This implies detecting the full block of numerical lines, and checking that its size is a multiple of the expected matrix size.
Created on 2019-02-04 by the reprex package (v0.2.1)