How to upgrade 'cmake' on RSconnect?

Please take a look into Installing package nloptr.

The Downgrade option you can yourself run on your RStudio IDE or wherever you are pushing the shiny app from. The OS specific actions you need to run on your Connect environments (or have it run by your admins).