{
  "_id": "6afa0156c95df441bfeddbd6",
  "Package": "cit",
  "Type": "Package",
  "Title": "Causal Inference Test",
  "Version": "3.1.0",
  "Date": "2026-11-05",
  "Authors@R": "c(\nperson(\"Joshua\", \"Millstein\", email = \"joshua.millstein@usc.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7961-8943\")),\nperson(\"Mingzhi\", \"Ye\", role = \"aut\"))",
  "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 continuous, binary, or\na censored survival time; the potential mediator is continuous\nand may be multivariate; and the instrumental variable can be\ncontinuous or binary and is not limited to a single variable\nbut may be a design matrix representing multiple variables.",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/USCbiostats/cit/issues",
  "URL": "https://github.com/USCbiostats/cit",
  "NeedsCompilation": "yes",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-11-15 17:46:31 UTC",
  "RemoteUrl": "https://github.com/USCbiostats/cit",
  "RemoteRef": "HEAD",
  "RemoteSha": "e23d2eac990353191258613aea22f1b33241e07d",
  "Packaged": {
    "Date": "2026-11-15 18:54:21 UTC",
    "User": "root"
  },
  "Author": "Joshua Millstein [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7961-8943>),\nMingzhi Ye [aut]",
  "Maintainer": "Joshua Millstein <joshua.millstein@usc.edu>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "cit_3.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/94dd562000ae2dcc058fbb6e94f98566c4b40d3bec2f5e5b2ade98d007d6e0d2",
  "_filesize": 270380,
  "_sha256": "94dd562000ae2dcc058fbb6e94f98566c4b40d3bec2f5e5b2ade98d007d6e0d2",
  "_expires": "2027-02-23T19:00:37.000Z",
  "_created": "2026-11-15T18:54:21.000Z",
  "_published": "2026-11-15T19:00:38.704Z",
  "_upstream": "https://github.com/USCbiostats/cit",
  "_status": "success",
  "_maintainer": {
    "name": "Joshua Millstein",
    "email": "joshua.millstein@usc.edu",
    "login": "millstei",
    "description": "",
    "uuid": 23107824,
    "orcid": "0000-0001-7961-8943"
  },
  "_jobs": [
    {
      "job": 132919818169,
      "time": 126,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14175836191"
    },
    {
      "job": 132919818179,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14175772249"
    },
    {
      "job": 132919818184,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14175891036"
    },
    {
      "job": 132919818146,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14176130043"
    },
    {
      "job": 132919818121,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14175123121"
    },
    {
      "job": 132919818132,
      "time": 312,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14175472629"
    },
    {
      "job": 132919818126,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14176100093"
    },
    {
      "job": 132919818143,
      "time": 326,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14175329316"
    },
    {
      "job": 132918957438,
      "time": 181,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14175835906"
    },
    {
      "job": 132919818054,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14175279268"
    },
    {
      "job": 132919818123,
      "time": 233,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14175209703"
    },
    {
      "job": 132919818145,
      "time": 143,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14175896800"
    },
    {
      "job": 132919818115,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14175905881"
    },
    {
      "job": 132919818198,
      "time": 196,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14176175434"
    },
    {
      "job": 132919818120,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14175672562"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378",
  "_commit": {
    "id": "e23d2eac990353191258613aea22f1b33241e07d",
    "author": "millstei <joshua.millstein@usc.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from USCbiostats/sign-ind\n\ncit 3.1.0: sign check as its own column (sign_ind)",
    "time": 1794764791
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "uscbiostats",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v3.0.0",
      "date": "2026-11-01"
    },
    {
      "name": "v3.1.0",
      "date": "2026-11-15"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "mingzhiye16",
      "count": 25,
      "uuid": 45770554
    },
    {
      "user": "millstei",
      "count": 15,
      "uuid": 23107824
    },
    {
      "user": "gvegayon",
      "count": 9,
      "uuid": 893619
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 260
  },
  "_downloads": {
    "count": 547,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cit"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/uscbiostats/cit",
  "_searchresults": 38,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/cit.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.cox",
    "cit.cp",
    "cit.effects",
    "fdr.cit",
    "fdr.od",
    "fdr.q.para",
    "fdr.q.perm",
    "iuq",
    "linreg"
  ],
  "_help": [
    {
      "page": "cit-package",
      "title": "Causal Inference Test",
      "topics": [
        "cit-package",
        "cit"
      ]
    },
    {
      "page": "cit.bp",
      "title": "Causal Inference Test for a Binary Outcome",
      "topics": [
        "cit.bp"
      ]
    },
    {
      "page": "cit.cox",
      "title": "Causal Inference Test for a Survival Outcome",
      "topics": [
        "cit.cox"
      ]
    },
    {
      "page": "cit.cp",
      "title": "Causal Inference Test for a Continuous Outcome",
      "topics": [
        "cit.cp"
      ]
    },
    {
      "page": "cit.effects",
      "title": "Direct and Indirect Effect Estimates",
      "topics": [
        "cit.effects"
      ]
    },
    {
      "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": [
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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.357934847000454,
  "_indexed": false,
  "_nocasepkg": "cit",
  "_universes": [
    "mrcieu"
  ],
  "_indexurl": "https://uscbiostats.r-universe.dev/cit",
  "_previous": "3.0.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/304930e2c4176055c8ec7b81281d5e6975a4533ef4b54bd3024c8d76f9fd1af7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/6250a90ebfc8e38836042b425b3501ab805de8e07754d893d109d3c90fb4122b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/b75eaacb8488d3a6fe065dc18a8d9e163bc3fcf89e3c393ad3094d63f44048c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/4d0f2c8889c38c0dd0960f8851f91f0f768b845c7352b6a7ceb416d49e26ce90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:12.000Z",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/18ab611fa836c316b20041802c2f25018ed3a42bf4e1af504f83f153b6ba8519",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.0",
      "date": "2026-11-15T18:58:27.000Z",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/cb0ad9bb7ba3e37f8bce1bb368da9f17628445e3f61048319e53aed32a4faaee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:16.000Z",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/5294ba288118e00ba206ae23066475d517267abaadfc9c4c033e029a8099811f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "3.1.0",
      "date": "2026-11-15T18:58:24.000Z",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/8c765e037ded505405dc600a37d1107dd1e00eaf00418a787f5094ed490d98c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.0",
      "date": "2026-11-15T18:56:56.000Z",
      "arch": "emscripten",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/36393b146e64240cbd92200f2e81bd3341a7a08253a9babb15a982e14bbf6090",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.0",
      "date": "2026-11-15T18:57:54.000Z",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/3810a66317a75c985d871298944e38bad0f5f51d7d75b8c74cf2082aeddeef58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.0",
      "date": "2026-11-15T18:55:40.000Z",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/987a19ab3b4429218a75e313cba4fa792340d20fedefc2ec357d64b0bae5dabe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.1.0",
      "date": "2026-11-15T18:55:32.000Z",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/385fad37041ce7cafb74fd635206c656097d70f243f0cb2e6a9eb3054ee46f72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "3.1.0",
      "date": "2026-11-15T18:57:23.000Z",
      "arch": "aarch64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/a085bd5812b2da0b57b26236b0a5da6ee4c394c0b59a7a98913b325d4f91ad84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "3.1.0",
      "date": "2026-11-15T18:55:36.000Z",
      "arch": "x86_64",
      "commit": "e23d2eac990353191258613aea22f1b33241e07d",
      "fileid": "https://r2.ropensci.org/cb8287b10d3243c4563e1c6bc0ff682d06748ff7ebd3a79d68a719467d7ce5fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/43749110378"
    }
  ]
}