We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bd4613 commit e2fae51Copy full SHA for e2fae51
.github/workflows/R-CMD-check.yaml
@@ -93,6 +93,7 @@ jobs:
93
run: |
94
pak::pak("shinytest")
95
shinytest::installDependencies()
96
+ pak::pak()
97
shell: Rscript {0}
98
99
- name: Install dependencies
@@ -111,8 +112,9 @@ jobs:
111
112
# Run test() before R CMD check since, for some reason, rcmdcheck::rcmdcheck() skips vdiffr tests
113
- name: Run Tests
114
- if (!require(devtools)) install.packages("devtools")
115
- devtools::install()
+ options(crayon.enabled = TRUE)
116
+ if (!require(devtools)) pak::pak("devtools")
117
+ if (!require(reshape2)) pak::pak("reshape2")
118
res <- devtools::test()
119
df <- as.data.frame(res)
120
if (sum(df$failed) > 0 || any(df$error)) stop("GHA CI tests failed")
0 commit comments