R/scaffold_input.R
scaffoldReactShinyInput.Rd
Add the minimal code required to implement a React.js-based Shiny input to an R package.
scaffoldReactShinyInput(name, npmPkgs = NULL, edit = interactive())
name | Name of input |
---|---|
npmPkgs | Optional NPM packages upon which
this input is based which will be used to populate |
edit | Automatically open the input's source files after creating the scaffolding. |
This function must be executed from the root directory of the package you wish to add the input to.