Crosstalk is a package for R that enhances the htmlwidgets package. It extends htmlwidgets with a set of classes, functions, and conventions for implementing cross-widget interactions (currently, linked brushing and filtering).
Find out more at the documentation website: http://rstudio.github.io/crosstalk/
inst/www/js/. Anytime you make changes to
To set up your repo for building the minified JS:
- First install nvm if you don't have it already.
- In the crosstalk repo's root directory, run
nvm install; this will install the version of Node.js we need.
nvm useto switch to our version of Node.js.
npm installto install all Node.js dependencies.
To actually build the minified JS:
nvm use(only needed once per terminal session).
node node_modules/.bin/grunt(or if you have installed
grunt-cliglobally, you can just run