Failed ot deploy, unable to satisfy package: shiny (1.9.0)

Hi everyone,

I have been attempting to deploy a Shiny app that uses shinydashboard, shinyFeedback and tidyverse. When I try, this is the error I receive:

(...)
 building: Installing system dependencies
  building: Fetching packages
  building: Building package: shiny
## Begin Task Log ##############################################################
Quarto not found.
[2024-07-29T21:59:56.369458929+0000] Execute script: packages/build/textshaping.sh
+ set -e
+ apt-get update -qq
W: http://cran.rstudio.com/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+ apt-get install -y libharfbuzz-dev libfribidi-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  gir1.2-harfbuzz-0.0 libgraphite2-dev libharfbuzz-gobject0 libharfbuzz-icu0
Suggested packages:
  libgraphite2-utils
The following NEW packages will be installed:
  gir1.2-harfbuzz-0.0 libfribidi-dev libgraphite2-dev libharfbuzz-dev
  libharfbuzz-gobject0 libharfbuzz-icu0
0 upgraded, 6 newly installed, 0 to remove and 95 not upgraded.
Need to get 696 kB of archives.
After this operation, 3821 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gir1.2-harfbuzz-0.0 amd64 2.7.4-1ubuntu3.1 [31.6 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfribidi-dev amd64 1.0.8-2ubuntu3.1 [64.8 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64 libgraphite2-dev amd64 1.3.14-1build2 [14.7 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-icu0 amd64 2.7.4-1ubuntu3.1 [5886 B]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-gobject0 amd64 2.7.4-1ubuntu3.1 [26.0 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-dev amd64 2.7.4-1ubuntu3.1 [553 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 696 kB in 0s (17.2 MB/s)
Selecting previously unselected package gir1.2-harfbuzz-0.0:amd64.	
(Reading database ... 	(Reading database ... 5%	(Reading database ... 10%	(Reading database ... 15%	(Reading database ... 20%	(Reading database ... 25%	(Reading database ... 30%	(Reading database ... 35%	(Reading database ... 40%	(Reading database ... 45%	(Reading database ... 50%	(Reading database ... 55%	(Reading database ... 60%	(Reading database ... 65%	(Reading database ... 70%	(Reading database ... 75%	(Reading database ... 80%	(Reading database ... 85%	(Reading database ... 90%	(Reading database ... 95%	(Reading database ... 100%	(Reading database ... 293173 files and directories currently installed.)	
Preparing to unpack .../0-gir1.2-harfbuzz-0.0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking gir1.2-harfbuzz-0.0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libfribidi-dev:amd64.	
Preparing to unpack .../1-libfribidi-dev_1.0.8-2ubuntu3.1_amd64.deb ...	
Unpacking libfribidi-dev:amd64 (1.0.8-2ubuntu3.1) ...	
Selecting previously unselected package libgraphite2-dev:amd64.	
Preparing to unpack .../2-libgraphite2-dev_1.3.14-1build2_amd64.deb ...	
Unpacking libgraphite2-dev:amd64 (1.3.14-1build2) ...	
Selecting previously unselected package libharfbuzz-icu0:amd64.	
Preparing to unpack .../3-libharfbuzz-icu0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libharfbuzz-gobject0:amd64.	
Preparing to unpack .../4-libharfbuzz-gobject0_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-gobject0:amd64 (2.7.4-1ubuntu3.1) ...	
Selecting previously unselected package libharfbuzz-dev:amd64.	
Preparing to unpack .../5-libharfbuzz-dev_2.7.4-1ubuntu3.1_amd64.deb ...	
Unpacking libharfbuzz-dev:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libfribidi-dev:amd64 (1.0.8-2ubuntu3.1) ...	
Setting up libharfbuzz-gobject0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up gir1.2-harfbuzz-0.0:amd64 (2.7.4-1ubuntu3.1) ...	
Setting up libgraphite2-dev:amd64 (1.3.14-1build2) ...	
Setting up libharfbuzz-dev:amd64 (2.7.4-1ubuntu3.1) ...	
Processing triggers for libc-bin (2.35-0ubuntu3.7) ...	
[2024-07-29T22:00:00.491190564+0000] Execute script: packages/build/ragg.sh
+ set -e
+ apt-get update -qq
W: http://cran.rstudio.com/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+ apt-get install -y fonts-noto-color-emoji libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libharfbuzz-dev libfribidi-dev
Reading package lists...
Building dependency tree...
Reading state information...
libjpeg-dev is already the newest version (8c-2ubuntu10).
libjpeg-dev set to manually installed.
libpng-dev is already the newest version (1.6.37-3build5).
libpng-dev set to manually installed.
fonts-noto-color-emoji is already the newest version (2.042-0ubuntu0.22.04.1).
fonts-noto-color-emoji set to manually installed.
libfreetype6-dev is already the newest version (2.11.1+dfsg-1ubuntu0.2).
libfreetype6-dev set to manually installed.
libfribidi-dev is already the newest version (1.0.8-2ubuntu3.1).
libharfbuzz-dev is already the newest version (2.7.4-1ubuntu3.1).
The following NEW packages will be installed:
  libtiff5-dev
0 upgraded, 1 newly installed, 0 to remove and 95 not upgraded.
Need to get 2090 B of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5-dev amd64 4.3.0-6ubuntu0.9 [2090 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2090 B in 0s (144 kB/s)
Selecting previously unselected package libtiff5-dev:amd64.	
(Reading database ... 	(Reading database ... 5%	(Reading database ... 10%	(Reading database ... 15%	(Reading database ... 20%	(Reading database ... 25%	(Reading database ... 30%	(Reading database ... 35%	(Reading database ... 40%	(Reading database ... 45%	(Reading database ... 50%	(Reading database ... 55%	(Reading database ... 60%	(Reading database ... 65%	(Reading database ... 70%	(Reading database ... 75%	(Reading database ... 80%	(Reading database ... 85%	(Reading database ... 90%	(Reading database ... 95%	(Reading database ... 100%	(Reading database ... 293308 files and directories currently installed.)	
Preparing to unpack .../libtiff5-dev_4.3.0-6ubuntu0.9_amd64.deb ...	
Unpacking libtiff5-dev:amd64 (4.3.0-6ubuntu0.9) ...	
Setting up libtiff5-dev:amd64 (4.3.0-6ubuntu0.9) ...	## End Task Log ################################################################
Errore: Unhandled Exception: child_task=1441967182 child_task_status=failed: Error building image: Error fetching shiny (1.9.0) source. <CRANPackageSource repo='http://cran.rstudio.org'> unable to satisfy package: shiny (1.9.0)

This is my session info:

sessionInfo()
R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)

Matrix products: default


locale:
[1] LC_COLLATE=Italian_Italy.utf8  LC_CTYPE=Italian_Italy.utf8   
[3] LC_MONETARY=Italian_Italy.utf8 LC_NUMERIC=C                  
[5] LC_TIME=Italian_Italy.utf8    

time zone: Europe/Rome
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] readxl_1.4.3         shinyFeedback_0.4.0  lubridate_1.9.3     
 [4] forcats_1.0.0        stringr_1.5.1        dplyr_1.1.4         
 [7] purrr_1.0.2          readr_2.1.5          tidyr_1.3.1         
[10] tibble_3.2.1         ggplot2_3.5.0        tidyverse_2.0.0     
[13] shinydashboard_0.7.2 shiny_1.9.0         

loaded via a namespace (and not attached):
 [1] sass_0.4.9        utf8_1.2.4        generics_0.1.3   
 [4] renv_1.0.7        stringi_1.8.3     hms_1.1.3        
 [7] digest_0.6.35     magrittr_2.0.3    grid_4.3.3       
[10] timechange_0.3.0  fastmap_1.2.0     cellranger_1.1.0 
[13] jsonlite_1.8.8    promises_1.3.0    fansi_1.0.6      
[16] scales_1.3.0      textshaping_0.3.7 jquerylib_0.1.4  
[19] cli_3.6.2         rlang_1.1.3       munsell_0.5.1    
[22] withr_3.0.0       cachem_1.1.0      tools_4.3.3      
[25] tzdb_0.4.0        memoise_2.0.1     colorspace_2.1-0 
[28] httpuv_1.6.15     curl_5.2.1        vctrs_0.6.5      
[31] R6_2.5.1          mime_0.12         lifecycle_1.0.4  
[34] ragg_1.3.0        fontawesome_0.5.2 pkgconfig_2.0.3  
[37] pillar_1.9.0      bslib_0.7.0       later_1.3.2      
[40] gtable_0.3.4      rsconnect_1.3.1   glue_1.7.0       
[43] Rcpp_1.0.12       systemfonts_1.0.6 tidyselect_1.2.1 
[46] rstudioapi_0.16.0 farver_2.1.1      xtable_1.8-4     
[49] htmltools_0.5.8.1 labeling_0.4.3    compiler_4.3.3   
[52] askpass_1.2.0     openssl_2.1.1

and these are my dependencies

rsconnect::appDependencies() 
           Package    Version Source                 Repository
1              DBI      1.2.2   CRAN https://cran.r-project.org
2             MASS 7.3-60.0.1   CRAN https://cran.r-project.org
3           Matrix      1.6-5   CRAN https://cran.r-project.org
4               R6      2.5.1   CRAN https://cran.r-project.org
5     RColorBrewer      1.1-3   CRAN https://cran.r-project.org
6             Rcpp     1.0.12   CRAN https://cran.r-project.org
7          askpass      1.2.0   CRAN https://cran.r-project.org
8        backports      1.4.1   CRAN https://cran.r-project.org
9        base64enc      0.1-3   CRAN https://cran.r-project.org
10             bit      4.0.5   CRAN https://cran.r-project.org
11           bit64      4.0.5   CRAN https://cran.r-project.org
12            blob      1.2.4   CRAN https://cran.r-project.org
13           broom      1.0.5   CRAN https://cran.r-project.org
14           bslib      0.7.0   CRAN https://cran.r-project.org
15          cachem      1.1.0   CRAN https://cran.r-project.org
16           callr      3.7.6   CRAN https://cran.r-project.org
17      cellranger      1.1.0   CRAN https://cran.r-project.org
18             cli      3.6.2   CRAN https://cran.r-project.org
19           clipr      0.8.0   CRAN https://cran.r-project.org
20      colorspace      2.1-0   CRAN https://cran.r-project.org
21      commonmark      1.9.1   CRAN https://cran.r-project.org
22      conflicted      1.2.0   CRAN https://cran.r-project.org
23           cpp11      0.4.7   CRAN https://cran.r-project.org
24          crayon      1.5.2   CRAN https://cran.r-project.org
25            curl      5.2.1   CRAN https://cran.r-project.org
26      data.table     1.15.4   CRAN https://cran.r-project.org
27          dbplyr      2.5.0   CRAN https://cran.r-project.org
28          digest     0.6.35   CRAN https://cran.r-project.org
29           dplyr      1.1.4   CRAN https://cran.r-project.org
30          dtplyr      1.3.1   CRAN https://cran.r-project.org
31        ellipsis      0.3.2   CRAN https://cran.r-project.org
32        evaluate       0.23   CRAN https://cran.r-project.org
33           fansi      1.0.6   CRAN https://cran.r-project.org
34          farver      2.1.1   CRAN https://cran.r-project.org
35         fastmap      1.2.0   CRAN https://cran.r-project.org
36     fontawesome      0.5.2   CRAN https://cran.r-project.org
37         forcats      1.0.0   CRAN https://cran.r-project.org
38              fs      1.6.3   CRAN https://cran.r-project.org
39          gargle      1.5.2   CRAN https://cran.r-project.org
40        generics      0.1.3   CRAN https://cran.r-project.org
41         ggplot2      3.5.0   CRAN https://cran.r-project.org
42            glue      1.7.0   CRAN https://cran.r-project.org
43     googledrive      2.1.1   CRAN https://cran.r-project.org
44   googlesheets4      1.1.1   CRAN https://cran.r-project.org
45          gtable      0.3.4   CRAN https://cran.r-project.org
46           haven      2.5.4   CRAN https://cran.r-project.org
47           highr       0.10   CRAN https://cran.r-project.org
48             hms      1.1.3   CRAN https://cran.r-project.org
49       htmltools    0.5.8.1   CRAN https://cran.r-project.org
50          httpuv     1.6.15   CRAN https://cran.r-project.org
51            httr      1.4.7   CRAN https://cran.r-project.org
52             ids      1.0.1   CRAN https://cran.r-project.org
53         isoband      0.2.7   CRAN https://cran.r-project.org
54       jquerylib      0.1.4   CRAN https://cran.r-project.org
55        jsonlite      1.8.8   CRAN https://cran.r-project.org
56           knitr       1.46   CRAN https://cran.r-project.org
57        labeling      0.4.3   CRAN https://cran.r-project.org
58           later      1.3.2   CRAN https://cran.r-project.org
59         lattice     0.22-5   CRAN https://cran.r-project.org
60       lifecycle      1.0.4   CRAN https://cran.r-project.org
61       lubridate      1.9.3   CRAN https://cran.r-project.org
62        magrittr      2.0.3   CRAN https://cran.r-project.org
63         memoise      2.0.1   CRAN https://cran.r-project.org
64            mgcv      1.9-1   CRAN https://cran.r-project.org
65            mime       0.12   CRAN https://cran.r-project.org
66          modelr     0.1.11   CRAN https://cran.r-project.org
67         munsell      0.5.1   CRAN https://cran.r-project.org
68            nlme    3.1-164   CRAN https://cran.r-project.org
69         openssl      2.1.1   CRAN https://cran.r-project.org
70          pillar      1.9.0   CRAN https://cran.r-project.org
71       pkgconfig      2.0.3   CRAN https://cran.r-project.org
72     prettyunits      1.2.0   CRAN https://cran.r-project.org
73        processx      3.8.4   CRAN https://cran.r-project.org
74        progress      1.2.3   CRAN https://cran.r-project.org
75        promises      1.3.0   CRAN https://cran.r-project.org
76              ps      1.7.6   CRAN https://cran.r-project.org
77           purrr      1.0.2   CRAN https://cran.r-project.org
78            ragg      1.3.0   CRAN https://cran.r-project.org
79        rappdirs      0.3.3   CRAN https://cran.r-project.org
80           readr      2.1.5   CRAN https://cran.r-project.org
81          readxl      1.4.3   CRAN https://cran.r-project.org
82         rematch      2.0.0   CRAN https://cran.r-project.org
83        rematch2      2.1.2   CRAN https://cran.r-project.org
84          reprex      2.1.0   CRAN https://cran.r-project.org
85           rlang      1.1.3   CRAN https://cran.r-project.org
86       rmarkdown       2.26   CRAN https://cran.r-project.org
87      rstudioapi     0.16.0   CRAN https://cran.r-project.org
88           rvest      1.0.4   CRAN https://cran.r-project.org
89            sass      0.4.9   CRAN https://cran.r-project.org
90          scales      1.3.0   CRAN https://cran.r-project.org
91         selectr      0.4-2   CRAN https://cran.r-project.org
92           shiny      1.9.0   CRAN https://cran.r-project.org
93   shinyFeedback      0.4.0   CRAN https://cran.r-project.org
94  shinydashboard      0.7.2   CRAN https://cran.r-project.org
95     sourcetools    0.1.7-1   CRAN https://cran.r-project.org
96         stringi      1.8.3   CRAN https://cran.r-project.org
97         stringr      1.5.1   CRAN https://cran.r-project.org
98             sys      3.4.2   CRAN https://cran.r-project.org
99     systemfonts      1.0.6   CRAN https://cran.r-project.org
100    textshaping      0.3.7   CRAN https://cran.r-project.org
101         tibble      3.2.1   CRAN https://cran.r-project.org
102          tidyr      1.3.1   CRAN https://cran.r-project.org
103     tidyselect      1.2.1   CRAN https://cran.r-project.org
104      tidyverse      2.0.0   CRAN https://cran.r-project.org
105     timechange      0.3.0   CRAN https://cran.r-project.org
106        tinytex       0.50   CRAN https://cran.r-project.org
107           tzdb      0.4.0   CRAN https://cran.r-project.org
108           utf8      1.2.4   CRAN https://cran.r-project.org
109           uuid      1.2-0   CRAN https://cran.r-project.org
110          vctrs      0.6.5   CRAN https://cran.r-project.org
111    viridisLite      0.4.2   CRAN https://cran.r-project.org
112          vroom      1.6.5   CRAN https://cran.r-project.org
113          withr      3.0.0   CRAN https://cran.r-project.org
114           xfun       0.43   CRAN https://cran.r-project.org
115           xml2      1.3.6   CRAN https://cran.r-project.org
116         xtable      1.8-4   CRAN https://cran.r-project.org
117           yaml      2.3.8   CRAN https://cran.r-project.org

Shiny 1.9.0 was released less than a day ago, so it looks like you tried to deploy very shortly after it was released. It is possible that the new version had no yet been installed on your server (shinyapps.io? in-house server? other?). I just deployed an app to shinyapps.io using 1.9.0 and deployment went smoothly, so you might try again.

1 Like