AdsorpR 0.1.1
Bug fixes
- Fixed an error in the non-linear isotherm fitters
(
nonlinear_bet(), nonlinear_langmuir(),
nonlinear_freundlich(), nonlinear_temkin())
where computing the model summary could fail on singular-gradient fits.
summary.nls() calls chol2inv(), which errors
on some BLAS/LAPACK and CPU configurations (notably BLIS and arm64
Linux) when the gradient is singular, causing the examples and vignette
to halt. The summary is now computed defensively: if it cannot be
formed, the function returns NULL for the model summary
(with a warning) instead of stopping. This resolves the CRAN “Additional
issues” failures on BLIS and linux-arm64.