Contributing
Source:.github/CONTRIBUTING.md
Development
Installation
Install dependencies for R:
# install.packages("devtools")
devtools::install_dev_deps()
Install dependencies for JavaScript:
Building
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.
Testing
Run R tests:
devtools::test()
# With test coverage (requires DT)
# install.packages("DT")
covr::report()
Run JavaScript tests: