Make sure you understand how the code base is organized before you contribute any code. Check out our R Journal paper for more details on the architecture. Basically, if you want to extend the functionalities to more classes, you need to implement the following S3 generic functions for the classes you want to support:
autoplot(), which enables plotting a custom object with
fortify(), which enables converting a custom object to a tidy
For example, if you want to implement visualizations for
some_r_class objects, you need to implement the following:
fortify.some_r_class()to extract neccessary information into a
autoplot.some_r_class()that takes what
fortify.some_r_class()returns and create suitable visualization using
Before sending your pull request for review, make sure your changes are consistent with the guidelines and follow the coding style described in this document.
devtools::test("pathToPackage")to execute all the unit tests locally.
We are following Google's R style guide that can be found here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.