corrmorant icon indicating copy to clipboard operation
corrmorant copied to clipboard

error HTTP 401 when deploying to shinyapps.io

Open paolocrosetto opened this issue 3 years ago • 2 comments
trafficstars

We built a shiny app including corrmorant. When deploying, shinyapps.io complains that it canot fetch your package. It might be a problem on the shinyapps site but maybe also on your side? using remotes we install your app locally no problem.

Error: Unhandled Exception: Child Task 1155952782 failed: Error building image: Error fetching corrmorant (0.0.0.9007) source. Error accessing GitHub repository r-link/corrmorant. HTTP 401: Unauthorized Execution halted

thanks!

paolocrosetto avatar May 19 '22 08:05 paolocrosetto

Hi Paolo! Unfortunately I never found the time to put that package on CRAN, which would have made many things easier.

I googled around a little bit, and you do not seem to be the only one facing this sort of problems when trying to deploy shiny apps that try to access Github repos. I am by no means a shiny expert, but maybe i is helpful to have a look into this thread: https://github.com/rstudio/rsconnect/issues/197

All the best, Roman

r-link avatar May 19 '22 15:05 r-link

Hi, some time later, but your problem Paolo depends on your setup between Shinyapps and Github. See here

aleruete avatar Oct 04 '23 14:10 aleruete