Error: Unhandled Exception: Child Task 1049745496 failed: Error building image: R version 4.1.2 currently unavailable

Shinyapp.io doesn't support R 4.1.2 yet, you have to deploy from R 4.1.0