Skip to content

zcurve

An Implementation of Z-Curves

v2.4.6 · Jan 21, 2026 · GPL-3

Description

An implementation of z-curves - a method for estimating expected discovery and replicability rates on the bases of test-statistics of published studies. The package provides functions for fitting the density, EM, and censored EM version (Bartoš & Schimmack, 2022, <doi:10.15626/MP.2021.2720>; Schimmack & Bartoš, 2023, <doi: 10.1371/journal.pone.0290084>), as well as the original density z-curve (Brunner & Schimmack, 2020, <doi:10.15626/MP.2018.874>). Furthermore, the package provides summarizing and plotting functions for the fitted z-curve objects. See the aforementioned articles for more information about the z-curves, expected discovery and replicability rates, validation studies, and limitations.

Downloads

CRAN

528

Last 30 days

7328th

1.4K

Last 90 days

7.6K

Last year

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

r2u CRAN

26

Last 30 days

119

Last 90 days

537

Last year

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

autoCRAN

6

Last 7 days

15

Last 30 days

1

All-time

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

conda-forge CRAN

176

Last 30 days

634

Last 90 days

5K

Last year

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

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/zcurve.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,946

Files

59

Compiled share

21.4%

Has compiled src

Yes

Language breakdown

R 3,484 (58.6%)C/C++/src 1,271 (21.4%)Tests 318 (5.3%)Docs 873 (14.7%)

API

Exported functions

23

Internal functions

54

Testing & CI

Has tests

Yes

Test-to-code ratio

0.53

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

35.7%

\dontrun example ratio

12.5%

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

12.5%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2020-03-31

Latest release

2026-01-21

Avg cadence

124 days

Cold removal rate

Dep drift

2

LOC over versions

v1.0.0: 3,175 LOCv1.0.6: 3,502 LOCv1.0.7: 3,525 LOCv1.0.8: 3,522 LOCv1.0.9: 3,544 LOCv2.1.2: 4,561 LOCv2.2.0: 5,367 LOCv2.3.0: 5,615 LOCv2.4.0: 5,837 LOCv2.4.1: 5,890 LOCv2.4.2: 5,895 LOCv2.4.3: 5,912 LOCv2.4.4: 5,906 LOCv2.4.5: 5,908 LOCv2.4.6: 5,946 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 Rcpp nleqslv evmix ggplot2 Rdpack rlang CoTiMA zcurve

Version History

16 tracked
new 2.4.6 Mar 10, 2026
updated 2.4.6 ← 2.4.5 diff Jan 20, 2026
updated 2.4.5 ← 2.4.4 diff Sep 4, 2025
updated 2.4.4 ← 2.4.3 diff Aug 19, 2025
updated 2.4.3 ← 2.4.2 diff May 15, 2025
updated 2.4.2 ← 2.4.1 diff May 27, 2024
updated 2.4.1 ← 2.4.0 diff May 22, 2024
updated 2.4.0 ← 2.3.0 diff Oct 27, 2023
updated 2.3.0 ← 2.2.0 diff Jan 4, 2023
updated 2.2.0 ← 2.1.2 diff Nov 28, 2022
updated 2.1.2 ← 1.0.9 diff Feb 6, 2022
updated 1.0.9 ← 1.0.8 diff May 6, 2021
updated 1.0.8 ← 1.0.7 diff Jan 16, 2021
updated 1.0.7 ← 1.0.6 diff Dec 14, 2020
updated 1.0.6 ← 1.0.0 diff Sep 26, 2020