From 805e44149956ad55f008e5b9c26dc7dedbf4ea08 Mon Sep 17 00:00:00 2001 From: pvictor Date: Mon, 2 Nov 2020 11:30:44 +0100 Subject: [PATCH] fixed examples with run_demo_* --- R/shiny-input.R | 6 +++--- man/run_demo_sparkbox.Rd | 2 +- man/set_input_click.Rd | 2 +- man/set_input_zoom.Rd | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/shiny-input.R b/R/shiny-input.R index d5b25f3..1dbeaee 100644 --- a/R/shiny-input.R +++ b/R/shiny-input.R @@ -38,7 +38,7 @@ #' # Interactive examples: #' if (interactive()) { #' -#' run_input_demo("click") +#' run_demo_input("click") #' #' } set_input_click <- function(ax, inputId, multiple = FALSE, @@ -81,7 +81,7 @@ set_input_click <- function(ax, inputId, multiple = FALSE, #' @examples #' if (interactive()) { #' -#' run_input_demo("zoom") +#' run_demo_input("zoom") #' #' } set_input_zoom <- function(ax, inputId, @@ -254,7 +254,7 @@ run_demo_sync <- function() { #' @examples #' if (interactive()) { #' -#' run_sparkbox_demo() +#' run_demo_sparkbox() #' #' } run_demo_sparkbox <- function() { diff --git a/man/run_demo_sparkbox.Rd b/man/run_demo_sparkbox.Rd index 645cfd0..f255da0 100644 --- a/man/run_demo_sparkbox.Rd +++ b/man/run_demo_sparkbox.Rd @@ -12,7 +12,7 @@ Run Shiny spark boxes example \examples{ if (interactive()) { - run_sparkbox_demo() + run_demo_sparkbox() } } diff --git a/man/set_input_click.Rd b/man/set_input_click.Rd index 9f1b059..db24c5d 100644 --- a/man/set_input_click.Rd +++ b/man/set_input_click.Rd @@ -58,7 +58,7 @@ data.frame( # Interactive examples: if (interactive()) { - run_input_demo("click") + run_demo_input("click") } } diff --git a/man/set_input_zoom.Rd b/man/set_input_zoom.Rd index 712d231..a1988e9 100644 --- a/man/set_input_zoom.Rd +++ b/man/set_input_zoom.Rd @@ -25,7 +25,7 @@ If x-axis is of type datetime, value retrieved is of class \code{POSIXct}. \examples{ if (interactive()) { - run_input_demo("zoom") + run_demo_input("zoom") } }