Skip to content

Commit

Permalink
tests: dont use ggiraphOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Feb 11, 2024
1 parent 87deaaf commit 239de33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/tinytest/test-ggiraph.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ library(xml2)

# ggiraphOutput ----
{
result <- ggiraphOutput("foo")
result <- girafeOutput("foo")
expect_inherits(result, "shiny.tag.list")
}

if (requireNamespace("httpuv", quietly = TRUE)) {
# renderggiraph ----
{
result <- renderggiraph(ggiraph({
result <- renderGirafe(ggiraph({
print(ggplot())
}))
expect_inherits(result, "shiny.render.function")
Expand Down

0 comments on commit 239de33

Please sign in to comment.