[] CII Best Practices R build status Codecov test coverage


Delaporte is an R package which provides the probability mass, distribution, quantile, random variate generation, and method of moments parameter estimation functions for the Delaporte distribution. As the distribution does not have a closed form, but requires summations or double summations to calculate values, the functions have been programmed in Fortran and C. In cases where approximations are sufficient, the quantile and random variate generator have the option to use a much faster Poisson-negative binomial estimate as opposed to the full Delaporte double summations.


If you use the package, please cite it as:

Avraham Adler (2013). Delaporte: Statistical Functions for the Delaporte Distribution. R package version 8.0.1. https://CRAN.R-project.org/package=Delaporte

A BibTeX entry for LaTeX users is:

    title = {Delaporte: Statistical Functions for the Delaporte Distribution},
    author = {Avraham Adler},
    year = {2013},
    note = {R package version 8.0.1},
    url = {https://CRAN.R-project.org/package=Delaporte},


The author is grateful to Drew Schmidt both generally for his writings on R, C++, and Fortran and specifically for help with this project.


Please ensure that all contributions comply with both R and CRAN standards for packages.


This project attempts to follow Semantic Versioning


This project attempts to follow the changelog system at Keep a CHANGELOG


This project intends to have as few dependencies as possible. Please consider that when writing code.


Please review and conform to the current code stylistic choices (e.g. 80 character lines, two-space indentations, etc.).


Please provide valid .Rd files and not roxygen-style documentation.


Please review the current test suite and supply similar testthat-compatible unit tests for all added functionality.


If you would like to contribute to the project, it may be prudent to first contact the maintainer via email. A request or suggestion may be raised as an issue as well. To supply a pull request (PR), please:

  1. Fork the project and then clone into your own local repository
  2. Create a branch in your repository in which you will make your changes
  3. Push that branch and then create a pull request

At this point, the PR will be discussed and eventually accepted or rejected.