From 1721ea4a18b6b53af9f957649cc2d3139906465b Mon Sep 17 00:00:00 2001 From: Melkiades Date: Mon, 18 Nov 2024 16:18:19 +0100 Subject: [PATCH] fix: tibble in tests --- tests/testthat/test-binding.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-binding.R b/tests/testthat/test-binding.R index 12b30cea6..261a85748 100644 --- a/tests/testthat/test-binding.R +++ b/tests/testthat/test-binding.R @@ -213,7 +213,10 @@ test_that("count visibility syncing works when cbinding", { ## cause problems with any of the column info checks test_that("equivalent split funs withs differrent environments dont' block rbinding", { - combodf <- tibble::tribble( + skip_if_not_installed("tibble") + require(tibble, quietly = TRUE) + + combodf <- tribble( ~valname, ~label, ~levelcombo, ~exargs, "A_B", "Arms A+B", c("A: Drug X", "B: Placebo"), list(), "A_C", "Arms A+C", c("A: Drug X", "C: Combination"), list()