Unable to resolve dependency on Posit Connect Cloud

Problem

My app fails to deploy on Posit Connect Cloud due to the failure to install the sass package. However, it is successfully deployed on shinyapps[dot]io. My R version is 4.3.2.

Logs

2025-02-04T17:58:42-05:00 Your publish request with ID 94ba17c7-6f73-47d3-9282-572e8845fcab is now being processed.
2025-02-04T17:58:42-05:00 Quarto version was not provided. Using 1.6.39
2025-02-04T17:58:42-05:00 Loading your source code...
2025-02-04T17:58:42-05:00 Initialized empty Git repository in /cloud/project/.git/
2025-02-04T17:58:42-05:00 From https://github.com/durraniu/equipmentValuation
2025-02-04T17:58:42-05:00  * branch            aa0663dc2c9c2b659c721e57723252b54fe8fba7 -> FETCH_HEAD
2025-02-04T17:58:42-05:00 HEAD is now at aa0663d manifest
2025-02-04T17:58:42-05:00 Quarto version was not provided. Using 1.6.39
2025-02-04T17:58:43-05:00 Collecting your code's R dependencies...
2025-02-04T17:58:44-05:00 package "Matrix" is already up to date
2025-02-04T17:58:44-05:00 package "lattice" is already up to date
2025-02-04T17:58:44-05:00 package "nlme" is already up to date
2025-02-04T17:58:44-05:00 package "MASS" is already up to date
2025-02-04T17:58:44-05:00 package "mgcv" is already up to date
2025-02-04T17:58:44-05:00 117 new R package(s) to install.
2025-02-04T17:58:44-05:00 Connect Cloud is providing the following 111 R packages:
2025-02-04T17:58:44-05:00 askpass@1.2.1, backports@1.4.1, base64enc@0.1-3, bit@4.0.5, bit64@4.0.5
2025-02-04T17:58:44-05:00 blob@1.2.4, broom@1.0.5, cachem@1.1.0, callr@3.7.6, cellranger@1.1.0
2025-02-04T17:58:44-05:00 cli@3.6.3, clipr@0.8.0, colorspace@2.1-1, commonmark@1.9.2, conflicted@1.2.0
2025-02-04T17:58:44-05:00 cpp11@0.5.1, crayon@1.5.3, crosstalk@1.2.1, curl@6.1.0, data.table@1.14.10
2025-02-04T17:58:44-05:00 DBI@1.2.3, dbplyr@2.5.0, digest@0.6.37, dplyr@1.1.4, dtplyr@1.3.1
2025-02-04T17:58:44-05:00 ellipsis@0.3.2, evaluate@0.23, fansi@1.0.6, farver@2.1.2, fastmap@1.2.0
2025-02-04T17:58:44-05:00 fontawesome@0.5.3, forcats@1.0.0, fs@1.6.5, gargle@1.5.2, generics@0.1.3
2025-02-04T17:58:44-05:00 ggplot2@3.5.1, glue@1.8.0, googledrive@2.1.1, googlesheets4@1.1.1, gtable@0.3.5
2025-02-04T17:58:44-05:00 haven@2.5.4, highr@0.10, hms@1.1.3, htmltools@0.5.8.1, httpuv@1.6.15
2025-02-04T17:58:44-05:00 httr@1.4.7, ids@1.0.1, isoband@0.2.7, jquerylib@0.1.4, jsonlite@1.8.9
2025-02-04T17:58:44-05:00 knitr@1.46, labeling@0.4.3, later@1.4.1, lattice@0.21-9, lazyeval@0.2.2
2025-02-04T17:58:44-05:00 lifecycle@1.0.4, lubridate@1.9.3, magrittr@2.0.3, MASS@7.3-60, Matrix@1.6-1.1
2025-02-04T17:58:44-05:00 memoise@2.0.1, mgcv@1.9-0, mime@0.12, modelr@0.1.11, munsell@0.5.1
2025-02-04T17:58:44-05:00 nlme@3.1-163, openssl@2.3.1, pillar@1.9.0, pkgconfig@2.0.3, prettyunits@1.2.0
2025-02-04T17:58:44-05:00 processx@3.8.4, progress@1.2.3, promises@1.3.2, ps@1.8.1, purrr@1.0.2
2025-02-04T17:58:44-05:00 R6@2.5.1, ragg@1.3.0, rappdirs@0.3.3, RColorBrewer@1.1-3, Rcpp@1.0.14
2025-02-04T17:58:44-05:00 readr@2.1.5, readxl@1.4.3, rematch@2.0.0, rematch2@2.1.2, rlang@1.1.5
2025-02-04T17:58:44-05:00 rstudioapi@0.15.0, rvest@1.0.4, scales@1.3.0, selectr@0.4-2, sourcetools@0.1.7-1
2025-02-04T17:58:44-05:00 stringi@1.8.4, stringr@1.5.1, sys@3.4.3, systemfonts@1.0.6, textshaping@0.3.7
2025-02-04T17:58:44-05:00 tibble@3.2.1, tidyr@1.3.1, tidyselect@1.2.1, timechange@0.3.0, tinytex@0.50
2025-02-04T17:58:44-05:00 tzdb@0.4.0, utf8@1.2.4, uuid@1.2-0, vctrs@0.6.5, viridisLite@0.4.2
2025-02-04T17:58:44-05:00 vroom@1.6.5, withr@3.0.2, xfun@0.50, xml2@1.3.6, xtable@1.8-4
2025-02-04T17:58:44-05:00 yaml@2.3.8
2025-02-04T17:58:44-05:00 11 additional packages will be installed from the Internet.
2025-02-04T17:58:44-05:00 renv is not currently supported on Connect Cloud. renv/activate.R has been truncated to avoid accidental usage.
2025-02-04T17:58:44-05:00 Unable to download package sass from GitHub
2025-02-04T17:58:44-05:00 Could not download uncached project dependencies.
2025-02-04T17:58:44-05:00 Failed to publish content: Download of the sass package has failed. Check your manifest.json. error_id=a103367b-8d49-4401-9d21-db54f0da3196

