diff --git a/examples/style.yaml b/examples/style.yaml index a8600065..75980554 100644 --- a/examples/style.yaml +++ b/examples/style.yaml @@ -26,11 +26,9 @@ jobs: with: use-public-rspm: true - - name: Install dependencies - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::styler, any::roxygen2 - needs: styler + - name: Install styler and roxygen2 + run: install.packages(c("styler", "roxygen2")) + shell: Rscript {0} - name: Enable styler cache run: styler::cache_activate()