Skip to content

Commit

Permalink
Fix CI failures (#4046)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation authored Jun 9, 2020
1 parent 628f264 commit 01df437
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: R-CMD-check

# Increment this version when we want to clear cache
env:
cache-version: v1
cache-version: v2

jobs:
R-CMD-check:
Expand Down Expand Up @@ -77,6 +77,11 @@ jobs:
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
sudo -s eval "$sysreqs"
# Remove this when the new rmarkdown is released on CRAN
- name: "Workaround for rstudio/rmarkdown#1831"
if: runner.os == 'Linux' && matrix.config.r < '3.6'
run: Rscript -e "remotes::install_github('rstudio/rmarkdown')"

- name: Install system dependencies on macOS
if: runner.os == 'macOS'
run: |
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ env:
# switch off vdiffr by default
- VDIFFR_RUN_TESTS=false

# Workaround for rstudio/rmarkdown#1831
r_github_packages: rstudio/rmarkdown

after_success:
- Rscript -e 'covr::codecov()'

Expand Down

0 comments on commit 01df437

Please sign in to comment.