From 79df8b987652b6b510798d0c2690f48b5a4c06cf Mon Sep 17 00:00:00 2001 From: David Wilkins Date: Wed, 31 Jan 2024 17:55:35 +1030 Subject: [PATCH] Get the name of the function right --- tests/testthat/test-richtext.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-richtext.R b/tests/testthat/test-richtext.R index 6d0cbfe..4cc5ca4 100644 --- a/tests/testthat/test-richtext.R +++ b/tests/testthat/test-richtext.R @@ -2,7 +2,7 @@ library(ggplot2) test_that("geom_fit_text() plots with rich text", { - skip_if_os(c("windows", "linux")) + skip_on_os(c("windows", "linux")) expect_doppelganger("Basic rich text", { ggplot(animals_rich, aes(x = type, y = flies, label = animal)) + @@ -60,7 +60,7 @@ test_that("geom_fit_text() plots with rich text", { test_that("geom_bar_text() plots with rich text", { - skip_if_os(c("windows", "linux")) + skip_on_os(c("windows", "linux")) expect_doppelganger("Basic bar plot with rich text", { ggplot(beverages_rich, aes(x = beverage, y = proportion, label = ingredient,