{
  "_id": "6a4cc53763214d920a4f33ca",
  "Package": "cit",
  "Type": "Package",
  "Title": "Causal Inference Test",
  "Version": "2.4.0",
  "Date": "2024-06-26",
  "Authors@R": "person(\"Joshua\", \"Millstein\", email = \"joshua.millstein@usc.edu\", role =\nc(\"aut\", \"cre\"), comment = c(ORCID=\"0000-0001-7961-8943\"))",
  "Description": "A likelihood-based hypothesis testing approach is\nimplemented for assessing causal mediation. Described in\nMillstein, Chen, and Breton (2016),\n<DOI:10.1093/bioinformatics/btw135>, it could be used to test\nfor mediation of a known causal association between a DNA\nvariant, the 'instrumental variable', and a clinical outcome or\nphenotype by gene expression or DNA methylation, the potential\nmediator. Another example would be testing mediation of the\neffect of a drug on a clinical outcome by the molecular target.\nThe hypothesis test generates a p-value or permutation-based\nFDR value with confidence intervals to quantify uncertainty in\nthe causal inference. The outcome can be represented by either\na continuous or binary variable, the potential mediator is\ncontinuous, and the instrumental variable can be continuous or\nbinary and is not limited to a single variable but may be a\ndesign matrix representing multiple variables.",
  "SystemRequirements": "gsl (with development libraries libgsl-dev)",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "LazyLoad": "yes",
  "BugReports": "https://github.com/USCbiostats/cit/issues",
  "URL": "https://github.com/USCbiostats/cit",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2024-06-27 04:50:38 UTC",
  "RemoteUrl": "https://github.com/USCbiostats/cit",
  "RemoteRef": "HEAD",
  "RemoteSha": "620f42dc9195d73b391497b6f1fccf6794756d67",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-07 09:14:02 UTC",
    "User": "root"
  },
  "Author": "Joshua Millstein [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7961-8943>)",
  "Maintainer": "Joshua Millstein <joshua.millstein@usc.edu>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "cit_2.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/46f3a19cb7f627e728ecc2e19fc0dae8db272037683c65bdbfeded5d7f0b839e",
  "_filesize": 186879,
  "_sha256": "46f3a19cb7f627e728ecc2e19fc0dae8db272037683c65bdbfeded5d7f0b839e",
  "_expires": "2026-10-15T09:21:57.000Z",
  "_created": "2026-07-07T09:14:02.000Z",
  "_published": "2026-07-07T09:21:59.045Z",
  "_jobs": [
    {
      "job": 85579922441,
      "time": 173,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8133344347"
    },
    {
      "job": 85579922420,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8133344328"
    },
    {
      "job": 85579922361,
      "time": 174,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8133345087"
    },
    {
      "job": 85579922421,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8133343986"
    },
    {
      "job": 85579922341,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8133318693"
    },
    {
      "job": 85579922389,
      "time": 249,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8133373656"
    },
    {
      "job": 85579922338,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8133342591"
    },
    {
      "job": 85579922331,
      "time": 386,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8133429486"
    },
    {
      "job": 85579087977,
      "time": 250,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8133269596"
    },
    {
      "job": 85579922423,
      "time": 182,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8133346746"
    },
    {
      "job": 85579922476,
      "time": 247,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8133372827"
    },
    {
      "job": 85579922306,
      "time": 160,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8133337743"
    },
    {
      "job": 85579922362,
      "time": 186,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8133348719"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898",
  "_status": "success",
  "_upstream": "https://github.com/USCbiostats/cit",
  "_commit": {
    "id": "620f42dc9195d73b391497b6f1fccf6794756d67",
    "author": "MingzhiYe16 <yemingzhis@gmail.com>",
    "committer": "MingzhiYe16 <yemingzhis@gmail.com>",
    "message": "change DESCRIPTIOON file\n",
    "time": 1719463838
  },
  "_maintainer": {
    "name": "Joshua Millstein",
    "email": "joshua.millstein@usc.edu",
    "login": "millstei",
    "description": "",
    "uuid": 23107824,
    "orcid": "0000-0001-7961-8943"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "uscbiostats",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "millstei",
      "count": 13,
      "uuid": 23107824
    },
    {
      "user": "gvegayon",
      "count": 9,
      "uuid": 893619
    },
    {
      "user": "mingzhiye16",
      "count": 5,
      "uuid": 45770554
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 250
  },
  "_downloads": {
    "count": 374,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cit"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/uscbiostats/cit",
  "_searchresults": 38,
  "_topics": [
    "gsl",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cit.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/uscbiostats/cit",
  "_realowner": "uscbiostats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-09-07"
    },
    {
      "version": "1.1",
      "date": "2011-12-10"
    },
    {
      "version": "1.2",
      "date": "2013-12-20"
    },
    {
      "version": "1.3",
      "date": "2014-12-10"
    },
    {
      "version": "1.4",
      "date": "2015-03-10"
    },
    {
      "version": "1.5",
      "date": "2015-10-25"
    },
    {
      "version": "1.7",
      "date": "2015-10-28"
    },
    {
      "version": "1.8",
      "date": "2016-01-09"
    },
    {
      "version": "1.9",
      "date": "2016-01-10"
    },
    {
      "version": "2.0",
      "date": "2016-03-07"
    },
    {
      "version": "2.1",
      "date": "2016-11-15"
    },
    {
      "version": "2.2",
      "date": "2017-12-15"
    },
    {
      "version": "2.3.1",
      "date": "2021-05-25"
    },
    {
      "version": "2.3.2",
      "date": "2024-06-28"
    }
  ],
  "_exports": [
    "cit.bp",
    "cit.bp.m.v1",
    "cit.bp.m.v2",
    "cit.bp.v1",
    "cit.bp.v2",
    "cit.cp",
    "cit.cp.m.v1",
    "cit.cp.m.v2",
    "cit.cp.v1",
    "cit.cp.v2",
    "fdr.cit",
    "fdr.od",
    "fdr.q.para",
    "fdr.q.perm",
    "iuq",
    "linregM.nc",
    "ms_f"
  ],
  "_help": [
    {
      "page": "cit-package",
      "title": "Causal Inference Test",
      "topics": [
        "cit-package"
      ]
    },
    {
      "page": "cit.bp",
      "title": "Causal Inference Test for a Binary Outcome",
      "topics": [
        "cit.bp"
      ]
    },
    {
      "page": "cit.cp",
      "title": "Causal Inference Test for a Continuous Outcome",
      "topics": [
        "cit.cp"
      ]
    },
    {
      "page": "fdr.cit",
      "title": "Omnibus FDR Values for CIT",
      "topics": [
        "fdr.cit"
      ]
    },
    {
      "page": "fdr.od",
      "title": "Permutation-Based FDR and Confidence Interval",
      "topics": [
        "fdr.od"
      ]
    },
    {
      "page": "fdr.q.para",
      "title": "Parametric tail-area FDR Values, q-values",
      "topics": [
        "fdr.q.para"
      ]
    },
    {
      "page": "fdr.q.perm",
      "title": "Nonparametric permutation-based tail-area FDR Values, q-values",
      "topics": [
        "fdr.q.perm"
      ]
    },
    {
      "page": "iuq",
      "title": "Intersection/Union Q-Value",
      "topics": [
        "iuq"
      ]
    },
    {
      "page": "linreg",
      "title": "F Test for Linear Model",
      "topics": [
        "linreg"
      ]
    }
  ],
  "_readme": "https://github.com/USCbiostats/cit/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libgsl",
      "package": "libgsl28",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.8+dfsg-6",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.056904851336473,
  "_indexed": false,
  "_nocasepkg": "cit",
  "_universes": [
    "mrcieu"
  ],
  "_indexurl": "https://uscbiostats.r-universe.dev/cit",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-07-07T09:17:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/4bd6b6c135dde15f1a97d45c1ce0d9ffeae61579fb9fabe6183e549c35bc780f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-07-07T09:16:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/7131e6182d46bf1582c9763abb709849a82270cef7b1a8fd83ba1f19c36a082d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-07-07T09:17:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/56779f0c89cde9e7082fd956e920dab16eeac6ed7d6213732e4bdcd124d05437",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-07-07T09:17:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/0266d044946d37a47b84f87bc0b6a34a8a98612d928f1a45e743e89f3fb682a8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-07-07T09:16:17.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/e446c54170d00ff0c857422c056f0d349bbf6e892c9803d837e382ce6997a52f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-07-07T09:17:35.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/1b9a4a790039a4e659a3bd580406990643c8d103c38a6940ba5ae506987a2c3e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-07-07T09:16:43.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/716697218d550277c753a74792497e64c8452c6b21a998ca5fbc6709436f83f3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-07-07T09:18:28.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/cf1c24214c647f2584cc45996dfb3cd5c332c7b69a72152a5947721a3e7afe35",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-07-07T09:17:13.000Z",
      "arch": "emscripten",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/b8b1c540ac88a18ba7d6987bc7a8e4265eb251df6ca463968116fe196aa8a419",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-07-07T09:16:36.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/c27cd0daecde96001ee596ab8b9bc5060c9bc17e7ca10d8c7a7ff041d71fa1d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-07-07T09:15:50.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/f56de38fe0457771605f8b3fbd3d8dceaa6ccf2df52059ff5022ae7183955d7e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-07-07T09:16:07.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/85df2aa49534124eaaf8a9116fcd1a766f58100f9014db98f0d60be72f741b39",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28854933898"
    }
  ]
}