From ebc89a278b2218f96d05e271630e1ef04d917340 Mon Sep 17 00:00:00 2001 From: Henrique Sposito Date: Tue, 8 Nov 2022 12:13:18 +0100 Subject: [PATCH] Updated readme rendering portion in pushrelease workflows actions --- .github/workflows/pushrelease.yml | 13 ++++++++----- README.md | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pushrelease.yml b/.github/workflows/pushrelease.yml index bc9766b6..8ac24273 100644 --- a/.github/workflows/pushrelease.yml +++ b/.github/workflows/pushrelease.yml @@ -270,14 +270,17 @@ jobs: needs: build runs-on: macOS-latest steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + # Checks-out your repository under $GITHUB_WORKSPACE - uses: actions/checkout@v2 - uses: r-lib/actions/setup-r@v1 - uses: r-lib/actions/setup-pandoc@v1 - - # install packages needed - - name: install required packages - run: Rscript -e 'install.packages("rmarkdown")' + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + cache-version: 2 + extra-packages: | + any::rmarkdown + any::devtools + needs: check # Render README.md using rmarkdown - name: render README diff --git a/README.md b/README.md index 731c8b58..d8ff9edb 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ library(iheiddown) That’s it! `iheiddown` is now installed and ready to go. -### Istalling the Development Version +### Installing the Development Version To get access to the latest features, you may want to install the development version of the package.