Skip to content

poibin

The Poisson Binomial Distribution

v1.6 · Aug 23, 2024 · GPL-2

Description

Implementation of both the exact and approximation methods for computing the cdf of the Poisson binomial distribution as described in Hong (2013) <doi: 10.1016/j.csda.2012.10.006>. It also provides the pmf, quantile function, and random number generation for the Poisson binomial distribution. The C code for fast Fourier transformation (FFT) is written by R Core Team (2019)<https://www.R-project.org/>, which implements the FFT algorithm in Singleton (1969) <doi: 10.1109/TAU.1969.1162042>.

Downloads

CRAN

2.9K

Last 30 days

2238th

14.6K

Last 90 days

62.5K

Last year

Trend: -54.7% (30d vs prior 30d)

r2u CRAN

70

Last 30 days

204

Last 90 days

606

Last year

Trend: +1.5% (30d vs prior 30d)

autoCRAN

2

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

172

Last 30 days

597

Last 90 days

4K

Last year

Trend: -40.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Warning in file(outfile, "wt") :
  cannot open file '/tmp/RtmpAYIndw/Rd2pdf33ed2143827b23/Rd2.tex': No space left on device
Error in file(outfile, "wt") : cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,269

Files

9

Compiled share

79.2%

Has compiled src

Yes

Language breakdown

R 159 (12.5%)C/C++/src 1,005 (79.2%)Docs 105 (8.3%)

API

Exported functions

4

Internal functions

0

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

7

First release

2011-04-05

Latest release

2024-08-23

Avg cadence

579 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v1.0: 1,190 LOCv1.01: 1,246 LOCv1.2: 1,247 LOCv1.3: 1,256 LOCv1.4: 1,265 LOCv1.5: 1,269 LOCv1.6: 1,269 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (6)

depends

suggests

Dependency Network

Dependencies Reverse dependencies ROCS sgof FEprovideR SSDM pprof forrel poibin

Version History

8 tracked
new 1.6 Mar 10, 2026
updated 1.6 ← 1.5 diff Aug 22, 2024
updated 1.5 ← 1.4 diff Jan 8, 2020
updated 1.4 ← 1.3 diff Dec 12, 2019
updated 1.3 ← 1.2 diff May 15, 2018
updated 1.2 ← 1.01 diff Feb 13, 2013
updated 1.01 ← 1.0 diff Oct 29, 2012
new 1.0 Oct 28, 2012