Skip to content

pg

0.2.4

Polya Gamma Distribution Sampler

2packages depend
2.5Kdownloads / year
72.3%test coverage
13/13checks pass

Overview

About
Maintained by James BalamutaFirst published 2023-07-221 releasesCRAN page ↗GitHub ↗

Provides access to a high performant random distribution sampler for the Polya Gamma Distribution using either 'C++' headers for 'Rcpp' or 'RcppArmadillo' and 'R'.

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.60
72.3%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 546 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #17,139 · ~7/day · ~206/mo
Daily download trend is not available in this view yet.
15230 days
62490 days
2.5K1 year
Compare downloads with other packages →
Also on416 r2u8 autocran16 c2d4u

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
0Releases
14Commits
1Contributors
14 commits · Last activity 2023-07-21

Stars over time

2025-04-07 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/tmsalab/pg on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2023-07-22
Total releases
1 / 3 yrs
License
GPL (>= 3) OSI
Download size
21 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pg")
Balamuta, J. (2023). pg: Polya Gamma Distribution Sampler (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.pg

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pg version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy