fixed examples with run_demo_*

This commit is contained in:
pvictor 2020-11-02 11:30:44 +01:00
parent 9fb6a7b341
commit 805e441499
4 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@
#' # Interactive examples: #' # Interactive examples:
#' if (interactive()) { #' if (interactive()) {
#' #'
#' run_input_demo("click") #' run_demo_input("click")
#' #'
#' } #' }
set_input_click <- function(ax, inputId, multiple = FALSE, set_input_click <- function(ax, inputId, multiple = FALSE,
@ -81,7 +81,7 @@ set_input_click <- function(ax, inputId, multiple = FALSE,
#' @examples #' @examples
#' if (interactive()) { #' if (interactive()) {
#' #'
#' run_input_demo("zoom") #' run_demo_input("zoom")
#' #'
#' } #' }
set_input_zoom <- function(ax, inputId, set_input_zoom <- function(ax, inputId,
@ -254,7 +254,7 @@ run_demo_sync <- function() {
#' @examples #' @examples
#' if (interactive()) { #' if (interactive()) {
#' #'
#' run_sparkbox_demo() #' run_demo_sparkbox()
#' #'
#' } #' }
run_demo_sparkbox <- function() { run_demo_sparkbox <- function() {

View File

@ -12,7 +12,7 @@ Run Shiny spark boxes example
\examples{ \examples{
if (interactive()) { if (interactive()) {
run_sparkbox_demo() run_demo_sparkbox()
} }
} }

View File

@ -58,7 +58,7 @@ data.frame(
# Interactive examples: # Interactive examples:
if (interactive()) { if (interactive()) {
run_input_demo("click") run_demo_input("click")
} }
} }

View File

@ -25,7 +25,7 @@ If x-axis is of type datetime, value retrieved is of class \code{POSIXct}.
\examples{ \examples{
if (interactive()) { if (interactive()) {
run_input_demo("zoom") run_demo_input("zoom")
} }
} }