Skip to content

Commit 4f66dc3

Browse files
committed
No partial-argument-match warning in ggplotly
1 parent 4d957ab commit 4f66dc3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/testthat/test-ggplot-warnings.R

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
3+
test_that("ggplotly does not issue partial-argument-match warning", {
4+
p <- ggplot(data.frame())
5+
rlang::scoped_options(warnPartialMatchArgs = TRUE)
6+
expect_warning(ggplotly(p), regexp = NA)
7+
})

0 commit comments

Comments
 (0)