From c6186521c9ff2455ba544474e0eedb20df695e39 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 9 Jul 2026 09:50:12 -0700 Subject: [PATCH] ':::' unneeded for calc_element --- tests/testthat/test-theme.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-theme.R b/tests/testthat/test-theme.R index a6272c6e2a..aa85b813da 100644 --- a/tests/testthat/test-theme.R +++ b/tests/testthat/test-theme.R @@ -158,8 +158,8 @@ test_that("calculating theme element inheritance works", { theme <- theme_gray() + theme(strip.text = element_blank(), strip.text.x = element_text(inherit.blank = TRUE)) - e1 <- ggplot2:::calc_element("strip.text.x", theme) - e2 <- ggplot2:::calc_element("strip.text", theme) + e1 <- calc_element("strip.text.x", theme) + e2 <- calc_element("strip.text", theme) expect_identical(e1, e2) # Check that rel units are computed appropriately