I am deploying apps in shinyapp.io and I need to change the app settings (such as size, workers count, instances, etc) programmatically by using rsconnect. However, I am getting the following error:
subprocess.CalledProcessError: Command '['Rscript', '-e', "rsconnect::setAccountInfo(name='XXXXXXXX', token='XXXXXXXXXX', secret='XXXXXXXXX'); rsconnect::configureApp(appName = 'XXXXXXXXXX', size = 'xxxlarge', account = 'XXXXXXXXX')"]' returned non-zero exit status 1.
I have tried using setProperty and configureApp but nothing seems to work. I would really appreciate any help to solve this issue.
Cheers,
Jorge