-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we not run R CMD Check on devel? #154
Comments
@pharmaverse/admiral Hi team. This is a pretty easy update to the CI workflows. If you want to try a little CI magik then this issue is for you!!! https://github.com/pharmaverse/admiralci/blob/main/.github/workflows/r-cmd-check.yml |
Hey everyone !
But I suppose it's a behavior we will have quite often, since devel will contains dependencies updated from CRAN directly I expect that we will have often this kind of errors related to updated dependencies ? |
Thanks @dgrassellyb!! I think switching it to warnings make sense. The |
I wouldn't recommend switching to warnings for the |
Agree with @cicdguy . Best to stay ahead of any breaking changes in R-devel before they are an emergency 🚨 🚨 🚨 |
Okay so leave as Error but have it not be a Required check? Or should we always fix errors in |
I'd say to not have it as a required check given that |
Think the trouble is that it can either be:
So agreed the not-required check is probably best option so that we do see it, but take action on a case-to-case basis, I don't imagine this comes up too often though |
I think it's fine to not make it required. Most failures that only occur on devel have nothing to do with the submitted PR. |
If not, we should!
Clarification
By
devel
, @ddsjoberg means thedevel
version of R, that is the unreleased, active development version of R (which is 4.4 as of this writing).We ought to create a new image for R devel by using the
rocker/rstudio:devel
image as the base, and installing packages/dependencies directly from CRAN instead of anrenv.lock
file. Since the dependencies from CRAN will go through a continuous update process, we need to runupdate.packages()
before runningR CMD check
or other operations. Note that this will be a one-time effort of creating thedevel
image, as therocker/rstudio:devel
image will always fetch the latestdevel
version of R. Also if you run the image creation process on a regular basis (assuming one in 2 weeks), you can always keep thedevel
version up-to-date and not have to worry about updating it ever again.And then, the workflows within this repo should be updated to include the
devel
list item in the matrix. Note that this is only needed forR CMD check
and not other workflows.The text was updated successfully, but these errors were encountered: