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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.