Skip to content

causalDisco

1.2.1

Tools for Causal Discovery on Observational Data

0packages depend
12Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Bjarke Hautop KristensenFirst published 2022-05-125 releasesCRAN page ↗GitHub ↗

Tools for causal structure learning from observational data, with emphasis on temporally ordered variables. The package implements the Temporal Peter–Clark (TPC) algorithm (Petersen, Osler & Ekstrøm, 2021; doi:10.1093/aje/kwab087), the Temporal Greedy Equivalence Search (TGES) algorithm (Larsen, Ekstrøm & Petersen, 2025; doi:10.48550/arXiv.2502.06232) and Temporal Fast Causal Inference (TFCI). It provides a unified framework for specifying background knowledge, which can be incorporated into the implemented algorithms from the R packages 'bnlearn' (Scutari, 2010; doi:10.18637/jss.v035.i03) and 'pcalg' (Kalish et al., 2012; doi:10.18637/jss.v047.i11), as well as the Java library 'Tetrad' (Scheines et al., 1998; doi:10.1207/s15327906mbr3301_3). The package further includes utilities for visualization, comparison, and evaluation of graph structures, facilitating performance evaluation and methodological studies.

Install

Health

CRAN checks
13OK
Slowest check: 8.4 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.80
not tracked
Coverage
100%
Documentation · exports
16
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-25
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-14
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
99%
Documented parameters
98%
Return-value docs
61%
References docs
15%

Downloads

12K
CRAN downloads in the past year
Rank #5,349 · ~33/day · ~1K/mo
Daily download trend is not available in this view yet.
31930 days
1.5K90 days
12K1 year
Compare downloads with other packages →
Also on197 r2u

Repository

Repository
24Stars
4Forks
1Open issues
1Open PRs
5Releases
1,210Commits
9Contributors
causal-discoverycausal-inferencer-packagegraphical-modelsstructure-learning
License GPL-2.0 · 1,210 commits · Last activity 2026-08-17 · +4.3% stars, 30d

Stars over time

2025-02-28 · 192026-07-22 · 24

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/disco-coders/causaldisco on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Automation and maintenance (2)
Dependabotpre-commit
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
26 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer · added in 0.9.5
Authors (4)
Author, Maintainer · added in 0.9.5
Author · added in 1.0.1
Author · added in 0.9.5
Contributors (1)
Contributor · added in 0.9.5
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.2.1Latest
    2026-07-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0
    2026-04-13 · diff ↗
  • 1.0.1
    2026-02-24 · diff ↗
  • 0.9.5
    2026-01-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.1
    2022-05-12
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-12
Total releases
5 / 4 yrs
License
GPL-2 OSI
Minimum R
≥ 4.2.0
Bundled data
108 KB / 8 files
Download size
1.0 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("causalDisco")
Hautop Kristensen, B., Ellegaard Larsen, T., Fabricius-Bjerre, F., Helby Petersen, A., & Thorn Ekstrøm, C. (2026). causalDisco: Tools for Causal Discovery on Observational Data (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.causalDisco

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for causalDisco version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy