{
  "_id": "6a1c08b51d7bb097a0a2c393",
  "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-05-31 10:04:49 UTC",
    "User": "root"
  },
  "Author": "Janine Witte [aut],\nRonja Foraita [cre, ctb] (ORCID:\n<https://orcid.org/0000-0003-2216-6653>),\nDFG [fnd]",
  "MD5sum": "d560c81f0a34325a6613d69f948763e2",
  "_user": "bips-hb",
  "_type": "src",
  "_file": "tpc_1.0.tar.gz",
  "_fileid": "fe51952d519ce2698d67b3345201ee16a1a9445c6e031a09ff3b97880b92f551",
  "_filesize": 806086,
  "_sha256": "fe51952d519ce2698d67b3345201ee16a1a9445c6e031a09ff3b97880b92f551",
  "_created": "2026-05-31T10:04:49.000Z",
  "_published": "2026-05-31T10:08:53.953Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78717377764,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315842269"
    },
    {
      "job": 78717377772,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315845640"
    },
    {
      "job": 78717377771,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315837582"
    },
    {
      "job": 78717377763,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315836502"
    },
    {
      "job": 78717162760,
      "time": 226,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315824271"
    },
    {
      "job": 78717377768,
      "time": 176,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315842990"
    },
    {
      "job": 78717377789,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315841146"
    },
    {
      "job": 78717377791,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315835945"
    },
    {
      "job": 78717377783,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315836620"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Leibniz Institute for Prevention Research and Epidemiology"
  },
  "_downloads": {
    "count": 205,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tpc"
  },
  "_devurl": "https://github.com/bips-hb/tpc",
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_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.9030899869919433,
  "_indexed": true,
  "_nocasepkg": "tpc",
  "_universes": [
    "bips-hb",
    "rforaita"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-31T10:07:31.000Z",
      "distro": "noble",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "09f1a6883439aafd4c73b030aef460e8e0e46d2ea48a4ad88b4609616d3b044a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-31T10:08:06.000Z",
      "distro": "noble",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "d7c4c3af2db995e0cd1178104b72e90ee15c724af0b5bd78a7c984e3c5ddd79f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-31T10:06:49.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "76428a9d6bfa085c6a6a29019a6be5065df61f24fb10aaeffb46b4795fe22e0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-31T10:06:38.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "8e7579651f34f0b548a7ffc5db582918901960a527600ec8ff04745bbf272fe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-05-31T10:08:08.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "1a79fe436876eee436278355055b55db440c00b5a014f37b47aa5a138944b0b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-31T10:06:56.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "089c76e2281882ef037d3c74c3e64ca1c42341f298a430511ea38933cd75dfae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-31T10:06:24.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "e10393da9fd69d7a735a79834db9b849fd8a1a6770399708186d4917fd9280bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-31T10:06:25.000Z",
      "commit": "137e18be731c51f7a37f7bfeac7fc86f5fafd631",
      "fileid": "cf998324070031d23c3ad4d282c60aca1ace878a5de662a190254d0bb31fa156",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bips-hb/actions/runs/26709573117"
    }
  ]
}