diff --git a/.github/workflows/render-rmarkdown.yaml b/.github/workflows/render-rmarkdown.yaml index 3c62ad30..0fb7dd7c 100644 --- a/.github/workflows/render-rmarkdown.yaml +++ b/.github/workflows/render-rmarkdown.yaml @@ -27,7 +27,7 @@ jobs: run: sudo apt-get install -y libgit2-dev # install CRAN packages used inside README.Rmd - name: install required packages - run: Rscript -e 'install.packages(c("rmarkdown", "covr", "gert", "knitr", "devtools"))' + run: Rscript -e 'install.packages("remotes");remotes::install_cran(c("rmarkdown", "covr", "gert", "knitr", "devtools"), repos = "https://packagemanager.posit.co/cran/__linux__/jammy/latest")' # Render READEME.md using rmarkdown - name: render README run: Rscript -e 'rmarkdown::render("README.Rmd", output_format = "md_document")'