We welcome contributions to the htmltools package. To submit a contribution:
Fork the repository and make your changes.
Submit a pull request.
You will be prompted to read and agree to the “RStudio Corporate and Individual Contributor Agreement.”
We generally do not merge pull requests that update included web libraries (such as Bootstrap or jQuery) because it is difficult for us to verify that the update is done correctly; we prefer to update these libraries ourselves.
Before you submit a pull request, please do the following:
Add an entry to NEWS.md concisely describing what you changed.
If appropriate, add unit tests in the tests/ directory.
Run Build->Check Package in the RStudio IDE, or devtools::check()
, to make sure your change did not add any messages, warnings, or errors.
Doing these things will make it easier for the development team to evaluate your pull request. Even so, we may still decide to modify your code or even not merge it at all. Factors that may prevent us from merging the pull request include:
We will try to be responsive and provide feedback in case we decide not to merge your pull request.
If you find a bug in htmltools, you can also file an issue. Please provide as much relevant information as you can, and include a minimal reproducible example if possible.