From fa00bcbebb412c64a9f9429972dbc7d900f9bc28 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Mon, 9 Sep 2024 11:55:38 -0400 Subject: [PATCH] Add `if (FALSE) library(shinycoreci)` statements to have pkg dep be found --- .../tests/testthat/test-shinytest2.R | 1 + .../tests/testthat/test-313-bslib-card-tab-focus.R | 1 + .../314-bslib-tooltips/tests/testthat/test-314-bslib-tooltips.R | 1 + .../316-bslib-popovers/tests/testthat/test-316-bslib-popovers.R | 1 + 4 files changed, 4 insertions(+) diff --git a/inst/apps/311-bslib-sidebar-toggle-methods/tests/testthat/test-shinytest2.R b/inst/apps/311-bslib-sidebar-toggle-methods/tests/testthat/test-shinytest2.R index b9a2c138ac..e1eddcff03 100644 --- a/inst/apps/311-bslib-sidebar-toggle-methods/tests/testthat/test-shinytest2.R +++ b/inst/apps/311-bslib-sidebar-toggle-methods/tests/testthat/test-shinytest2.R @@ -1,4 +1,5 @@ library(shinytest2) +if (FALSE) library(shinycoreci) # for renv # Only take screenshots on mac + r-release to reduce diff noise release <- rversions::r_release()$version diff --git a/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R b/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R index 5065317bbd..c1bb4c5f2e 100644 --- a/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R +++ b/inst/apps/313-bslib-card-tab-focus/tests/testthat/test-313-bslib-card-tab-focus.R @@ -1,4 +1,5 @@ library(shinytest2) +if (FALSE) library(shinycoreci) # for renv # Only take screenshots on mac + r-release to reduce diff noise release <- rversions::r_release()$version diff --git a/inst/apps/314-bslib-tooltips/tests/testthat/test-314-bslib-tooltips.R b/inst/apps/314-bslib-tooltips/tests/testthat/test-314-bslib-tooltips.R index c9680e564f..57761b9fd4 100644 --- a/inst/apps/314-bslib-tooltips/tests/testthat/test-314-bslib-tooltips.R +++ b/inst/apps/314-bslib-tooltips/tests/testthat/test-314-bslib-tooltips.R @@ -1,4 +1,5 @@ library(shinytest2) +if (FALSE) library(shinycoreci) # for renv source(system.file("helpers", "keyboard.R", package = "shinycoreci")) diff --git a/inst/apps/316-bslib-popovers/tests/testthat/test-316-bslib-popovers.R b/inst/apps/316-bslib-popovers/tests/testthat/test-316-bslib-popovers.R index 545157385b..67267cf857 100644 --- a/inst/apps/316-bslib-popovers/tests/testthat/test-316-bslib-popovers.R +++ b/inst/apps/316-bslib-popovers/tests/testthat/test-316-bslib-popovers.R @@ -1,4 +1,5 @@ library(shinytest2) +if (FALSE) library(shinycoreci) # for renv # Only take screenshots on mac + r-release to reduce diff noise release <- rversions::r_release()$version