{
  "_id": "6afae812117874b00e23897b",
  "Package": "tpc",
  "Type": "Package",
  "Title": "Tiered PC Algorithm",
  "Version": "1.0",
  "Authors@R": "c(\nperson(given = \"Janine\", family = \"Witte\",\nemail = \"witte@leibniz-bips.de\", role = c(\"aut\")),\nperson(given = \"Ronja\", family = \"Foraita\",\nemail = \"foraita@leibniz-bips.de\", role = c(\"cre\",\"ctb\"),\ncomment = c(ORCID = \"0000-0003-2216-6653\")),\nperson(\"DFG\", role = \"fnd\"))",
  "Maintainer": "Ronja Foraita <foraita@leibniz-bips.de>",
  "Description": "Constraint-based causal discovery using the PC algorithm\nwhile accounting for a partial node ordering, for example a\npartial temporal ordering when the data were collected in\ndifferent waves of a cohort study. Andrews RM, Foraita R,\nDidelez V, Witte J (2021) <arXiv:2108.13395> provide a guide\nhow to use tpc to analyse cohort data.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/bips-hb/tpc",
  "BugReports": "https://github.com/bips-hb/tpc/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://bips-hb.r-universe.dev",
  "Date/Publication": "2023-02-18 14:45:01 UTC",
  "RemoteUrl": "https://github.com/bips-hb/tpc",
  "RemoteRef": "HEAD",
  "RemoteSha": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-16 10:39:17 UTC",
    "User": "root"
  },
  "Author": "Janine Witte [aut],\nRonja Foraita [cre, ctb] (ORCID:\n<https://orcid.org/0000-0003-2216-6653>),\nDFG [fnd]",
  "_user": "bips-hb",
  "_type": "src",
  "_file": "tpc_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5d665a5488ee913e7a95e74da70f2c473ada7518635a9a1e2fa698136b61c0c4",
  "_filesize": 807058,
  "_sha256": "5d665a5488ee913e7a95e74da70f2c473ada7518635a9a1e2fa698136b61c0c4",
  "_expires": "2027-02-24T11:25:05.000Z",
  "_created": "2026-11-16T10:39:17.000Z",
  "_published": "2026-11-16T11:25:06.871Z",
  "_upstream": "https://github.com/bips-hb/tpc",
  "_status": "success",
  "_maintainer": {
    "name": "Ronja Foraita",
    "email": "foraita@leibniz-bips.de",
    "login": "rforaita",
    "description": "",
    "uuid": 15413913,
    "orcid": "0000-0003-2216-6653"
  },
  "_jobs": [
    {
      "job": 133242639587,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14217173834"
    },
    {
      "job": 133242639596,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14217128790"
    },
    {
      "job": 133242639560,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14222280189"
    },
    {
      "job": 133242639512,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14220784165"
    },
    {
      "job": 133240722486,
      "time": 225,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14217042716"
    },
    {
      "job": 133242639510,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14217831315"
    },
    {
      "job": 133242639738,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14217940530"
    },
    {
      "job": 133242639730,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14216743525"
    },
    {
      "job": 133242639606,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14217780889"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843",
  "_commit": {
    "id": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
    "author": "Ronja Foraita <foraita@bips.uni-bremen.de>",
    "committer": "Ronja Foraita <foraita@bips.uni-bremen.de>",
    "message": "changed description and included references\n",
    "time": 1676731501
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "pcalg",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "graph",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Rgraphviz",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bips-hb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "causal-discovery",
    "cohort-analysis",
    "graphical-models"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jawitte",
      "count": 51,
      "uuid": 12774797
    }
  ],
  "_userbio": {
    "uuid": 34575917,
    "type": "organization",
    "name": "BIPS",
    "followers": 45,
    "description": "Leibniz Institute for Prevention Research and Epidemiology"
  },
  "_downloads": {
    "count": 335,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tpc"
  },
  "_devurl": "https://github.com/bips-hb/tpc",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tpc.html"
  ],
  "_homeurl": "https://github.com/bips-hb/tpc",
  "_realowner": "bips-hb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2023-02-20"
    }
  ],
  "_exports": [
    "MeekRules",
    "tpc",
    "tpc.cons.intern",
    "tskeleton"
  ],
  "_datasets": [
    {
      "name": "dat_cohort",
      "title": "Simulated Cohort Data",
      "object": "dat_cohort",
      "class": [
        "data.frame"
      ],
      "fields": [
        "country",
        "sex",
        "fto",
        "birth_weight",
        "age_t0",
        "bmi_t0",
        "bodyfat_t0",
        "education_t0",
        "fiber_t0",
        "media_devices_t0",
        "media_time_t0",
        "mvpa_t0",
        "sugar_t0",
        "wellbeing_t0",
        "age_t1",
        "bmi_t1",
        "bodyfat_t1",
        "education_t1",
        "fiber_t1",
        "media_devices_t1",
        "media_time_t1",
        "mvpa_t1",
        "sugar_t1",
        "wellbeing_t1",
        "age_t2",
        "bmi_t2",
        "bodyfat_t2",
        "education_t2",
        "fiber_t2",
        "media_devices_t2",
        "media_time_t2",
        "mvpa_t2",
        "sugar_t2",
        "wellbeing_t2"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_cohort_dis",
      "title": "Simulated Cohort Data - discretized",
      "object": "dat_cohort_dis",
      "class": [
        "data.frame"
      ],
      "fields": [
        "country",
        "sex",
        "fto",
        "birth_weight",
        "age_t0",
        "bmi_t0",
        "bodyfat_t0",
        "education_t0",
        "fiber_t0",
        "media_devices_t0",
        "media_time_t0",
        "mvpa_t0",
        "sugar_t0",
        "wellbeing_t0",
        "age_t1",
        "bmi_t1",
        "bodyfat_t1",
        "education_t1",
        "fiber_t1",
        "media_devices_t1",
        "media_time_t1",
        "mvpa_t1",
        "sugar_t1",
        "wellbeing_t1",
        "age_t2",
        "bmi_t2",
        "bodyfat_t2",
        "education_t2",
        "fiber_t2",
        "media_devices_t2",
        "media_time_t2",
        "mvpa_t2",
        "sugar_t2",
        "wellbeing_t2"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_cohort_mis",
      "title": "Simulated Cohort Data - with missing values",
      "object": "dat_cohort_mis",
      "class": [
        "data.frame"
      ],
      "fields": [
        "country",
        "sex",
        "fto",
        "birth_weight",
        "age_t0",
        "bmi_t0",
        "bodyfat_t0",
        "education_t0",
        "fiber_t0",
        "media_devices_t0",
        "media_time_t0",
        "mvpa_t0",
        "sugar_t0",
        "wellbeing_t0",
        "age_t1",
        "bmi_t1",
        "bodyfat_t1",
        "education_t1",
        "fiber_t1",
        "media_devices_t1",
        "media_time_t1",
        "mvpa_t1",
        "sugar_t1",
        "wellbeing_t1",
        "age_t2",
        "bmi_t2",
        "bodyfat_t2",
        "education_t2",
        "fiber_t2",
        "media_devices_t2",
        "media_time_t2",
        "mvpa_t2",
        "sugar_t2",
        "wellbeing_t2"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_sim",
      "title": "Simulated Data with a Partial Ordering",
      "object": "dat_sim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "A1",
        "B1",
        "C1",
        "A2",
        "B2",
        "C2",
        "A3",
        "B3",
        "C3"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "true_cohort",
      "title": "Cohort Data Structure",
      "object": "true_cohort",
      "class": [
        "graphNEL"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "true_sim",
      "title": "A DAG with a Partial Ordering",
      "object": "true_sim",
      "class": [
        "graphNEL"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dat_cohort",
      "title": "Simulated Cohort Data",
      "topics": [
        "dat_cohort"
      ]
    },
    {
      "page": "dat_cohort_dis",
      "title": "Simulated Cohort Data - discretized",
      "topics": [
        "dat_cohort_dis"
      ]
    },
    {
      "page": "dat_cohort_mis",
      "title": "Simulated Cohort Data - with missing values",
      "topics": [
        "dat_cohort_mis"
      ]
    },
    {
      "page": "dat_sim",
      "title": "Simulated Data with a Partial Ordering",
      "topics": [
        "dat_sim"
      ]
    },
    {
      "page": "MeekRules",
      "title": "Last Step of tPC Algorithm: Apply Meek's rules",
      "topics": [
        "MeekRules"
      ]
    },
    {
      "page": "tpc",
      "title": "PC Algorithm Accounting for a Partial Node Ordering",
      "topics": [
        "tpc"
      ]
    },
    {
      "page": "tpc.cons.intern",
      "title": "Utility for Conservative and Majority Rule in tpc",
      "topics": [
        "tpc.cons.intern"
      ]
    },
    {
      "page": "true_cohort",
      "title": "Cohort Data Structure",
      "topics": [
        "true_cohort"
      ]
    },
    {
      "page": "true_sim",
      "title": "A DAG with a Partial Ordering",
      "topics": [
        "true_sim"
      ]
    },
    {
      "page": "tskeleton",
      "title": "Estimate the Skeleton of a DAG while Accounting for a Partial Ordering",
      "topics": [
        "tskeleton"
      ]
    }
  ],
  "_readme": "https://github.com/bips-hb/tpc/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "bdsmatrix",
    "BH",
    "BiocGenerics",
    "BiocManager",
    "cli",
    "clue",
    "cluster",
    "colorspace",
    "corpcor",
    "cpp11",
    "DEoptimR",
    "fastICA",
    "generics",
    "ggm",
    "glue",
    "graph",
    "igraph",
    "lattice",
    "lifecycle",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "pcalg",
    "pkgconfig",
    "RBGL",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "robustbase",
    "sfsmisc",
    "vcd",
    "vctrs",
    "zoo"
  ],
  "_score": 3.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "tpc",
  "_universes": [
    "bips-hb",
    "rforaita"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-16T10:41:19.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/33f9545153ac476138a4674b08ab7afcfa179c8c8089f9d8e04218a4f4a058b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0",
      "date": "2026-11-16T10:41:28.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/91badf56fad74c7a4501183e4d73b37cf7020872f26a69283e740379f7a59bdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-11-16T11:24:15.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/b6b6b79eed0967571845741a9e629299adc8cff24db72f0cafefe9aa17da9347",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0",
      "date": "2026-11-16T11:20:28.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/6b223a014e3a2b76e6b76b244e6ed1775be8a93ba5c2e5372d5458caecb8b606",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-11-16T10:41:24.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/2baca49c95034ee10b08fcd1aadd4a73256daaf7435974051f080b3c0b96644e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-16T10:40:42.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/a6b74c5756bd762bc569ddb217c2fd8d8fb6cbf12f5234d5740b556193714640",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-16T10:40:51.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/ed0dd6bf742301f69e148081282d85cfafcbf6db9ab925272b3d14c2043664b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0",
      "date": "2026-11-16T10:40:32.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/2f43a9f60e5d5a491038e2bb6c9c2e95d61a93904efac99feb79efa72e362e00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/43850226843"
    }
  ]
}