Template package for Reactive data app using R, plumber, and react
This package requires npm to install dependencies.
$ cd reactapp
$ npm install
$ npm run start
To build the application:
$ npm run build
To test the application can be launched from R, run launchAppDev()
.
Or, from the command line at the toplevel of Reactor, run: R -e "library(reactor); launchAppDev()"
This will copy the index.html
and bundled javascript to the inst/api
folder.
The annotated plumber
functions from functions.R
will be copied to inst/api
.