Skip to content

BCDAG

1.1.4

Bayesian Structure and Causal Learning of Gaussian Directed Graphs

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

Overview

About
Maintained by Alessandro MascaroFirst published 2022-03-156 releasesCRAN page ↗GitHub ↗

A collection of functions for structure learning of causal networks and estimation of joint causal effects from observational Gaussian data. Main algorithm consists of a Markov chain Monte Carlo scheme for posterior inference of causal structures, parameters and causal effects between variables. References: F. Castelletti and A. Mascaro (2021) doi:10.1007/s10260-021-00579-1, F. Castelletti and A. Mascaro (2022) doi:10.48550/arXiv.2201.12003, F. Castelletti and A. Mascaro (2026) doi:10.18637/jss.v116.i05.

Install

Health

CRAN checks
13OK
Slowest check: 13.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.10
not tracked
Coverage
100%
Documentation · exports
10
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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 263 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
47%

Downloads

3.6K
CRAN downloads in the past year
Rank #8,110 · ~10/day · ~304/mo
Daily download trend is not available in this view yet.
29230 days
1.1K90 days
3.6K1 year
Compare downloads with other packages →
Also on116 r2u

Repository

Repository
3Stars
1Forks
0Open issues
0Open PRs
1Releases
150Commits
1Contributors
150 commits · Last activity 2026-06-18

Stars over time

2025-01-12 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/alesmascaro/bcdag on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
CRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (10)
graphgraphicsgRbaseRgraphvizgrDeviceslatticemethodsmvtnormstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

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

  • 1.1.4Latest
    2026-06-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.3
    2025-02-28 · diff ↗
  • 1.1.2
    2025-01-30 · diff ↗
  • 1.1.1
    2024-06-14 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    2024-02-10 · diff ↗
  • unarchivedReturned to CRAN
    2024-02-10
  • archivedRemoved from CRAN
    2023-10-06
    check problems were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    2022-03-15
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-15
Total releases
6 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
9.7 KB / 1 file
Download size
337 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BCDAG")
Mascaro, A., & Castelletti, F. (2026). BCDAG: Bayesian Structure and Causal Learning of Gaussian Directed Graphs (Version 1.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.BCDAG

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 BCDAG version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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