The goal of {spoiler} is to blur any HTML elements
(text, plots, etc.) in R Shiny apps, so that spoilers are avoided.
You can install the GitHub version of {spoiler}
with:
# install.packages("devtools")
devtools::install_github("etiennebacher/spoiler")library(shiny)
library(spoiler)
# works better in browser
ui <- fluidPage(
use_spoiler(),
column(
4,
spoiler(plotOutput("test"))
),
hide_spoilers(max = 10, partial = 4)
)
server <- function(input, output, session) {
output$test <- renderPlot(plot(mtcars$mpg))
}
shinyApp(ui, server)
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.