Skip to content

RobustBayesianCopas

Robust Bayesian Copas Selection Model

v2.0 · Jan 6, 2021 · GPL-3

Description

Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) <arXiv:2005.02930> for correcting and quantifying publication bias in univariate meta-analysis. Also fits standard random effects meta-analysis and the Copas-like selection model of Ning et al. (2017) <doi:10.1093/biostatistics/kxx004>.

Downloads

CRAN

338

Last 30 days

13340th

819

Last 90 days

3K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

445

Last year

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

autoCRAN

0

Last 7 days

5

Last 30 days

0

All-time

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

c2d4u legacy CRAN

5

Last 30 days

15

Last 90 days

49

Last year

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

CRAN Check Status

2 NOTE
11 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 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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ray Bai <raybaistat@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Ray",
                    family = "Bai",
                    role = c("aut", "cre"),
                    email = "raybaistat@gmail.com")
as necessary.

The Description field contains
  (2020) <arXiv:2005.02930> for correcting and quantifying publication
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ray Bai <raybaistat@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Ray",
                    family = "Bai",
                    role = c("aut", "cre"),
                    email = "raybaistat@gmail.com")
as necessary.

The Description field contains
  (2020) <arXiv:2005.02930> for correcting and quantifying publication
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ray Bai <raybaistat@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Ray",
                    family = "Bai",
                    role = c("aut", "cre"),
                    email = "raybaistat@gmail.com")
as necessary.

The Description field contains
  (2020) <arXiv:2005.02930> for correcting and quantifying publication
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ray Bai <raybaistat@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Ray",
                    family = "Bai",
                    role = c("aut", "cre"),
                    email = "raybaistat@gmail.com")
as necessary.

The Description field contains
  (2020) <arXiv:2005.02930> for correcting and quantifying publication
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Line coverage

Expression

Tests / Examples

Functions

10 5 exported

Complexity

6.6 avg / 24 max

Call network

10 nodes / 3 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.

Compare versions

Code

Structure

Lines of code

1,640

Files

20

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,041 (63.5%)Docs 599 (36.5%)

API

Exported functions

5

Internal functions

5

Recent export changes

v1.0+5 D.measure, RobustBayesianCopas, BayesNonBiasCorrected +2 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

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

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2020-05-12

Latest release

2021-01-06

Avg cadence

239 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0: 1,321 LOCv2.0: 1,640 LOC

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

Dependency Network

Dependencies Reverse dependencies statip rjags RobustBayesianCopas

Version History

3 tracked
new 2.0 Mar 10, 2026
updated 2.0 ← 1.0 diff Jan 5, 2021
new 1.0 May 11, 2020