From 9ef499344f0f3d61a5da0824f5919b3ff4cc9bd8 Mon Sep 17 00:00:00 2001 From: Siddhesh Deodhar Date: Thu, 13 Jun 2024 16:17:45 -0400 Subject: [PATCH] Switch to chromote for Github actions Switch from firefox to chromote for Github actions --- .github/workflows/tests.yaml | 2 +- DESCRIPTION | 3 ++- tests/testthat.R | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bb565b230..348f637f9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -29,7 +29,7 @@ jobs: - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: digest, RJSONIO, gtable, plyr, reshape2, scales, knitr + extra-packages: digest, RJSONIO, gtable, plyr, reshape2, scales, knitr, chromote - name: install package diff --git a/DESCRIPTION b/DESCRIPTION index d9024fe0b..bcbf33c2b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -100,7 +100,8 @@ Suggests: nlme, rpart, svglite, - ggplot2 + ggplot2, + chromote Remotes: ropensci/RSelenium@v1.7.4 License: GPL-3 Encoding: UTF-8 diff --git a/tests/testthat.R b/tests/testthat.R index 212cde4ad..6564e6afe 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -40,9 +40,9 @@ if(filter == ""){ } message(gh.action) if(FALSE){ - tests_init("chrome") -}else if(interactive() | (gh.action == "ENABLED")) { tests_init("firefox") +}else if(interactive() | (gh.action == "ENABLED")) { + tests_init("chromote") } else { tests_init() }