-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use latest renv version #362
Use latest renv version #362
Conversation
Signed-off-by: sara castellano <[email protected]>
pipeline-runner/Dockerfile
Outdated
@@ -20,7 +20,7 @@ RUN echo ".libPaths(c('$RENV_LIB', .libPaths()))" >> $(R RHOME)/etc/Rprofile.sit | |||
|
|||
# install renv to install required R packages | |||
RUN R -q -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))" && \ | |||
R -q -e "remotes::install_github('rstudio/renv@0.16.0')" && \ | |||
R -q -e "remotes::install_github('rstudio/renv')" && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should fix the version to latest here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
be mindful that they changed the way they write versions. Now it's like "v1.0.5"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you will probably need to update the config files in the .renv directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok thanks, done
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #362 +/- ##
=======================================
Coverage 80.46% 80.46%
=======================================
Files 29 29
Lines 3087 3087
=======================================
Hits 2484 2484
Misses 603 603 ☔ View full report in Codecov by Sentry. |
Signed-off-by: sara castellano <[email protected]>
…pgrade-renv Signed-off-by: sara castellano <[email protected]>
Signed-off-by: sara castellano <[email protected]>
Description
This change modifies the Dockerfile to install the latest version of
renv
from GitHub instead of using a fixed version.This was done because the pipeline build was failing locally.
Details
URL to issue
N/A
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR
Integration test branch
master
Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.
Code updates
Have best practices and ongoing refactors being observed in this PR
Manual/unit testing
Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.
Documentation updates
Optional