{
  "_id": "6ad32f7762c1581dfb2fab3e",
  "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-10-17 08:15:29 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/c0d5bdd5505ae0aa463c686c0440a01d661a9ac5306aa96b6b745f0c1f8e9544",
  "_filesize": 807148,
  "_sha256": "c0d5bdd5505ae0aa463c686c0440a01d661a9ac5306aa96b6b745f0c1f8e9544",
  "_expires": "2027-01-25T08:19:01.000Z",
  "_created": "2026-10-17T08:15:29.000Z",
  "_published": "2026-10-17T08:19:03.541Z",
  "_buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117350179676,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12095057873"
    },
    {
      "job": 117350179700,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095560013"
    },
    {
      "job": 117350180041,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095331478"
    },
    {
      "job": 117350179715,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094693781"
    },
    {
      "job": 117349606035,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095321382"
    },
    {
      "job": 117350179694,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12094094957"
    },
    {
      "job": 117350179673,
      "time": 117,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12095011653"
    },
    {
      "job": 117350179730,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095470920"
    },
    {
      "job": 117350179710,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095470953"
    }
  ],
  "_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
    }
  ],
  "_userbio": {
    "uuid": 34575917,
    "type": "organization",
    "name": "BIPS",
    "followers": 43,
    "description": "Leibniz Institute for Prevention Research and Epidemiology"
  },
  "_downloads": {
    "count": 300,
    "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/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.8808135922807914,
  "_indexed": true,
  "_nocasepkg": "tpc",
  "_universes": [
    "bips-hb",
    "rforaita"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T08:18:18.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/aa1c61dc274672d1e44daa73195483a399794cf05e1a5346fff13597b8ebd740",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T08:17:51.000Z",
      "distro": "resolute",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/f225f96df7154539ef71411c7266b4b4b716f292fd181fde42bb0684b3930e4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T08:17:07.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/2eb80314feab2c3f1d096ae10590d640509786261227d5f23c1f3d4c0008d38c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T08:17:03.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/fd1830483b7d44ba9efa674a3e068eff92597ce15ec5793329f7e3b9c3d43335",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-17T08:17:51.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/2731485364c08a362629b0d542cb277aa2676bcbb0c4793e40b64d5843a27e52",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T08:17:11.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/6549d14e308c2ab2051525ac8da0f0ccbb7aab6815c515b1f92d482a765513b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T08:16:52.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/9631e9f2df5ca687f52e9646f98e981184ad5d3c9ecb32b5d464cb0243368848",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T08:16:56.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "https://r2.ropensci.org/58a343e42c7bff9a17b2eec04d3bb28046f3b6f4ec1d09231a9ff18b39c52193",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/39016482833"
    }
  ]
}