I need to calculate some calibration metrics for a glm model. I've been recommended to use the Hosmer–Lemeshow test to check that my model is calibrated or not, but it seems like it's very criticized and the residuals.lrm function of the rms package is a better option.
However, and despite being specified in the lastest package datasheet, it doesn't appear in the list of functions I have from that package. Probably is some silly mistake on my part, but I don't know what I'm missing, there isn't a masked warning from other packages other than the stat default package and using the rms:: prefix to specify the package returns.
> rms::residuals.lrm(object = glm_model)
Error: 'residuals.lrm' is not an exported object from 'namespace:rms'
Yes, I tried removing and reinstalling the package, I'm currently using R version 4.6.1 in Rstudio 2026.06.0 build 242 if that helps.
On the other hand, I'm open minded to use other package or functions, this is just something I read