{
  "_id": "6ac208fe773a0037682c0d76",
  "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-10-04 07:44:14 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>",
  "_user": "spaceodyssey",
  "_type": "src",
  "_file": "cia_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/62134eddc4de0ad532d2e265160bcfd0d3d0043fa5e9b82141e3ef69479f9fdb",
  "_filesize": 275954,
  "_sha256": "62134eddc4de0ad532d2e265160bcfd0d3d0043fa5e9b82141e3ef69479f9fdb",
  "_expires": "2027-01-12T08:06:20.000Z",
  "_created": "2026-10-04T07:44:14.000Z",
  "_published": "2026-10-04T08:06:22.320Z",
  "_jobs": [
    {
      "job": 111390064823,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11297785270"
    },
    {
      "job": 111390064789,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297835215"
    },
    {
      "job": 111390064797,
      "time": 345,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11297557472"
    },
    {
      "job": 111390064749,
      "time": 326,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298110571"
    },
    {
      "job": 111389342175,
      "time": 276,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297320520"
    },
    {
      "job": 111390064774,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11296779905"
    },
    {
      "job": 111390064780,
      "time": 103,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11297705368"
    },
    {
      "job": 111390064811,
      "time": 118,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11297830125"
    },
    {
      "job": 111390064785,
      "time": 132,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297485349"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 2
  },
  "_downloads": {
    "count": 367,
    "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.1",
  "_assets": [
    "extra/cia.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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-10-04T07:46:40.000Z",
      "distro": "resolute",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/4552775cace23b6c543371d2b93340f4757627e908cdef59f269a25be6096f60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-04T07:46:36.000Z",
      "distro": "resolute",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/8d5b899675427d292ca45f86d8b321c4c6ccc064633ad0ac1e6b118c0f219919",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-04T08:04:28.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/f56d40da0c601bbb600689162fe427aee35068cd64c4ada72a51a0498abe1e89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-04T07:56:53.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/5d60adad390c36bb8d9b11f9811bbc3545427f70edd5886ff0aae78515eeb01c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-04T07:46:32.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/70f0b63bf78fb26e82d1e2f0497034394220bb5d39fe3aad0839075851a74de0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-04T07:45:17.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/628bbe8d7b1d650d8ea96cb86209fa4070d25075008f4730ea1190f0772f679f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-04T07:45:31.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/0050c2087fa27471772c1a9d4f3966fc9ccef08b19b7bfa821ffec4efaf50b68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-04T07:45:31.000Z",
      "commit": "39589e1a09e97a195912d789a259d788edd4f748",
      "fileid": "https://r2.ropensci.org/af58c0045ebd1b73324288bb25aa280c6f7737d0d4c97adce8725c643bb362f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spaceodyssey/actions/runs/37186457099"
    }
  ]
}