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
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