Skip to content
Permalink
Browse files

add shiny example to add_shiny roxygen

  • Loading branch information
timelyportfolio committed Aug 30, 2016
1 parent d3239b4 commit 4f72b6e9c12d23ff24f40828747ccbdce9ce075b
Showing with 53 additions and 0 deletions.
  1. +1 −0 R/shiny.R
  2. +3 −0 inst/examples/example_shiny.R
  3. +49 −0 man/add_shiny.Rd
@@ -5,6 +5,7 @@
#'
#' @return \code{sunburst} htmlwidget
#' @export
#' @example ./inst/examples/example_shiny.R
add_shiny <- function(sunburst = NULL){
stopifnot(!is.null(sunburst),inherits(sunburst,"sunburst"))

@@ -1,3 +1,5 @@
\dontrun{

library(shiny)
library(sunburstR)

@@ -42,3 +44,4 @@ ui<-fluidPage(
)

shinyApp(ui = ui, server = server)
}

Some generated files are not rendered by default. Learn more.

0 comments on commit 4f72b6e

Please sign in to comment.
You can’t perform that action at this time.