Skip to content

xactonomial

Inference for Functions of Multinomial Parameters

v1.2.0 · Jul 30, 2025 · MIT + file LICENSE

Description

We consider the problem where we observe k vectors (possibly of different lengths), each representing an independent multinomial random vector. For a given function that takes in the concatenated vector of multinomial probabilities and outputs a real number, this is a Monte Carlo estimation procedure of an exact p-value and confidence interval. The resulting inference is valid even in small samples, when the parameter is on the boundary, and when the function is not differentiable at the parameter value, all situations where asymptotic methods and the bootstrap would fail. For more details see Sachs, Fay, and Gabriel (2025) <doi:10.48550/arXiv.2406.19141>.

Downloads

CRAN

226

Last 30 days

21820th

490

Last 90 days

2K

Last year

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

r2u CRAN

24

Last 30 days

109

Last 90 days

197

Last year

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

CRAN Check Status

10 NOTE
3 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (10 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'xactonomial/libs/x64/xactonomial.dll':
  Found non-API call to R: 'R_NamespaceRegistry'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-patched-linux-x86_64

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-release-linux-x86_64

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-release-macos-arm64

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-release-macos-x86_64

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API call to R: ‘R_NamespaceRegistry’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-release-windows-x86_64

compiled code

File 'xactonomial/libs/x64/xactonomial.dll':
  Found non-API call to R: 'R_NamespaceRegistry'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.

Check History

NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘xactonomial/libs/xactonomial.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘R_NamespaceRegistry’,
    ‘R_Srcref’, ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,073

Files

49

Compiled share

0.4%

Has compiled src

Yes

Language breakdown

R 1,040 (50.2%)C/C++/src 8 (0.4%)Tests 104 (5%)Docs 699 (33.7%)Vignettes 222 (10.7%)

API

Exported functions

15

Internal functions

0

Recent export changes

v1.0.3+15 calc_multinom_probs, calc_prob_null, calc_prob_null_fast +12 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.10

testthat edition

3

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

Yes

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

4.2

System requirements

2

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2025-04-28

Latest release

2025-07-30

Avg cadence

93 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.3: 1,989 LOCv1.2.0: 2,073 LOC

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

Version History

3 tracked
new 1.2.0 Mar 10, 2026
updated 1.2.0 ← 1.0.3 diff Jul 29, 2025
new 1.0.3 Apr 27, 2025