Skip to content

Commit e2fae51

Browse files
committed
more gha details
1 parent 8bd4613 commit e2fae51

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
run: |
9494
pak::pak("shinytest")
9595
shinytest::installDependencies()
96+
pak::pak()
9697
shell: Rscript {0}
9798

9899
- name: Install dependencies
@@ -111,8 +112,9 @@ jobs:
111112
# Run test() before R CMD check since, for some reason, rcmdcheck::rcmdcheck() skips vdiffr tests
112113
- name: Run Tests
113114
run: |
114-
if (!require(devtools)) install.packages("devtools")
115-
devtools::install()
115+
options(crayon.enabled = TRUE)
116+
if (!require(devtools)) pak::pak("devtools")
117+
if (!require(reshape2)) pak::pak("reshape2")
116118
res <- devtools::test()
117119
df <- as.data.frame(res)
118120
if (sum(df$failed) > 0 || any(df$error)) stop("GHA CI tests failed")

0 commit comments

Comments
 (0)