modify_background_js: Modify background.js to include the call to the shiny app

View source: R/modify_backgroundjs.R

modify_background_jsR Documentation

Modify background.js to include the call to the shiny app

Description

Modify background.js to include the call to the shiny app

Usage

modify_background_js(background_js_path, my_package_name, function_name,
  r_path)

Arguments

background_js_path

path to the final background.js, not the one in inst/...

my_package_name

package name, will be used for namespacing- (e.g. 'dplyr' in 'dplyr::filter()')

function_name

function that runs your shiny app - (e.g. 'filter' in 'dplyr::filter()')

r_path

path from "r_lang" folder to the R/Rscript executable

Value

none, side effect


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