{
  "_id": "6ad11441a6a61792ed76b074",
  "Package": "PCBN",
  "Title": "Inference of Pair-Copula Bayesian Networks",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Alexis\", \"Derumigny\", , email = \"a.f.f.derumigny@tudelft.nl\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-6163-8097\")),\nperson(\"Niels\", \"Horsman\", , \"niels.horsman@hotmail.nl\", role = c(\"aut\")),\nperson(\"Dorota\", \"Kurowicka\", , \"D.Kurowicka@tudelft.nl\", role = c(\"aut\")),\nperson(\"Johan\", \"Larsson\", role = \"ctb\", comment = c(ORCID = \"0000-0002-4029-5945\"))\n)",
  "Description": "Creates, fits and samples Pair-Copula Bayesian Networks\n(PCBN) under some restrictions on the underlying Directed\nAcyclic Graph (DAG), that is, no active cycles nor interfering\nv-structures, following Derumigny, Horsman and Kurowicka (2025)\n<doi:10.48550/arXiv.2510.03518>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/AlexisDerumigny/PCBN",
  "BugReports": "https://github.com/AlexisDerumigny/PCBN/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://alexisderumigny.r-universe.dev",
  "Date/Publication": "2026-10-15 14:45:46 UTC",
  "RemoteUrl": "https://github.com/alexisderumigny/pcbn",
  "RemoteRef": "HEAD",
  "RemoteSha": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 17:32:57 UTC",
    "User": "root"
  },
  "Author": "Alexis Derumigny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6163-8097>),\nNiels Horsman [aut],\nDorota Kurowicka [aut],\nJohan Larsson [ctb] (ORCID: <https://orcid.org/0000-0002-4029-5945>)",
  "Maintainer": "Alexis Derumigny <a.f.f.derumigny@tudelft.nl>",
  "_user": "alexisderumigny",
  "_type": "src",
  "_file": "PCBN_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/5b31b2aa93a8435672cb0bdd497142a6368df4c98c56e91420c495228c920d73",
  "_filesize": 436973,
  "_sha256": "5b31b2aa93a8435672cb0bdd497142a6368df4c98c56e91420c495228c920d73",
  "_expires": "2027-01-23T17:58:22.000Z",
  "_created": "2026-10-15T17:32:57.000Z",
  "_published": "2026-10-15T17:58:25.139Z",
  "_buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116571589980,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11994673099"
    },
    {
      "job": 116571590199,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11993599744"
    },
    {
      "job": 116571589672,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11996082176"
    },
    {
      "job": 116571589922,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11996251682"
    },
    {
      "job": 116569755647,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11994093286"
    },
    {
      "job": 116571589611,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11993484728"
    },
    {
      "job": 116571589998,
      "time": 118,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11993484779"
    },
    {
      "job": 116571589708,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11993444478"
    },
    {
      "job": 116571589842,
      "time": 73,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11994113459"
    }
  ],
  "_upstream": "https://github.com/alexisderumigny/pcbn",
  "_commit": {
    "id": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
    "author": "AlexisDerumigny <AlexisDerumigny@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #11 from jolars/feat/caugi-backend\n\nAdd optional `caugi` graph backend",
    "time": 1792075546
  },
  "_maintainer": {
    "name": "Alexis Derumigny",
    "email": "a.f.f.derumigny@tudelft.nl",
    "login": "alexisderumigny",
    "orcid": "0000-0002-6163-8097",
    "description": "",
    "uuid": 9538132
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "bnlearn",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "r2r",
      "role": "Imports"
    },
    {
      "package": "VineCopula",
      "role": "Imports"
    },
    {
      "package": "caugi",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    },
    {
      "package": "data.tree",
      "role": "Suggests"
    },
    {
      "package": "Rgraphviz",
      "role": "Suggests"
    }
  ],
  "_owner": "alexisderumigny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 2
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2025-11-18"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "alexisderumigny",
      "count": 263,
      "uuid": 9538132
    },
    {
      "user": "niels1997-ui",
      "count": 13,
      "uuid": 114650793
    },
    {
      "user": "jolars",
      "count": 2,
      "uuid": 13087841
    },
    {
      "user": "dkurowicka",
      "count": 1,
      "uuid": 197626252
    }
  ],
  "_userbio": {
    "uuid": 9538132,
    "type": "user",
    "name": "AlexisDerumigny",
    "followers": 22
  },
  "_downloads": {
    "count": 251,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PCBN"
  },
  "_devurl": "https://github.com/alexisderumigny/pcbn",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "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/PCBN.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/alexisderumigny/pcbn",
  "_realowner": "alexisderumigny",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-11-17"
    }
  ],
  "_exports": [
    "active_cycles",
    "B_sets_are_increasing",
    "B_sets_cut_increments",
    "B_sets_make_unique",
    "BiCopCondFit",
    "complete_and_check_orders",
    "compute_sample_margin",
    "ComputeCondMargin",
    "create_empty_DAG",
    "DAG_to_restrictedDAG",
    "default_envir",
    "dsep_set",
    "extend_orders",
    "find_all_orders",
    "find_all_orders_v",
    "find_B_sets",
    "find_B_sets_v",
    "find_cond_copula_specified",
    "find_interfering_v_from_B_sets",
    "fit_all_orders",
    "fit_copulas",
    "fix_active_cycles",
    "fix_interfering_vstructs",
    "has_active_cycles",
    "has_interfering_vstrucs",
    "is_cond_copula_specified",
    "is_order_abiding_Bsets",
    "is_order_abiding_Bsets_v",
    "is_restrictedDAG",
    "new_PCBN",
    "path_hasChords",
    "path_hasConvergingConnections",
    "PCBN_PDF",
    "PCBN_sim",
    "plot_active_cycles",
    "possible_candidate_incoming_arc",
    "possible_candidate_outgoing_arc",
    "possible_candidates",
    "remove_CondInd",
    "set_arc"
  ],
  "_help": [
    {
      "page": "active_cycles",
      "title": "Checks if a graph contains active cycles",
      "topics": [
        "active_cycles",
        "has_active_cycles",
        "plot_active_cycles"
      ]
    },
    {
      "page": "B_sets_are_increasing",
      "title": "Checks if the B-sets for a particular node form an increasing sequence.",
      "topics": [
        "B_sets_are_increasing"
      ]
    },
    {
      "page": "B_sets_cut_increments",
      "title": "Find the decomposition of B-sets",
      "topics": [
        "B_sets_cut_increments"
      ]
    },
    {
      "page": "B_sets_make_unique",
      "title": "Compress a given collection of B-sets",
      "topics": [
        "B_sets_make_unique"
      ]
    },
    {
      "page": "complete_and_check_orders",
      "title": "Complete an order and check whether these are valid orders on parents sets",
      "topics": [
        "complete_and_check_orders"
      ]
    },
    {
      "page": "compute_sample_margin",
      "title": "Computes a conditional margin during sampling",
      "topics": [
        "compute_sample_margin"
      ]
    },
    {
      "page": "create_empty_DAG",
      "title": "Create empty DAG",
      "topics": [
        "create_empty_DAG"
      ]
    },
    {
      "page": "DAG_to_restrictedDAG",
      "title": "Turns a general graph into a restricted graph.",
      "topics": [
        "DAG_to_restrictedDAG",
        "fix_active_cycles",
        "fix_interfering_vstructs"
      ]
    },
    {
      "page": "BiCopCondFit",
      "title": "Fits the copula joining w and v given cond_set abiding by the conditional independencies of the graph",
      "topics": [
        "BiCopCondFit",
        "ComputeCondMargin",
        "default_envir"
      ]
    },
    {
      "page": "dsep_set",
      "title": "D-separation of two nodes given a set in a DAG",
      "topics": [
        "dsep_set"
      ]
    },
    {
      "page": "extend_orders",
      "title": "Fills in all possible orders for the next node for each possible order",
      "topics": [
        "extend_orders"
      ]
    },
    {
      "page": "find_all_orders",
      "title": "Finds all possible copula assignments given a DAG",
      "topics": [
        "find_all_orders"
      ]
    },
    {
      "page": "find_all_orders_v",
      "title": "Finds all possible orders of node v given previous copula assignments",
      "topics": [
        "find_all_orders_v"
      ]
    },
    {
      "page": "find_B_sets",
      "title": "Find all the B-sets of a given DAG",
      "topics": [
        "find_B_sets",
        "find_B_sets_v"
      ]
    },
    {
      "page": "find_cond_copula_specified",
      "title": "Find among parents of a node, the one that has a conditional copula specified",
      "topics": [
        "find_cond_copula_specified"
      ]
    },
    {
      "page": "find_interfering_v_from_B_sets",
      "title": "Find all interfering v-structures for a given collection of B-sets",
      "topics": [
        "find_interfering_v_from_B_sets"
      ]
    },
    {
      "page": "fit_copulas",
      "title": "Fit the copulas of a PCBN given data",
      "topics": [
        "fit_all_orders",
        "fit_copulas"
      ]
    },
    {
      "page": "has_interfering_vstrucs",
      "title": "Checks if graph has interfering v-structures",
      "topics": [
        "has_interfering_vstrucs"
      ]
    },
    {
      "page": "is_cond_copula_specified",
      "title": "Checks if a given (conditional) copula has already been specified",
      "topics": [
        "is_cond_copula_specified"
      ]
    },
    {
      "page": "is_order_abiding_Bsets",
      "title": "Check whether a certain order abides by the B-sets",
      "topics": [
        "is_order_abiding_Bsets",
        "is_order_abiding_Bsets_v"
      ]
    },
    {
      "page": "is_restrictedDAG",
      "title": "Does a DAG satisfy the restrictions of no active cycle and no interfering v-structures",
      "topics": [
        "is_restrictedDAG"
      ]
    },
    {
      "page": "logLik.PCBN",
      "title": "Log-likelihood of a PCBN object",
      "topics": [
        "logLik.PCBN"
      ]
    },
    {
      "page": "new_PCBN",
      "title": "Initializes PCBN class",
      "topics": [
        "new_PCBN"
      ]
    },
    {
      "page": "path_hasConvergingConnections",
      "title": "Checks a path for converging connections and chords.",
      "topics": [
        "path_hasChords",
        "path_hasConvergingConnections"
      ]
    },
    {
      "page": "PCBN_PDF",
      "title": "PDF of a PCBN model",
      "topics": [
        "PCBN_PDF"
      ]
    },
    {
      "page": "PCBN_sim",
      "title": "Simulate data from a specified PCBN",
      "topics": [
        "PCBN_sim"
      ]
    },
    {
      "page": "print.PCBN",
      "title": "Print and plot PCBN objects",
      "topics": [
        "plot.PCBN",
        "print.PCBN"
      ]
    },
    {
      "page": "possible_candidates",
      "title": "Possible candidates to be added to a partial order",
      "topics": [
        "possible_candidates",
        "possible_candidate_incoming_arc",
        "possible_candidate_outgoing_arc"
      ]
    },
    {
      "page": "remove_CondInd",
      "title": "Remove elements from a conditioning set by using conditional independence",
      "topics": [
        "remove_CondInd"
      ]
    },
    {
      "page": "set_arc",
      "title": "Add a directed arc to a graph",
      "topics": [
        "set_arc"
      ]
    }
  ],
  "_readme": "https://github.com/alexisderumigny/pcbn/raw/HEAD/README.md",
  "_rundeps": [
    "ADGofTest",
    "bnlearn",
    "cli",
    "cpp11",
    "digest",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mvtnorm",
    "pkgconfig",
    "r2r",
    "rlang",
    "vctrs",
    "VineCopula"
  ],
  "_vignettes": [
    {
      "source": "Bsets-v-structs.Rmd",
      "filename": "Bsets-v-structs.html",
      "title": "B-sets and interfering v-structures",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are B-sets?",
        "Interfering v-structures",
        "B-sets cuts"
      ],
      "created": "2024-03-17 18:32:10",
      "modified": "2026-10-15 14:45:46",
      "commits": 6
    },
    {
      "source": "internals-estimation.Rmd",
      "filename": "internals-estimation.html",
      "title": "How to use the estimation procedures",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data simulation",
        "Estimation",
        "Copula of U1 and U2",
        "Copulas related to U3 and U4",
        "Corresponding computation trees of the copulas",
        "Corresponding computation trees of the margins",
        "Conditional marginal pseudo-observations",
        "Fitting the rest of the DAG",
        "Copulas related to the node U6",
        "Copulas related to the node U7"
      ],
      "created": "2024-02-14 12:57:05",
      "modified": "2026-10-15 14:45:46",
      "commits": 6
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "pcbn",
  "_universes": [
    "alexisderumigny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-15T17:35:01.000Z",
      "distro": "resolute",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/a9441c2ad761b9699029bf851666d3950f3ec51e0efd3ec7858f2e40db9ae501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-15T17:34:54.000Z",
      "distro": "resolute",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/d62f1185595a8651b1292ac819bb0e7aa03768e6ac712066098fa11d811a6340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-15T17:57:49.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/f328090155b43e28a91622524b4d28faf24ee340f136d775a00cf32b190d8e26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-15T17:55:00.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/8fc16ef2dd6cfcfbff1ba713fb70fbe0fca56f8e7314f8b60b50e93b5be220ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-15T17:34:53.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/b39ac4f0bc31f6843e9651eeeac6d6544b2e259b9e542e58e041415c3d522bb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-15T17:34:41.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/20028be71df9619c445dcff6b24307d92082df5bd8b145697addd5b3d80f1d87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-15T17:34:02.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/09b09b8b5e031864143e4c8d71858ac03a68e1b424eb11c51d5814eec8fae3dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-15T17:34:06.000Z",
      "commit": "41bad12ee7e12ded4424a4d9b917cd84bb37cdb2",
      "fileid": "https://r2.ropensci.org/a6fcbe61b9b5904eb5cccace7d2d50e70f824fdda9be01b6c9709c8e02a42871",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/38777720177"
    }
  ]
}