Install dependencies for R:
# install.packages("devtools")
devtools::install_dev_deps()
Install dependencies for JavaScript:
Build the JS/CSS bundle (outputs to inst/htmlwidgets
):
Then load (devtools::load_all()
) or reinstall the package.
These generated files should be added in their own separate commit, preferably only once per branch.
Run R tests:
devtools::test()
# With test coverage (requires DT)
# install.packages("DT")
covr::report()
Run JS tests: