Shiny app deployment: `Error: unable to satisfy package` with GitHub package

Hi, like many posts I have seen on this community, I am encountering an unable to satisfy package error when deploying my shiny app. Other proposed solutions haven't worked for me.

Here's the full error:

Error: Unhandled Exception: child_task=1485124728 child_task_status=failed: 
Error building image: Error fetching pubDashboard (0.0.1) source. 
<GitHubPackage user='rempsyc' repo='pubDashboard' private=False> 
unable to satisfy package: pubDashboard (0.0.1) Execution halted

I encounter this even after fully updating all packages on R version 4.3.0. The error suggests the it is specifically related to the pubDashboard, which is my own public (not private) package hosted on GitHub (not CRAN). What can I do to troubleshoot this error?

Here's the result of rsconnect::appDependencies(), which shows NA for the pubDashboard package. I used remotes::install_github("rempsyc/pubDashboard") to install it, same for ggflags (remotes::install_github("jimjam-slam/ggflags")).

rsconnect::appDependencies()
         Package   Version Source               Repository
1           MASS  7.3-58.4   CRAN https://cran.rstudio.com
2         Matrix   1.6-1.1   CRAN https://cran.rstudio.com
3             R6     2.5.1   CRAN https://cran.rstudio.com
4   RColorBrewer     1.1-3   CRAN https://cran.rstudio.com
5           Rcpp  1.0.13-1   CRAN https://cran.rstudio.com
6            XML 3.99-0.17   CRAN https://cran.rstudio.com
7        askpass     1.2.1   CRAN https://cran.rstudio.com
8      base64enc     0.1-3   CRAN https://cran.rstudio.com
9          bslib     0.8.0   CRAN https://cran.rstudio.com
10        cachem     1.1.0   CRAN https://cran.rstudio.com
11           cli     3.6.3   CRAN https://cran.rstudio.com
12    colorspace     2.1-1   CRAN https://cran.rstudio.com
13    commonmark     1.9.2   CRAN https://cran.rstudio.com
14   countrycode     1.6.0   CRAN https://cran.rstudio.com
15         cpp11     0.5.0   CRAN https://cran.rstudio.com
16        crayon     1.5.3   CRAN https://cran.rstudio.com
17          curl     6.0.1   CRAN https://cran.rstudio.com
18        digest    0.6.37   CRAN https://cran.rstudio.com
19         dplyr     1.1.4   CRAN https://cran.rstudio.com
20      ellipsis     0.3.2   CRAN https://cran.rstudio.com
21      evaluate     1.0.1   CRAN https://cran.rstudio.com
22         fansi     1.0.6   CRAN https://cran.rstudio.com
23        farver     2.1.2   CRAN https://cran.rstudio.com
24       fastmap     1.2.0   CRAN https://cran.rstudio.com
25 flexdashboard     0.6.2   CRAN https://cran.rstudio.com
26   fontawesome     0.5.3   CRAN https://cran.rstudio.com
27            fs     1.6.5   CRAN https://cran.rstudio.com
28      generics     0.1.3   CRAN https://cran.rstudio.com
29       ggflags     0.0.4 github                     <NA>
30       ggplot2     3.5.1   CRAN https://cran.rstudio.com
31          glue     1.8.0   CRAN https://cran.rstudio.com
32     grImport2     0.3-3   CRAN https://cran.rstudio.com
33        gtable     0.3.6   CRAN https://cran.rstudio.com
34         highr      0.11   CRAN https://cran.rstudio.com
35           hms     1.1.3   CRAN https://cran.rstudio.com
36     htmltools   0.5.8.1   CRAN https://cran.rstudio.com
37   htmlwidgets     1.6.4   CRAN https://cran.rstudio.com
38        httpuv    1.6.15   CRAN https://cran.rstudio.com
39          httr     1.4.7   CRAN https://cran.rstudio.com
40       insight     1.0.0   CRAN https://cran.rstudio.com
41       isoband     0.2.7   CRAN https://cran.rstudio.com
42          jpeg    0.1-10   CRAN https://cran.rstudio.com
43     jquerylib     0.1.4   CRAN https://cran.rstudio.com
44      jsonlite     1.8.9   CRAN https://cran.rstudio.com
45         knitr      1.49   CRAN https://cran.rstudio.com
46      labeling     0.4.3   CRAN https://cran.rstudio.com
47         later     1.4.1   CRAN https://cran.rstudio.com
48       lattice    0.22-6   CRAN https://cran.rstudio.com
49     lifecycle     1.0.4   CRAN https://cran.rstudio.com
50     lubridate     1.9.3   CRAN https://cran.rstudio.com
51      magrittr     2.0.3   CRAN https://cran.rstudio.com
52       memoise     2.0.1   CRAN https://cran.rstudio.com
53          mgcv     1.9-1   CRAN https://cran.rstudio.com
54          mime      0.12   CRAN https://cran.rstudio.com
55       munsell     0.5.1   CRAN https://cran.rstudio.com
56          nlme   3.1-162   CRAN https://cran.rstudio.com
57     openalexR     1.4.0   CRAN https://cran.rstudio.com
58       openssl     2.2.2   CRAN https://cran.rstudio.com
59        pillar     1.9.0   CRAN https://cran.rstudio.com
60     pkgconfig     2.0.3   CRAN https://cran.rstudio.com
61           png     0.1-8   CRAN https://cran.rstudio.com
62   prettyunits     1.2.0   CRAN https://cran.rstudio.com
63      progress     1.2.3   CRAN https://cran.rstudio.com
64      promises     1.3.2   CRAN https://cran.rstudio.com
65  pubDashboard     0.0.1 github                     <NA>
66         purrr     1.0.2   CRAN https://cran.rstudio.com
67      rappdirs     0.3.3   CRAN https://cran.rstudio.com
68       rempsyc     0.1.8   CRAN https://cran.rstudio.com
69         rlang     1.1.4   CRAN https://cran.rstudio.com
70     rmarkdown      2.29   CRAN https://cran.rstudio.com
71          sass     0.4.9   CRAN https://cran.rstudio.com
72        scales     1.3.0   CRAN https://cran.rstudio.com
73         shiny   1.7.5.1   CRAN https://cran.rstudio.com
74   sourcetools   0.1.7-1   CRAN https://cran.rstudio.com
75       stringi     1.8.4   CRAN https://cran.rstudio.com
76       stringr     1.5.1   CRAN https://cran.rstudio.com
77           sys     3.4.3   CRAN https://cran.rstudio.com
78        tibble     3.2.1   CRAN https://cran.rstudio.com
79         tidyr     1.3.1   CRAN https://cran.rstudio.com
80    tidyselect     1.2.1   CRAN https://cran.rstudio.com
81    timechange     0.3.0   CRAN https://cran.rstudio.com
82       tinytex      0.54   CRAN https://cran.rstudio.com
83          utf8     1.2.4   CRAN https://cran.rstudio.com
84         vctrs     0.6.5   CRAN https://cran.rstudio.com
85   viridisLite     0.4.2   CRAN https://cran.rstudio.com
86         withr     3.0.2   CRAN https://cran.rstudio.com
87          xfun      0.49   CRAN https://cran.rstudio.com
88        xtable     1.8-4   CRAN https://cran.rstudio.com
89          yaml     2.3.7   CRAN https://cran.rstudio.com

Looks like this was just reported before you so I would guess there's an intermittent issue with ShinyApps.io

1 Like

It seems to me that the main problem is that GitHub packages repositories appear as NA instead of a github URL when using rsconnect::appDependencies(). But it should appear as a github URL no? I have no idea how to fix that though since I do use remotes::install_github() to install those packages.