diff --git a/R/shiny-input.R b/R/shiny-input.R index 54be0f4..52693bc 100644 --- a/R/shiny-input.R +++ b/R/shiny-input.R @@ -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") ) } diff --git a/inst/example-brush-proxy/app.R b/inst/examples/brush-proxy/app.R similarity index 100% rename from inst/example-brush-proxy/app.R rename to inst/examples/brush-proxy/app.R diff --git a/inst/example-brush-proxy/rsconnect/shinyapps.io/dreamrs/example-brush-proxy.dcf b/inst/examples/brush-proxy/rsconnect/shinyapps.io/dreamrs/example-brush-proxy.dcf similarity index 100% rename from inst/example-brush-proxy/rsconnect/shinyapps.io/dreamrs/example-brush-proxy.dcf rename to inst/examples/brush-proxy/rsconnect/shinyapps.io/dreamrs/example-brush-proxy.dcf diff --git a/inst/example-brush/app.R b/inst/examples/brush/app.R similarity index 100% rename from inst/example-brush/app.R rename to inst/examples/brush/app.R diff --git a/inst/examples-input/click/app.R b/inst/examples/input/click/app.R similarity index 100% rename from inst/examples-input/click/app.R rename to inst/examples/input/click/app.R diff --git a/inst/examples-input/selection/app.R b/inst/examples/input/selection/app.R similarity index 100% rename from inst/examples-input/selection/app.R rename to inst/examples/input/selection/app.R diff --git a/inst/examples-input/zoom/app.R b/inst/examples/input/zoom/app.R similarity index 100% rename from inst/examples-input/zoom/app.R rename to inst/examples/input/zoom/app.R diff --git a/inst/examples-proxy/bar-auto/server.R b/inst/examples/proxy/bar-auto/server.R similarity index 100% rename from inst/examples-proxy/bar-auto/server.R rename to inst/examples/proxy/bar-auto/server.R diff --git a/inst/examples-proxy/bar-auto/ui.R b/inst/examples/proxy/bar-auto/ui.R similarity index 100% rename from inst/examples-proxy/bar-auto/ui.R rename to inst/examples/proxy/bar-auto/ui.R diff --git a/inst/examples-proxy/gauge-auto/app.R b/inst/examples/proxy/gauge-auto/app.R similarity index 100% rename from inst/examples-proxy/gauge-auto/app.R rename to inst/examples/proxy/gauge-auto/app.R diff --git a/inst/example-spark/app.R b/inst/examples/spark/app.R similarity index 100% rename from inst/example-spark/app.R rename to inst/examples/spark/app.R diff --git a/inst/example-sync/app.R b/inst/examples/sync/app.R similarity index 100% rename from inst/example-sync/app.R rename to inst/examples/sync/app.R