barry: Your Go-to Motif Accountant

Provides the 'C++' header-only library 'barry' for use in R packages. 'barry' is a 'C++' template library for counting sufficient statistics on binary arrays and building discrete exponential-family models. It provides tools for sparse arrays, user-defined count statistics, support set constraints, power set generation, and includes modules for Discrete Exponential Family Models (DEFMs) and network statistics. By placing these headers in this package, we offer an efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided. This package follows the same approach as the 'BH' package which provides 'Boost' headers for R packages.

Version: 0.2.1
Depends: R (≥ 4.1.0)
Published: 2025-12-01
DOI: 10.32614/CRAN.package.barry (may not be active yet)
Author: George Vega Yon ORCID iD [aut, cre]
Maintainer: George Vega Yon <g.vegayon at gmail.com>
BugReports: https://github.com/USCbiostats/barryr/issues
License: MIT + file LICENSE
URL: https://github.com/USCbiostats/barryr, https://uscbiostats.github.io/barryr/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: barry results

Documentation:

Reference manual: barry.html , barry.pdf

Downloads:

Package source: barry_0.2.1.tar.gz
Windows binaries: r-devel: barry_0.2.1.zip, r-release: not available, r-oldrel: barry_0.2.1.zip
macOS binaries: r-release (arm64): barry_0.2.1.tgz, r-oldrel (arm64): barry_0.2.1.tgz, r-release (x86_64): barry_0.2.1.tgz, r-oldrel (x86_64): barry_0.2.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=barry to link to this page.