fixed examples with run_demo_*
This commit is contained in:
parent
9fb6a7b341
commit
805e441499
|
@ -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() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ Run Shiny spark boxes example
|
||||||
\examples{
|
\examples{
|
||||||
if (interactive()) {
|
if (interactive()) {
|
||||||
|
|
||||||
run_sparkbox_demo()
|
run_demo_sparkbox()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ data.frame(
|
||||||
# Interactive examples:
|
# Interactive examples:
|
||||||
if (interactive()) {
|
if (interactive()) {
|
||||||
|
|
||||||
run_input_demo("click")
|
run_demo_input("click")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue