{
  "_id": "6a4977b36d67900babdf5e72",
  "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-07-04 21:10:26 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/3a036b0e918add72f5ecafae02514028a93fd1a3f2ce92550b6c5fd31018a568",
  "_filesize": 808510,
  "_sha256": "3a036b0e918add72f5ecafae02514028a93fd1a3f2ce92550b6c5fd31018a568",
  "_expires": "2026-10-12T21:14:26.000Z",
  "_created": "2026-07-04T21:10:26.000Z",
  "_published": "2026-07-04T21:14:27.880Z",
  "_jobs": [
    {
      "job": 85167289133,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085475587"
    },
    {
      "job": 85167289124,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085475730"
    },
    {
      "job": 85167289125,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085468851"
    },
    {
      "job": 85167289122,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085464758"
    },
    {
      "job": 85167047637,
      "time": 230,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085454009"
    },
    {
      "job": 85167289121,
      "time": 204,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8085477957"
    },
    {
      "job": 85167289129,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085467470"
    },
    {
      "job": 85167289134,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085465703"
    },
    {
      "job": 85167289141,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085467153"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543",
  "_status": "success",
  "_upstream": "https://github.com/bips-hb/tpc",
  "_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
  },
  "_maintainer": {
    "name": "Ronja Foraita",
    "email": "foraita@leibniz-bips.de",
    "login": "rforaita",
    "description": "",
    "uuid": 15413913,
    "orcid": "0000-0003-2216-6653"
  },
  "_distro": "resolute",
  "_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
    },
    {
      "user": "rforaita",
      "count": 19,
      "uuid": 15413913
    }
  ],
  "_userbio": {
    "uuid": 34575917,
    "type": "organization",
    "name": "BIPS",
    "followers": 41,
    "description": "Leibniz Institute for Prevention Research and Epidemiology"
  },
  "_downloads": {
    "count": 322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tpc"
  },
  "_devurl": "https://github.com/bips-hb/tpc",
  "_searchresults": 19,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tpc.html",
    "manual.pdf"
  ],
  "_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.8808135922807914,
  "_indexed": true,
  "_nocasepkg": "tpc",
  "_universes": [
    "bips-hb",
    "rforaita"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-07-04T21:13:16.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/39d6ee0df512b4e54a99ab1a5f88d29e9ae7e5c4bc9d9e1cde5ce750c5dadcef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-07-04T21:13:22.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/8e6e93e1f205a149211c8b14add8025660f78c11c884fc5ca456bf2f11495520",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-07-04T21:12:19.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/70f54217846a3566a8e3e7a7d6ac49c8eb94ed5b8c4ae714cbf986b31c9c57d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-07-04T21:11:54.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/74fc4351b3b454fdd4b5f57d1c875ec58b5cf0521bc902059ef4173ab24a007e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-07-04T21:14:06.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/6bb3cf754796cbfd0bc381a1fa6cb37d4737a274712406678f7bd4baa5db74de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-07-04T21:12:01.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/25532593bf119e80e212d4724b2c55cc55ff5c3b1594ded86e6baf1dbd2cc635",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-07-04T21:11:45.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/981594a2d65118e343c0113f42efd06446f797c519ee93a0597c00a049901a4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-07-04T21:11:56.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/842e9e14fbe72e43eca8020a749e86caafc76df9c1de049ad86848c73cb05942",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/28719666543"
    }
  ]
}