1- # dev cmd check workflow of the mlr3 ecosystem v0.2 .0
1+ # dev cmd check workflow of the mlr3 ecosystem v0.4 .0
22# https://github.com/mlr-org/actions
3+ # modified to use supercharge/redis-github-action@1.7.0
34on :
45 workflow_dispatch :
6+ inputs :
7+ debug_enabled :
8+ type : boolean
9+ description : ' Run the build with tmate debugging enabled'
10+ required : false
11+ default : false
512 push :
613 branches :
714 - main
2633 config :
2734 - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/bbotk'}
2835 - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3'}
36+ - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3misc'}
2937 - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3tuning'}
30- - {os: ubuntu-latest, r: 'release', dev-package: "mlr-org/mlr3tuning', ' mlr-org/mlr3learners', 'mlr-org/mlr3pipelines', 'mlr-org/bbotk', 'mlr-org/ paradox" }
38+ - {os: ubuntu-latest, r: 'release', dev-package: ' mlr-org/paradox' }
3139
3240 steps :
3341 - uses : actions/checkout@v3
@@ -46,12 +54,17 @@ jobs:
4654 with :
4755 extra-packages : any::rcmdcheck
4856 needs : check
57+ error-on : ' "note"'
4958
5059 - name : Install dev versions
51- run : pak::pkg_install(c( '${{ matrix.config.dev-package }}') )
60+ run : pak::pkg_install('${{ matrix.config.dev-package }}')
5261 shell : Rscript {0}
5362
54- - uses : r-lib/actions/check-r-package@v2
63+ - uses : mxschmitt/action-tmate@v3
64+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
5565 with :
56- args : ' c("--no-manual") ' # "--as-cran" prevents to start external processes
66+ limit-access-to-actor : true
5767
68+ - uses : r-lib/actions/check-r-package@v2
69+ with :
70+ args : ' c("--no-manual", "--as-cran")'
0 commit comments