Skip to content

Commit 01df437

Browse files
Fix CI failures (#4046)
1 parent 628f264 commit 01df437

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: R-CMD-check
1010

1111
# Increment this version when we want to clear cache
1212
env:
13-
cache-version: v1
13+
cache-version: v2
1414

1515
jobs:
1616
R-CMD-check:
@@ -77,6 +77,11 @@ jobs:
7777
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
7878
sudo -s eval "$sysreqs"
7979
80+
# Remove this when the new rmarkdown is released on CRAN
81+
- name: "Workaround for rstudio/rmarkdown#1831"
82+
if: runner.os == 'Linux' && matrix.config.r < '3.6'
83+
run: Rscript -e "remotes::install_github('rstudio/rmarkdown')"
84+
8085
- name: Install system dependencies on macOS
8186
if: runner.os == 'macOS'
8287
run: |

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ env:
2626
# switch off vdiffr by default
2727
- VDIFFR_RUN_TESTS=false
2828

29+
# Workaround for rstudio/rmarkdown#1831
30+
r_github_packages: rstudio/rmarkdown
31+
2932
after_success:
3033
- Rscript -e 'covr::codecov()'
3134

0 commit comments

Comments
 (0)