miraisolutions/r-techguides

private non-CRAN dependencies for Shiny app (w/ {renv} + Docker)

Opened this issue · 1 comments

https://github.com/miraisolutions/techguides/blob/5f0ffe41b84cda48785339908f4e8c904b43adfd/shiny-ci-cd.Rmd#L234

I am very interested in this section. Have you developed some best-practices or recommendations regarding how to include private non-CRAN dependencies too (especially on projects/apps/pkgs using both {renv} and Docker)?

Hi @CorradoLanera, good point, it is probably worth mentioning this aspect and pointing to the various ways renv can work with access tokens / credentials, as described in https://rstudio.github.io/renv/articles/renv.html#authentication, perhaps with a concrete example about GH and GH Actions / Docker.