Skip to content

Commit ef90b3a

Browse files
committed
finish up moving shiny apps from demo/ to inst/examples/
1 parent 0c33562 commit ef90b3a

7 files changed

Lines changed: 12 additions & 74 deletions

File tree

R/proxy.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
#' @export
1313
#' @examples
1414
#'
15-
#' demo("proxy-mapbox", package = "plotly")
16-
#' demo("proxy-relayout", package = "plotly")
15+
#'
16+
#' if (require("shiny") && interactive()) {
17+
#' runExample("shiny", "proxy_relayout")
18+
#' runExample("shiny", "proxy_mapbox")
19+
#' }
20+
#'
1721
plotlyProxy <- function(outputId, session = shiny::getDefaultReactiveDomain(),
1822
deferUntilFlush = TRUE) {
1923

demo/proxy-mapbox.R

Lines changed: 0 additions & 27 deletions
This file was deleted.

demo/proxy-relayout.R

Lines changed: 0 additions & 43 deletions
This file was deleted.

man/plotlyProxy.Rd

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)