{
  "_id": "6a1f112fb401979e7341d9a3",
  "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\"))\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",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/AlexisDerumigny/PCBN",
  "BugReports": "https://github.com/AlexisDerumigny/PCBN/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://alexisderumigny.r-universe.dev",
  "Date/Publication": "2025-11-18 09:06:21 UTC",
  "RemoteUrl": "https://github.com/alexisderumigny/pcbn",
  "RemoteRef": "HEAD",
  "RemoteSha": "92bd580ea06067b169002734a393b2e1a0977c0e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:03:19 UTC",
    "User": "root"
  },
  "Author": "Alexis Derumigny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6163-8097>),\nNiels Horsman [aut],\nDorota Kurowicka [aut]",
  "Maintainer": "Alexis Derumigny <a.f.f.derumigny@tudelft.nl>",
  "MD5sum": "9d12745b5fc716311fc1223020813461",
  "_user": "alexisderumigny",
  "_type": "src",
  "_file": "PCBN_0.1.1.tar.gz",
  "_fileid": "da82d9ec40f403d0d71e8016ae025ec2b40a38e168817ebfae3d3df6733ed57e",
  "_filesize": 416962,
  "_sha256": "da82d9ec40f403d0d71e8016ae025ec2b40a38e168817ebfae3d3df6733ed57e",
  "_created": "2026-05-17T08:03:19.000Z",
  "_published": "2026-06-02T17:21:51.036Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79130675446,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040666790"
    },
    {
      "job": 79130675691,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040666297"
    },
    {
      "job": 79130675662,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040661967"
    },
    {
      "job": 79130675088,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040664332"
    },
    {
      "job": 79130674690,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040652263"
    },
    {
      "job": 79130674728,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364953177"
    },
    {
      "job": 79130675348,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040665068"
    },
    {
      "job": 79130675152,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040661391"
    },
    {
      "job": 79130675970,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040662747"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/alexisderumigny/pcbn",
  "_commit": {
    "id": "92bd580ea06067b169002734a393b2e1a0977c0e",
    "author": "AlexisDerumigny <AlexisDerumigny@users.noreply.github.com>",
    "committer": "AlexisDerumigny <AlexisDerumigny@users.noreply.github.com>",
    "message": "Fix typo in `DESCRIPTION`\n",
    "time": 1763456781
  },
  "_maintainer": {
    "name": "Alexis Derumigny",
    "email": "a.f.f.derumigny@tudelft.nl",
    "login": "alexisderumigny",
    "orcid": "0000-0002-6163-8097",
    "description": "",
    "uuid": 9538132
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "bnlearn",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "r2r",
      "role": "Imports"
    },
    {
      "package": "VineCopula",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "data.tree",
      "role": "Suggests"
    },
    {
      "package": "Rgraphviz",
      "role": "Suggests"
    }
  ],
  "_owner": "alexisderumigny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2025-11-18"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "alexisderumigny",
      "count": 260,
      "uuid": 9538132
    },
    {
      "user": "niels1997-ui",
      "count": 13,
      "uuid": 114650793
    },
    {
      "user": "dkurowicka",
      "count": 1,
      "uuid": 197626252
    }
  ],
  "_userbio": {
    "uuid": 9538132,
    "type": "user",
    "name": "AlexisDerumigny"
  },
  "_downloads": {
    "count": 160,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PCBN"
  },
  "_devurl": "https://github.com/alexisderumigny/pcbn",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PCBN.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
  ],
  "_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"
      ]
    }
  ],
  "_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": "2025-11-12 15:54:14",
      "commits": 5
    },
    {
      "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": "2025-04-03 10:32:12",
      "commits": 5
    }
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "pcbn",
  "_universes": [
    "alexisderumigny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-17T08:05:32.000Z",
      "distro": "noble",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "95b38b7257f204bcfa83b2a28539bf7fcba361c37bb2de76cc2698f88e68379d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-17T08:05:29.000Z",
      "distro": "noble",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "1cffad38b70500b9e86a94960e30b5850e367554d7a7cd8f21f479798916a2b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-17T08:04:53.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "7aaba2171719b057a9705f23409062e392f97847e05e9ba17802c9c8fd35dc77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-17T08:05:12.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "875780f68199904385f89c20b4753d54da1be8d8543d3184045fd9c2a7493c92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-17T08:05:12.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "05fec1092b4cee8cc2ba2b4cdbad84d5fdb6b3b979aefdb06f9e40399ab62c64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-17T08:04:39.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "cbfefc0b3288ba60aba4f0e96a51017bde6cfdedc37f294f5b10918e31978f3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-17T08:04:53.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "06a82a9fb00042678717c7ab9a303615c03e92126eaa2c4c4d4d4e8b81a720b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-02T17:21:29.000Z",
      "commit": "92bd580ea06067b169002734a393b2e1a0977c0e",
      "fileid": "aa1cc778d8ad6ec49c0684b07bc81387aceecc1e97ef268aab0ed6ee264a125f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alexisderumigny/actions/runs/25985284547"
    }
  ]
}