We love collaboration. In fact, this was one of the main ideas to start the work on this package. This includes suggestions or even implementations of new landscape metrics. Of course, you are also welcome to suggest general improvements to the package structure or to whatsoever. We appreciate any contribution and collaboration.
Please note that the landscapemetrics project is released with a Contributor Code of Conduct. By contributing to this project you agree to abide by its terms.
Browse the documentation to see if you can find a solution. Still stuck? Open an issue on GitHub on GitHub. We’ll try to do our best to address it, as questions often lead to better documentation or the discovery of bugs.
Please try to include a reproducible example using for example the
While we can’t promise to implement your idea, it helps to:
- Explain in detail how it would work.
- Keep the scope as narrow as possible.
Report it as an issue on GitHub so we can fix it. A good bug report makes it easier for us to do so, so please include:
- The content of
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug
Again, please try to include a reproducible example using for example the
Good documentation makes all the difference, so your help to improve it is very welcome!
We try to follow the GitHub flow for development.
Open the RStudio project file (
.Rproj) and install all development dependencies with (e.g., using
devtools::install_dev_deps()). Make sure the package passes R CMD check by running
Create a new Git branch and use a name that briefly describes the proposed changes.
Make your changes:
- Write your code.
- Test your code (bonus points for adding unit tests using the
- Document your code (see function documentation above).
- Check your code with
devtools::check()and aim for 0 errors, warnings and notes.
Commit and push your changes.
Submit a pull request.
New code should follow the tidyverse style guide.