renamed run_demo_*() funs
This commit is contained in:
parent
5aff3524a2
commit
9481c21d43
|
@ -56,9 +56,9 @@ export(pie_opts)
|
||||||
export(radialBar_opts)
|
export(radialBar_opts)
|
||||||
export(renderApexchart)
|
export(renderApexchart)
|
||||||
export(renderSparkBox)
|
export(renderSparkBox)
|
||||||
export(run_input_demo)
|
export(run_demo_input)
|
||||||
export(run_sparkbox_demo)
|
export(run_demo_sparkbox)
|
||||||
export(run_sync_demo)
|
export(run_demo_sync)
|
||||||
export(set_input_click)
|
export(set_input_click)
|
||||||
export(set_input_selection)
|
export(set_input_selection)
|
||||||
export(set_input_zoom)
|
export(set_input_zoom)
|
||||||
|
|
|
@ -180,12 +180,12 @@ set_input_selection <- function(ax, inputId, type = c("x", "xy", "y"),
|
||||||
#' @examples
|
#' @examples
|
||||||
#' if (interactive()) {
|
#' if (interactive()) {
|
||||||
#'
|
#'
|
||||||
#' run_input_demo("click")
|
#' run_demo_input("click")
|
||||||
#' run_input_demo("zoom")
|
#' run_demo_input("zoom")
|
||||||
#' run_input_demo("selection")
|
#' run_demo_input("selection")
|
||||||
#'
|
#'
|
||||||
#' }
|
#' }
|
||||||
run_input_demo <- function(example = c("click", "zoom", "selection")) {
|
run_demo_input <- function(example = c("click", "zoom", "selection")) {
|
||||||
example <- match.arg(example)
|
example <- match.arg(example)
|
||||||
shiny::shinyAppFile(
|
shiny::shinyAppFile(
|
||||||
appFile = system.file("examples-input", example, "app.R", package = "apexcharter"),
|
appFile = system.file("examples-input", example, "app.R", package = "apexcharter"),
|
||||||
|
@ -205,10 +205,10 @@ run_input_demo <- function(example = c("click", "zoom", "selection")) {
|
||||||
#' @examples
|
#' @examples
|
||||||
#' if (interactive()) {
|
#' if (interactive()) {
|
||||||
#'
|
#'
|
||||||
#' run_sync_demo()
|
#' run_demo_sync()
|
||||||
#'
|
#'
|
||||||
#' }
|
#' }
|
||||||
run_sync_demo <- function() {
|
run_demo_sync <- function() {
|
||||||
shiny::shinyAppFile(
|
shiny::shinyAppFile(
|
||||||
appFile = system.file("example-sync", "app.R", package = "apexcharter"),
|
appFile = system.file("example-sync", "app.R", package = "apexcharter"),
|
||||||
options = list("display.mode" = "showcase")
|
options = list("display.mode" = "showcase")
|
||||||
|
@ -228,7 +228,7 @@ run_sync_demo <- function() {
|
||||||
#' run_sparkbox_demo()
|
#' run_sparkbox_demo()
|
||||||
#'
|
#'
|
||||||
#' }
|
#' }
|
||||||
run_sparkbox_demo <- function() {
|
run_demo_sparkbox <- function() {
|
||||||
shiny::shinyAppFile(
|
shiny::shinyAppFile(
|
||||||
appFile = system.file("example-spark", "app.R", package = "apexcharter"),
|
appFile = system.file("example-spark", "app.R", package = "apexcharter"),
|
||||||
options = list("display.mode" = "showcase")
|
options = list("display.mode" = "showcase")
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
% Generated by roxygen2: do not edit by hand
|
% Generated by roxygen2: do not edit by hand
|
||||||
% Please edit documentation in R/shiny-input.R
|
% Please edit documentation in R/shiny-input.R
|
||||||
\name{run_input_demo}
|
\name{run_demo_input}
|
||||||
\alias{run_input_demo}
|
\alias{run_demo_input}
|
||||||
\title{Run Shiny input events examples}
|
\title{Run Shiny input events examples}
|
||||||
\usage{
|
\usage{
|
||||||
run_input_demo(example = c("click", "zoom", "selection"))
|
run_demo_input(example = c("click", "zoom", "selection"))
|
||||||
}
|
}
|
||||||
\arguments{
|
\arguments{
|
||||||
\item{example}{Name of the example.}
|
\item{example}{Name of the example.}
|
||||||
|
@ -15,9 +15,9 @@ Run Shiny input events examples
|
||||||
\examples{
|
\examples{
|
||||||
if (interactive()) {
|
if (interactive()) {
|
||||||
|
|
||||||
run_input_demo("click")
|
run_demo_input("click")
|
||||||
run_input_demo("zoom")
|
run_demo_input("zoom")
|
||||||
run_input_demo("selection")
|
run_demo_input("selection")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
% Generated by roxygen2: do not edit by hand
|
% Generated by roxygen2: do not edit by hand
|
||||||
% Please edit documentation in R/shiny-input.R
|
% Please edit documentation in R/shiny-input.R
|
||||||
\name{run_sparkbox_demo}
|
\name{run_demo_sparkbox}
|
||||||
\alias{run_sparkbox_demo}
|
\alias{run_demo_sparkbox}
|
||||||
\title{Run Shiny spark boxes example}
|
\title{Run Shiny spark boxes example}
|
||||||
\usage{
|
\usage{
|
||||||
run_sparkbox_demo()
|
run_demo_sparkbox()
|
||||||
}
|
}
|
||||||
\description{
|
\description{
|
||||||
Run Shiny spark boxes example
|
Run Shiny spark boxes example
|
|
@ -1,10 +1,10 @@
|
||||||
% Generated by roxygen2: do not edit by hand
|
% Generated by roxygen2: do not edit by hand
|
||||||
% Please edit documentation in R/shiny-input.R
|
% Please edit documentation in R/shiny-input.R
|
||||||
\name{run_sync_demo}
|
\name{run_demo_sync}
|
||||||
\alias{run_sync_demo}
|
\alias{run_demo_sync}
|
||||||
\title{Run Shiny synchronization example}
|
\title{Run Shiny synchronization example}
|
||||||
\usage{
|
\usage{
|
||||||
run_sync_demo()
|
run_demo_sync()
|
||||||
}
|
}
|
||||||
\description{
|
\description{
|
||||||
Run Shiny synchronization example
|
Run Shiny synchronization example
|
||||||
|
@ -12,7 +12,7 @@ Run Shiny synchronization example
|
||||||
\examples{
|
\examples{
|
||||||
if (interactive()) {
|
if (interactive()) {
|
||||||
|
|
||||||
run_sync_demo()
|
run_demo_sync()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue