We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1308282 commit 7f99f19Copy full SHA for 7f99f19
man/ggplotly.Rd
@@ -4,7 +4,7 @@
4
\alias{ggplotly}
5
\title{Create plotly graphs using ggplot2 syntax}
6
\usage{
7
-ggplotly(p = last_plot())
+ggplotly(p = ggplot2::last_plot())
8
}
9
\arguments{
10
\item{p}{a ggplot object.}
tests/testthat/test-plotly-knitr.R
@@ -9,7 +9,7 @@ ggplotly(p)
"
test_that("plotly embeds inside knitr", {
11
html <- knitr::knit2html(text = txt)
12
- expect_true(grepl("<iframe", html))
+ expect_true(grepl("iframe", html))
13
})
14
15
# If you want to interactively see the result
0 commit comments