Deployment to shinyapps failing due to CRAN dependency

I had this same issue and had to downgrade MASS to fix it. See similar post:
https://forum.posit.co/t/cannot-deploy-error-with-mass/28471