knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
eval = FALSE
)
library(electricShine)
buildPath <- tempdir()

my_package <-  system.file("demoApp", package = "electricShine")

electricShine::electrify(app_name = "My_App2",
                         short_description = "My demo application",
                         semantic_version = "1.0.0",
                         build_path = buildPath,
                         cran_like_url = "https://cran.r-project.org",
                         function_name = "run_app",
                         local_package_path = my_package,
                         package_install_opts = list(type = "binary"))


chasemc/electricShine documentation built on Oct. 12, 2022, 8:50 a.m.