{
  "_id": "6a23ba70530b9bc726bd9145",
  "Package": "cia",
  "Title": "Learn and Apply Directed Acyclic Graphs for Causal Inference",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(given = \"Mathew\",\nfamily = \"Varidel\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"mathew.varidel@sydney.edu.au\",\ncomment = c(ORCID = \"0000-0002-1648-8317\")),\nperson(given = \"Victor\",\nfamily = \"An\",\nrole = c(\"ctb\"),\nemail = \"victor.an@sydney.edu.au\")\n)",
  "Description": "Causal Inference Assistance (CIA) for performing causal\ninference within the structural causal modelling framework.\nStructure learning is performed using partition Markov chain\nMonte Carlo (Kuipers & Moffa, 2017) and several additional\nfunctions have been added to help with causal inference.\nKuipers and Moffa (2017) <doi:10.1080/01621459.2015.1133426>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "URL": "https://spaceodyssey.github.io/cia/",
  "BugReports": "https://github.com/SpaceOdyssey/cia/issues",
  "Config/pak/sysreqs": "libglpk-dev libgmp3-dev libicu-dev libxml2-dev",
  "Repository": "https://spaceodyssey.r-universe.dev",
  "Date/Publication": "2024-12-19 05:06:13 UTC",
  "RemoteUrl": "https://github.com/spaceodyssey/cia",
  "RemoteRef": "HEAD",
  "RemoteSha": "39589e1a09e97a195912d789a259d788edd4f748",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 06:08:59 UTC",
    "User": "root"
  },
  "Author": "Mathew Varidel [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1648-8317>),\nVictor An [ctb]",
  "Maintainer": "Mathew Varidel <mathew.varidel@sydney.edu.au>",
  "MD5sum": "40e226b025452fd804f7990ffd526dc3",
  "_user": "spaceodyssey",
  "_type": "src",
  "_file": "cia_1.1.0.tar.gz",
  "_fileid": "fe8413c75354ce9e46b88bee0e50a688d42dfc5504a3cfcee996c22e18179d07",
  "_filesize": 270729,
  "_sha256": "fe8413c75354ce9e46b88bee0e50a688d42dfc5504a3cfcee996c22e18179d07",
  "_created": "2026-06-06T06:08:59.000Z",
  "_published": "2026-06-06T06:13:04.855Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79856476611,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451859692"
    },
    {
      "job": 79856476602,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451857225"
    },
    {
      "job": 79856476633,
      "time": 209,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7451857202"
    },
    {
      "job": 79856476619,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451857326"
    },
    {
      "job": 79856282838,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451835570"
    },
    {
      "job": 79856476590,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451851528"
    },
    {
      "job": 79856476607,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451852264"
    },
    {
      "job": 79856476598,
      "time": 139,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7451852773"
    },
    {
      "job": 79856476593,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451850854"
    }
  ],
  "_buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/spaceodyssey/cia",
  "_commit": {
    "id": "39589e1a09e97a195912d789a259d788edd4f748",
    "author": "Mathew Varidel <mathew.varidel@sydney.edu.au>",
    "committer": "Mathew Varidel <mathew.varidel@sydney.edu.au>",
    "message": "Running vignette for longer.\n",
    "time": 1734584773
  },
  "_maintainer": {
    "name": "Mathew Varidel",
    "email": "mathew.varidel@sydney.edu.au",
    "orcid": "0000-0002-1648-8317"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "bnlearn",
      "version": ">= 4.9",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "arrangements",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "gRain",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "gtools",
      "role": "Suggests"
    },
    {
      "package": "gRbase",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "qgraph",
      "role": "Suggests"
    },
    {
      "package": "dagitty",
      "role": "Suggests"
    }
  ],
  "_owner": "spaceodyssey",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "spaceodyssey",
      "count": 3,
      "uuid": 20017927
    }
  ],
  "_userbio": {
    "uuid": 20017927,
    "type": "user",
    "name": "Mathew Varidel"
  },
  "_downloads": {
    "count": 474,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cia"
  },
  "_devurl": "https://github.com/spaceodyssey/cia",
  "_pkgdown": "https://spaceodyssey.github.io/cia/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cia.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/spaceodyssey/cia",
  "_realowner": "spaceodyssey",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-11-14"
    }
  ],
  "_exports": [
    "BNLearnScorer",
    "CalculateAcceptanceRates",
    "CalculateEdgeProbabilities",
    "CalculateFeatureMean",
    "CollectUniqueObjects",
    "CoupledPartitionMCMC",
    "CreateScorer",
    "DAGtoCPDAG",
    "DAGtoPartition",
    "DefaultProposal",
    "FlattenChains",
    "GetEmptyDAG",
    "GetIncrementalScoringEdges",
    "GetLowestPairwiseScoringEdges",
    "GetMAP",
    "InitCoupledPartition",
    "InitPartition",
    "MutilateGraph",
    "PartitionMCMC",
    "PartitiontoDAG",
    "PlotConcordance",
    "PlotCumulativeMeanTrace",
    "PlotScoreTrace",
    "PostProcessChains",
    "SampleChains",
    "SampleEdgeProbabilities",
    "SamplePosteriorPredictiveChains",
    "ScoreDAG",
    "ScoreLabelledPartition",
    "toBNLearn",
    "togRain",
    "toMatrix",
    "UniformlySampleDAG"
  ],
  "_help": [
    {
      "page": "sub-.cia_chain",
      "title": "Index a cia_chain object",
      "topics": [
        "[.cia_chain"
      ]
    },
    {
      "page": "sub-.cia_chains",
      "title": "Index a cia_chains object",
      "topics": [
        "[.cia_chains"
      ]
    },
    {
      "page": "sub-.cia_post_chain",
      "title": "Indexing with respect to iterations.",
      "topics": [
        "[.cia_post_chain"
      ]
    },
    {
      "page": "sub-.cia_post_chains",
      "title": "Index a cia_post_chains object with respect to iterations.",
      "topics": [
        "[.cia_post_chains"
      ]
    },
    {
      "page": "sub-sub-.cia_chains",
      "title": "Index a cia_chains object",
      "topics": [
        "[[.cia_chains"
      ]
    },
    {
      "page": "sub-sub-.cia_post_chains",
      "title": "Index a cia_post_chains object.",
      "topics": [
        "[[.cia_post_chains"
      ]
    },
    {
      "page": "BNLearnScorer",
      "title": "BNLearnScorer",
      "topics": [
        "BNLearnScorer"
      ]
    },
    {
      "page": "CalculateAcceptanceRates",
      "title": "Calculate acceptance rates",
      "topics": [
        "CalculateAcceptanceRates"
      ]
    },
    {
      "page": "CalculateEdgeProbabilities",
      "title": "Calculate pairwise edge probabilities",
      "topics": [
        "CalculateEdgeProbabilities"
      ]
    },
    {
      "page": "CalculateFeatureMean",
      "title": "Calculate arithmetic mean for a DAG feature",
      "topics": [
        "CalculateFeatureMean"
      ]
    },
    {
      "page": "CollectUniqueObjects",
      "title": "Collect unique objects",
      "topics": [
        "CollectUniqueObjects"
      ]
    },
    {
      "page": "CoupledPartitionMCMC",
      "title": "Coupled Partition MCMC",
      "topics": [
        "CoupledPartitionMCMC"
      ]
    },
    {
      "page": "CreateScorer",
      "title": "Scorer constructor",
      "topics": [
        "CreateScorer"
      ]
    },
    {
      "page": "DAGtoCPDAG",
      "title": "Convert DAG to CPDAG",
      "topics": [
        "DAGtoCPDAG"
      ]
    },
    {
      "page": "DAGtoPartition",
      "title": "Convert DAG to partition",
      "topics": [
        "DAGtoPartition"
      ]
    },
    {
      "page": "DefaultProposal",
      "title": "Default proposal constructor",
      "topics": [
        "DefaultProposal"
      ]
    },
    {
      "page": "FlattenChains",
      "title": "Flatten chains",
      "topics": [
        "FlattenChains"
      ]
    },
    {
      "page": "GetEmptyDAG",
      "title": "Get an empty DAG given a set of nodes.",
      "topics": [
        "GetEmptyDAG"
      ]
    },
    {
      "page": "GetIncrementalScoringEdges",
      "title": "Get incremental edges",
      "topics": [
        "GetIncrementalScoringEdges"
      ]
    },
    {
      "page": "GetLowestPairwiseScoringEdges",
      "title": "Preprocessing for blacklisting Get the lowest pairwise scoring edges.",
      "topics": [
        "GetLowestPairwiseScoringEdges"
      ]
    },
    {
      "page": "GetMAP",
      "title": "Get the maximum a posteriori state",
      "topics": [
        "GetMAP"
      ]
    },
    {
      "page": "InitCoupledPartition",
      "title": "Initialise partition state for SampleChains. *[Experimental]*",
      "topics": [
        "InitCoupledPartition"
      ]
    },
    {
      "page": "InitPartition",
      "title": "Initialise states for SampleChains. Initialise partition state for SampleChains.",
      "topics": [
        "InitPartition"
      ]
    },
    {
      "page": "MutilateGraph",
      "title": "Mutilate graph",
      "topics": [
        "MutilateGraph"
      ]
    },
    {
      "page": "PartitionMCMC",
      "title": "Transition objects. Partition MCMC",
      "topics": [
        "PartitionMCMC"
      ]
    },
    {
      "page": "PartitiontoDAG",
      "title": "Sample DAG from partition",
      "topics": [
        "PartitiontoDAG"
      ]
    },
    {
      "page": "PlotConcordance",
      "title": "Concordance plot",
      "topics": [
        "PlotConcordance"
      ]
    },
    {
      "page": "PlotCumulativeMeanTrace",
      "title": "Plot cumulative mean trace plot.",
      "topics": [
        "PlotCumulativeMeanTrace"
      ]
    },
    {
      "page": "PlotScoreTrace",
      "title": "Plot the score trace",
      "topics": [
        "PlotScoreTrace"
      ]
    },
    {
      "page": "PostProcessChains",
      "title": "Index chains for further analysis *[Deprecated]*",
      "topics": [
        "PostProcessChains"
      ]
    },
    {
      "page": "SampleChains",
      "title": "Sample chains",
      "topics": [
        "SampleChains"
      ]
    },
    {
      "page": "SampleEdgeProbabilities",
      "title": "Sample edge probabilities",
      "topics": [
        "SampleEdgeProbabilities"
      ]
    },
    {
      "page": "SamplePosteriorPredictiveChains",
      "title": "Draw from a posterior predictive distribution",
      "topics": [
        "SamplePosteriorPredictiveChains"
      ]
    },
    {
      "page": "ScoreDAG",
      "title": "Score DAG.",
      "topics": [
        "ScoreDAG"
      ]
    },
    {
      "page": "ScoreLabelledPartition",
      "title": "Score labelled partition",
      "topics": [
        "ScoreLabelledPartition"
      ]
    },
    {
      "page": "toBNLearn",
      "title": "Convert to bnlearn object.",
      "topics": [
        "toBNLearn"
      ]
    },
    {
      "page": "togRain",
      "title": "Convert to a gRain object.",
      "topics": [
        "togRain"
      ]
    },
    {
      "page": "toMatrix",
      "title": "Convert to adjacency matrix.",
      "topics": [
        "toMatrix"
      ]
    },
    {
      "page": "UniformlySampleDAG",
      "title": "Uniformly sample DAG",
      "topics": [
        "UniformlySampleDAG"
      ]
    }
  ],
  "_readme": "https://github.com/spaceodyssey/cia/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "backports",
    "bnlearn",
    "broom",
    "cli",
    "codetools",
    "cpp11",
    "doParallel",
    "dplyr",
    "farver",
    "fastmatch",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gmp",
    "gRain",
    "gRbase",
    "gtable",
    "igraph",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "cia",
  "_universes": [
    "spaceodyssey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-06T06:11:32.000Z",
      "distro": "noble",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "0c312d3a5d1c57ab5889e73fb9f4bd97d7fd4715c60e8d07b0da6438987a5152",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-06T06:11:15.000Z",
      "distro": "noble",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "7d9ff53dc08b21f487175f93b05be31003ea4fb2fe20889c9e529ba1858bfaa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-06T06:11:31.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "24af814b604e80dbe9e12193a1970f5bc6603df3475aadfd347b6af9a96df21f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-06T06:11:20.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "4f0cceb81e584b7b3cc88e538c837f2a3d6e57cb6e3cec73335351e8f291bc0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-06T06:11:26.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "b5b5d6fcad1d6758016caaf8770cb38c17a8fc8ed058ad2d5640541bed5867aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-06T06:10:19.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "1965e10cf25c16466cb8cfdc31d9b72f55ef6b7b5dd0b12b1e5625f75ff2ae94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-06T06:10:25.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "ca189df8b728f273d205bf52f6cf66ca4049d38715200fae6fdfc86f43adb1b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-06T06:10:10.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "ba51ee2ce2b385470d8803de0e6f8ee903d750919a258bfeffae5f2f7efa21e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/27054530032"
    }
  ]
}