Contributions are welcome. This repository follows the standard open source protocol and setup with git where there is an abundance of existing resources to get up to speed. Condensed greatly, the workflow is to fork this repository, check out a branch, commit your changes (forming an ideally legible commit history), then submitting a pull request explaining your contribution, ideally referring to the issue you created, or the issue you chose to work on.
Building and compiling the package can be done conveniently with RStudio. A C++ compiler, together with the R packages Rcpp and BH is required. For documentation roxygen2 and pkgdown is needed as well. To compile and load the package after making changes run Build -> Install and Restart. To test the package run Build -> Test Package. R Markdown tutorials are stored in vignettes\
and these can be built by running pkgdown::build_articles().
Make sure ~/.R/Makevars
contains the diagnostic flags CXX11FLAGS = -Wall -Wsign-compare
: the C++ tree search code should compile without any warnings.
For more general details on developing R packages linking to C++ code, see the guide in our parent package: https://grf-labs.github.io/grf/DEVELOPING.html