Lots of emails

I get 2-3 emails when the deployment fails once.

1 Like

Hello,

Thanks for reaching out. We are looking into the email duplication and believe we have a fix for the saas package support. I'll update here when that goes live.

Best,

Alex

2 Likes

Hello again. Support for the saas package should now work. Could you please retry and verify?

Thanks!

Alex

Thanks @alex_chisholm. I tried deploying the app but get a different error now (this is a different github repo that also uses bslib and hence the sass package):

2025-02-14T21:04:05-05:00 Your publish request with ID eee397dc-63ab-46fb-bc65-0fba39f796c9 is now being processed.
2025-02-14T21:04:05-05:00 Quarto version was not provided. Using 1.6.39
2025-02-14T21:04:05-05:00 Loading your source code...
2025-02-14T21:04:05-05:00 Initialized empty Git repository in /cloud/project/.git/
2025-02-14T21:04:05-05:00 From https://github.com/shiny-meetings/pctalks
2025-02-14T21:04:05-05:00  * branch            28862c072c3a28e7f6f316a0ce36b200522bd1a8 -> FETCH_HEAD
2025-02-14T21:04:05-05:00 HEAD is now at 28862c0 Merge pull request #8 from shiny-meetings/sessionTopics
2025-02-14T21:04:05-05:00 Quarto version was not provided. Using 1.6.39
2025-02-14T21:04:05-05:00 Collecting your code's R dependencies...
2025-02-14T21:04:06-05:00 package "lattice" is already up to date
2025-02-14T21:04:06-05:00 142 new R package(s) to install.
2025-02-14T21:04:07-05:00 Connect Cloud is providing the following 142 R packages:
2025-02-14T21:04:07-05:00 askpass@1.2.1, assertthat@0.2.1, attachment@0.4.3, attempt@0.3.1, base64enc@0.1-3
2025-02-14T21:04:07-05:00 binman@0.1.3, bit@4.5.0, bit64@4.5.2, bitops@1.0-9, brew@1.0-10
2025-02-14T21:04:07-05:00 brio@1.1.5, bslib@0.9.0, cachem@1.1.0, callr@3.7.6, caTools@1.18.3
2025-02-14T21:04:07-05:00 cli@3.6.3, clipr@0.8.0, commonmark@1.9.2, config@0.3.2, covr@3.6.4
2025-02-14T21:04:07-05:00 cpp11@0.5.1, crayon@1.5.3, credentials@2.0.2, curl@6.2.0, desc@1.4.3
2025-02-14T21:04:07-05:00 devtools@2.4.5, diffobj@0.3.5, digest@0.6.37, downlit@0.4.4, dplyr@1.1.4
2025-02-14T21:04:07-05:00 ellipsis@0.3.2, evaluate@1.0.3, fansi@1.0.6, fastmap@1.2.0, fontawesome@0.5.3
2025-02-14T21:04:07-05:00 fs@1.6.5, fuzzyjoin@0.1.6, generics@0.1.3, geosphere@1.5-20, gert@2.1.4
2025-02-14T21:04:07-05:00 gh@1.4.1, git2r@0.35.0, gitcreds@0.1.2, glue@1.8.0, golem@0.5.1
2025-02-14T21:04:07-05:00 here@1.0.1, highr@0.11, hms@1.1.3, htmltools@0.5.8.1, htmlwidgets@1.6.4
2025-02-14T21:04:07-05:00 httpuv@1.6.15, httr@1.4.7, httr2@1.0.5, hunspell@3.0.5, ini@0.3.1
2025-02-14T21:04:07-05:00 janitor@2.2.0, jquerylib@0.1.4, jsonlite@1.8.9, knitr@1.49, later@1.3.2
2025-02-14T21:04:07-05:00 lattice@0.22-6, lazyeval@0.2.2, lifecycle@1.0.4, lubridate@1.9.3, magrittr@2.0.3
2025-02-14T21:04:07-05:00 memoise@2.0.1, mime@0.12, miniUI@0.1.1.1, openssl@2.3.2, packrat@0.9.2
2025-02-14T21:04:07-05:00 pillar@1.10.1, pkgbuild@1.4.6, pkgconfig@2.0.3, pkgdown@2.1.1, pkgload@1.4.0
2025-02-14T21:04:07-05:00 PKI@0.1-14, praise@1.0.0, prettyunits@1.2.0, processx@3.8.5, profvis@0.4.0
2025-02-14T21:04:07-05:00 progress@1.2.3, promises@1.3.0, ps@1.8.1, purrr@1.0.2, R6@2.5.1
2025-02-14T21:04:07-05:00 ragg@1.3.3, rappdirs@0.3.3, rcmdcheck@1.4.0, Rcpp@1.0.13-1, readr@2.1.5
2025-02-14T21:04:07-05:00 rematch@2.0.0, remotes@2.5.0, renv@1.0.11, rex@1.2.1, rhub@2.0.0
2025-02-14T21:04:07-05:00 rlang@1.1.5, rmarkdown@2.29, roxygen2@7.3.2, rprojroot@2.0.4, rsconnect@1.3.4
2025-02-14T21:04:07-05:00 RSelenium@1.7.9, rstudioapi@0.17.1, rversions@2.1.2, rvest@1.0.4, sass@0.4.9
2025-02-14T21:04:07-05:00 selectr@0.4-2, semver@0.2.0, sessioninfo@1.2.2, shiny@1.9.1, snakecase@0.11.1
2025-02-14T21:04:07-05:00 sourcetools@0.1.7-1, sp@2.2-0, spelling@2.3.1, stringdist@0.9.15, stringi@1.8.4
2025-02-14T21:04:07-05:00 stringr@1.5.1, sys@3.4.3, systemfonts@1.1.0, testthat@3.2.3, textshaping@0.4.0
2025-02-14T21:04:07-05:00 tibble@3.2.1, tidyr@1.3.1, tidyselect@1.2.1, timechange@0.3.0, tinytex@0.54
2025-02-14T21:04:07-05:00 tzdb@0.4.0, urlchecker@1.0.1, usethis@3.0.0, utf8@1.2.4, vctrs@0.6.5
2025-02-14T21:04:07-05:00 vroom@1.6.5, waldo@0.6.1, wdman@0.2.6, whisker@0.4.1, whoami@1.3.0
2025-02-14T21:04:07-05:00 withr@3.0.2, xfun@0.50, xml2@1.3.6, xopen@1.0.1, xtable@1.8-4
2025-02-14T21:04:07-05:00 yaml@2.3.10, zip@2.3.1
2025-02-14T21:04:07-05:00 1 additional package will be installed from the Internet.
2025-02-14T21:04:07-05:00 renv is not currently supported on Connect Cloud. renv/activate.R has been truncated to avoid accidental usage.
2025-02-14T21:04:07-05:00 Initialized empty Git repository in /tmp/download/yonicd-covrpage/.git/
2025-02-14T21:04:08-05:00 From https://github.com/yonicd/covrpage
2025-02-14T21:04:08-05:00  * branch            bafeb195d1999b8c3a48186e26f59cafcdfa3670 -> FETCH_HEAD
2025-02-14T21:04:08-05:00 HEAD is now at bafeb19 Update tests/README.Rmd
2025-02-14T21:04:08-05:00 fatal: No url found for submodule path 'tests/assets/covrpage_benchmark' in .gitmodules
2025-02-14T21:04:08-05:00 Unable to download package covrpage from GitHub
2025-02-14T21:04:08-05:00 Could not download uncached project dependencies.
2025-02-14T21:04:08-05:00 Failed to publish content: Download of the covrpage package has failed. Check your manifest.json. error_id=05e8ff53-8dc0-4f89-945f-8390c9ee7248

Repo link: GitHub - shiny-meetings/pctalks

I think there is an issue with the covrpage github repository. If you go to covrpage/tests/assets at master · yonicd/covrpage · GitHub you will see that covrpage_benchmark is not a normal directory but is a submodule (the icon is a folder with an arrow in it), but there is no .gitmodules file to tell us the url of that submodule.

I've created an issue on our side to investigate if we should handle this situation in some other way.

1 Like