The wrapper ceres::wrap_ceres() is always crashing after awhile with message "killed 9". After some investigation I found that crash happens in Rcpp function fit_ceres after a message "Instantiated model matrix..." (see attach)
I have an R version.string R version 4.2.1 (2022-06-23), macos 10.13.6