moved examples files in inst/

This commit is contained in:
pvictor 2021-05-11 10:18:08 +02:00
parent 28931d2887
commit 8fa55a9f53
No known key found for this signature in database
GPG Key ID: 31124C9F3F9268B8
12 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ set_input_export <- function(ax, inputId,
run_demo_input <- function(example = c("click", "zoom", "selection")) {
example <- match.arg(example)
shiny::shinyAppFile(
appFile = system.file("examples-input", example, "app.R", package = "apexcharter"),
appFile = system.file("examples/input", example, "app.R", package = "apexcharter"),
options = list("display.mode" = "showcase")
)
}
@ -239,7 +239,7 @@ run_demo_input <- function(example = c("click", "zoom", "selection")) {
#' }
run_demo_sync <- function() {
shiny::shinyAppFile(
appFile = system.file("example-sync", "app.R", package = "apexcharter"),
appFile = system.file("examples/sync", "app.R", package = "apexcharter"),
options = list("display.mode" = "showcase")
)
}
@ -259,7 +259,7 @@ run_demo_sync <- function() {
#' }
run_demo_sparkbox <- function() {
shiny::shinyAppFile(
appFile = system.file("example-spark", "app.R", package = "apexcharter"),
appFile = system.file("examples/spark", "app.R", package = "apexcharter"),
options = list("display.mode" = "showcase")
)
}