Skip to content

flintyR

Simple and Flexible Tests of Sample Exchangeability

v0.1.0 · Mar 23, 2023 · GPL (>= 3)

Description

Given a multivariate dataset and some knowledge about the dependencies between its features, it is customary to fit a statistical model to the features to infer parameters of interest. Such a procedure implicitly assumes that the sample is exchangeable. This package provides a flexible non-parametric test of this exchangeability assumption, allowing the user to specify the feature dependencies by hand as long as features can be grouped into disjoint independent sets. This package also allows users to test a dual hypothesis, which is, given that the sample is exchangeable, does a proposed grouping of the features into disjoint sets also produce statistically independent sets of features? See Aw, Spence and Song (2023) for the accompanying paper.

Downloads

CRAN

317

Last 30 days

14367th

742

Last 90 days

2.9K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

426

Last year

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

autoCRAN

7

Last 7 days

18

Last 30 days

0

All-time

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

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/flintyR.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

32 0 exported

Complexity

4.1 avg / 16 max

Call network

32 nodes / 64 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

2,737

Files

41

Compiled share

6.7%

Has compiled src

Yes

Language breakdown

R 1,377 (50.3%)C/C++/src 184 (6.7%)Tests 265 (9.7%)Docs 911 (33.3%)

API

Exported functions

26

Internal functions

0

Recent export changes

v0.0.1+1 pattern:^[[:alpha:]]+

Testing & CI

Has tests

Yes

Test-to-code ratio

0.19

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

\dontrun example ratio

0%

Roxygen coverage

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

14.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2021-09-06

Latest release

2023-03-23

Avg cadence

282 days

Cold removal rate

Dep drift

1

LOC over versions

v0.0.1: 2,712 LOCv0.0.2: 2,712 LOCv0.1.0: 2,737 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp doParallel foreach assertthat testthat flintyR

Version History

4 tracked
new 0.1.0 Mar 10, 2026
updated 0.1.0 ← 0.0.2 diff Mar 22, 2023
updated 0.0.2 ← 0.0.1 diff Sep 27, 2021
new 0.0.1 Sep 5, 2021