Hi,
Have been successfully deploying several apps for a while with no issues, but I've just started getting the following error on deploys for a few different shiny apps that I'm trying to deploy to shinyapps.io:
Warning message:
renv took longer than expected (20 seconds) to activate the sandbox.
The sandbox can be disabled by setting:
RENV_CONFIG_SANDBOX_ENABLED = FALSE
within an appropriate start-up .Renviron file.
See `?renv::config` for more details.
── Preparing for deployment ────────────────────────────────────────────────────
✔ Deploying "dev-ufs-skills-data-catalogue" to "server: shinyapps.io / username: ..."
ℹ Creating application on server...
Error in `POST()`:
! <https://api.shinyapps.io/v1/applications/> failed with HTTP status
409
Application exists with name: dev-ufs-skills-data-catalogue
Backtrace:
▆
1. └─rsconnect::deployApp(...)
2. └─client$createApplication(...)
3. └─rsconnect:::POST_JSON(service, authInfo, "/applications/", json)
4. └─rsconnect:::POST(...)
5. └─rsconnect:::httpRequestWithBody(...)
6. └─rsconnect:::handleResponse(httpResponse, error_call = error_call)
7. └─rsconnect (local) reportError(json$error)
8. └─cli::cli_abort(...)
9. └─rlang::abort(...)
Execution halted
Error: Process completed with exit code 1.
I'm assuming the renv warning isn't relevant, but including just in case. I tried adding forceUpdate=TRUE
to the deploy command, but that didn't help.
Any ideas on what's causing the deploy to not want to overwrite the existing app in this case?
Many thanks.