Shinyapps.io unable to install Github dependencies

I mentioned last week in [ERROR]: Application deployment failed with error: Unhandled Exception:: child_task=1480459459 that I was having the same problem as @ agdamsbo trying to deploy an app with a Github dependency, which I belatedly realised was not the same issue as the OP. I'm still having the same issue and have created a MRE which also fails to deploy, so it seems that there is a problem on shinyapps side:

devtools::install_github("simon-smart88/shinydemo")
rsconnect::deployApp(system.file('shiny/',package='shinydemo'))
── Preparing for deployment ──────────────────────────────────────────────────────────────────────────────────
✔ Re-deploying "shinydemo" using "server: shinyapps.io / username: simonsmart"
ℹ Looking up application with id "13465269"...
✔ Found application <https://simonsmart.shinyapps.io/shinydemo/>
ℹ Bundling 1 file: app.R
ℹ Capturing R dependencies with renv
✔ Found 31 dependencies
✔ Created 18,929b bundle
ℹ Uploading bundle...
✔ Uploaded bundle with id 9426054
── Deploying to server ───────────────────────────────────────────────────────────────────────────────────────
Waiting for task: 1483083327
  building: Processing bundle: 9426054
  building: Building image: 11574264
  building: Fetching packages
  error: Building package: shinydemo
## Begin Task Log ############################################################################################
## End Task Log ##############################################################################################
Error: Unhandled Exception: child_task=1483083328 child_task_status=failed: Error building image: Error fetching shinydemo (0.1.0) source. <GitHubPackage user='simon-smart88' repo='shinydemo' private=False> unable to satisfy package: shinydemo (0.1.0)

@kmcd39 I saw you opened a similar topic but then deleted it... did you work out what the problem was?

Yes! I haven't looked at your issue, but for me, the package i was using had a bunch of dependencies, including some that i didn't have installed. The package was my own, so i removed a bunch of the dependencies and made sure I was managing the imports a little more neatly, and then it worked.

But I also had just hosted the app with the package in question having its old set of dependencies, and it only didn't work when i was re-hosting, so maybe just an annoying sporadic thing.

@kmcd39 Thanks for the reply, but that definitely isn't the case for my MRE which has no dependencies apart from shiny.

I have fixed it now by adding GH authorisation to my shinyapps account as suggested in Unable to deploy to shinyapps.io due to package dependency but clearly that shouldn't be required!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.