Skip to content

Commit a53e36c

Browse files
authored
Merge pull request #1253 from cmu-delphi/survey-tests-robust-no-cache
Make survey tests robust to not having a restore cache
2 parents 0c0ca18 + d1c063b commit a53e36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/r-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
${{ runner.os }}-r-facebook-survey-
4949
- name: Install R dependencies
5050
run: |
51-
if ( packageVersion("readr") != "1.4.0" ) {
51+
if ( !require("readr") || packageVersion("readr") != "1.4.0" ) {
5252
install.packages("devtools")
5353
devtools::install_version("readr", version = "1.4.0")
5454
}

0 commit comments

Comments
 (0)