File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ jobs:
429429 if : >-
430430 inputs.update-r-packages == true
431431 run : |
432- update.packages()
432+ update.packages(ask=FALSE )
433433 shell : Rscript {0}
434434
435435 - name : Run Staged dependencies 🎦
Original file line number Diff line number Diff line change 7676 required : false
7777 default : main
7878 type : string
79+ update-r-packages :
80+ description : |
81+ Whether R packages installed in the container should be updated to their latest version from CRAN/BioC.
82+ required : false
83+ type : boolean
84+ default : false
7985 sd-direction :
8086 description : The direction to use to install staged dependencies. Choose between 'upstream', 'downstream' and 'all'
8187 required : false
@@ -215,6 +221,13 @@ jobs:
215221 key : sd-${{ runner.os }}-${{ github.event.repository.name }}
216222 path : ~/.staged.dependencies
217223
224+ - name : Update R packages 🗓️
225+ if : >-
226+ inputs.update-r-packages == true
227+ run : |
228+ update.packages(ask=FALSE)
229+ shell : Rscript {0}
230+
218231 - name : Run Staged dependencies 🎦
219232 if : >-
220233 inputs.deps-installation-method == 'staged-dependencies'
You can’t perform that action at this time.
0 commit comments