I am currently trying to create an R Shiny App that can update another R Shiny App (also on my account) with a simple action button. The main problem seems to be getting an appropriate filepath that works with the rsconnect::deployApp() function. I have thought about putting the second app within the updating app's directory (try to make it a dependency), but that seems to not work. The only potential filepath I have found is '/srv/connect/apps/my_app', but this did not work. Another error that commonly pops up is the disconnected from server message. Please let me know if you have any ideas.