Skip to content

birdie

Bayesian Instrumental Regression for Disparity Estimation

v0.7.1 · Jul 24, 2025 · GPL (>= 3)

Description

Bayesian models for accurately estimating conditional distributions by race, using Bayesian Improved Surname Geocoding (BISG) probability estimates of individual race. Implements the methods described in McCartan, Fisher, Goldin, Ho and Imai (2025) <doi:10.1080/01621459.2025.2526695>.

Downloads

CRAN

300

Last 30 days

15556th

763

Last 90 days

3.1K

Last year

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

r2u CRAN

49

Last 30 days

171

Last 90 days

612

Last year

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

autoCRAN

8

Last 7 days

43

Last 30 days

1

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 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 48.4Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 49.3Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR 10 OK · 3 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/birdie.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 48.4Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 49.3Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 48.4Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 49.3Mb
  sub-directories of 1Mb or more:
    extdata   1.5Mb
    libs     46.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Code

Structure

Lines of code

6,474

Files

88

Compiled share

26.3%

Has compiled src

Yes

Language breakdown

R 3,205 (49.5%)C/C++/src 1,700 (26.3%)Tests 356 (5.5%)Docs 982 (15.2%)Vignettes 231 (3.6%)

API

Exported functions

16

Internal functions

86

Recent export changes

v0.6.1+16 augment, birdie, birdie.ctrl +13 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

90%

\dontrun example ratio

9.1%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

27.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

2

C++ standard

C++17

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2024-06-11

Latest release

2025-07-24

Avg cadence

408 days

Cold removal rate

Dep drift

0

LOC over versions

v0.6.1: 6,435 LOCv0.7.1: 6,474 LOC

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

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies rlang Rcpp cli vctrs generics dplyr stringi stringr RcppParallel SQUAREM redistverse birdie

Version History

3 tracked
new 0.7.1 Mar 10, 2026
updated 0.7.1 ← 0.6.1 diff Jul 23, 2025
new 0.6.1 Jun 10, 2024