We welcome contributions of all kinds — bug reports, documentation improvements, new features, and additional cancer-type data.
Reporting bugs
Please open an issue on GitHub and include:
- A minimal reproducible example (use
reprex::reprex()). - The output of
sessionInfo(). - The exact error message or unexpected output.
Proposing changes
Fork the repository and create a branch from
main.-
Install development dependencies:
install.packages(c("devtools", "roxygen2", "testthat", "covr", "lintr")) Make your changes. Follow the tidyverse style guide.
Document new functions with roxygen2 tags and run
devtools::document().Add or update testthat tests. Aim for > 90 % line coverage.
-
Run the full check suite and confirm it passes with no warnings or notes:
devtools::check() Submit a pull request with a clear description of what changed and why.
Code style
- Indentation: 2 spaces (no tabs).
- Line length: ≤ 100 characters.
- Avoid
T/F— useTRUE/FALSE. - Use
\(x)lambda syntax (R ≥ 4.1) rather thanfunction(x)for short anonymous functions. - All user-facing functions must have complete roxygen2 documentation including at least one
@examplesblock. - Internal helpers (prefixed with
.) do not require exported documentation but should have inline comments.
Code of conduct
This project follows the Contributor Covenant Code of Conduct v2.1. By participating, you agree to abide by its terms.
