Skip to content

Commit

Permalink
Update ggally_cor_v1_5 test
Browse files Browse the repository at this point in the history
  • Loading branch information
92amartins committed Apr 24, 2024
1 parent 7522436 commit 7e0adb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ Suggests:
knitr,
spelling,
emmeans,
vdiffr,
withr (>= 3.0.0)
vdiffr
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
SystemRequirements: openssl
Expand Down
7 changes: 4 additions & 3 deletions tests/testthat/test-deprecated.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
data(tips)

test_that("ggally_cor_v1_5() works", {
withr::local_options(lifecycle_verbosity = "quiet")
expect_silent(
p <- ggally_cor_v1_5(tips, ggplot2::aes(!!as.name("total_bill"), !!as.name("tip")))
lifecycle::expect_deprecated(
{
p <- ggally_cor_v1_5(tips, ggplot2::aes(!!as.name("total_bill"), !!as.name("tip")))
}
)
})

Expand Down

0 comments on commit 7e0adb0

Please sign in to comment.