Skip to content

Commit

Permalink
[skip style] [skip vbump] Restyle files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 14, 2024
1 parent e86e19f commit c2bc50d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions vignettes/decorate-multiple-modules-outputs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,29 @@ tm_decorated_plot <- function(
q1_1 <- reactive({
req(input$dataname, input$x, input$y)
within(data(),
{
plot_1 <- ggplot2::ggplot(dataname, ggplot2::aes(x = x, y = y)) +
ggplot2::geom_point() +
ggtitle("plot 1")
},
dataname = as.name(input$dataname),
x = as.name(input$x),
y = as.name(input$y)
)
{
plot_1 <- ggplot2::ggplot(dataname, ggplot2::aes(x = x, y = y)) +
ggplot2::geom_point() +
ggtitle("plot 1")
},
dataname = as.name(input$dataname),
x = as.name(input$x),
y = as.name(input$y)
)
})
q2_1 <- reactive({
req(input$dataname, input$x, input$y)
within(data(),
{
plot_2 <- ggplot2::ggplot(dataname, ggplot2::aes(x = x, y = y)) +
ggplot2::geom_point() +
ggtitle("plot 2")
},
dataname = as.name(input$dataname),
x = as.name(input$x),
y = as.name(input$y)
)
{
plot_2 <- ggplot2::ggplot(dataname, ggplot2::aes(x = x, y = y)) +
ggplot2::geom_point() +
ggtitle("plot 2")
},
dataname = as.name(input$dataname),
x = as.name(input$x),
y = as.name(input$y)
)
})
q1_2 <- srv_transform_data("decorate_1", data = q1_1, data_module = decorator_objs[[1]], modules = module())
Expand Down

0 comments on commit c2bc50d

Please sign in to comment.