You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I would like to set up a basic pipeline to check my R package after I made a push or pull request.
The reprex I generated leads to a download loop of the pacman and remotes packages, until the process crashes due to memory limitation and the packages not being available.
The interesting thing is, that the packages always get downloaded with any R command I try.
I already tried rocker/tidyverse and rocker/verse with different versions. Nothing helped.
This is my reprex:
name: 'Document and check'
- Rscript -e 'options(repos = c(CRAN = "https://cran.rstudio.com/"))'
- Rscript -e 'install.packages(c("remotes"))'
- Rscript -e 'devtools::install(upgrade = "Never")'
- Rscript -e 'devtools::document()'
- Rscript -e 'devtools::check()'
Hi FD and welcome to the community!
I am not familiar with R, I just wanted to suggest that you can debug this locally with Docker as per the guide we have here:
This way you can see if the errors seem to be specific to the build running in Pipelines or not.
In case the build needs more memory, you can configure a step to use more memory: