{
  "_id": "6ae7c673818c9e3ef6dbcfc2",
  "Package": "cit",
  "Type": "Package",
  "Title": "Causal Inference Test",
  "Version": "3.0.0",
  "Date": "2026-10-18",
  "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-01 17:20:41 UTC",
  "RemoteUrl": "https://github.com/USCbiostats/cit",
  "RemoteRef": "HEAD",
  "RemoteSha": "85860737682f48322b436982d30ad558acc7704a",
  "Packaged": {
    "Date": "2026-11-01 19:03:07 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.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/926a5a08d9d29543d629e17bdbeffb5b41dace0f8a1051811d52b13aace23761",
  "_filesize": 265612,
  "_sha256": "926a5a08d9d29543d629e17bdbeffb5b41dace0f8a1051811d52b13aace23761",
  "_expires": "2027-02-09T23:08:33.000Z",
  "_created": "2026-11-01T19:03:07.000Z",
  "_published": "2026-11-01T23:08:34.891Z",
  "_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": 124947127379,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13097186179"
    },
    {
      "job": 124947127503,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13097013195"
    },
    {
      "job": 124947127426,
      "time": 96,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13096258234"
    },
    {
      "job": 124947127486,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13096608045"
    },
    {
      "job": 124947127493,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13103904953"
    },
    {
      "job": 124947127469,
      "time": 316,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13104833550"
    },
    {
      "job": 124947127458,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13105340414"
    },
    {
      "job": 124947127483,
      "time": 236,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13104936369"
    },
    {
      "job": 124943070720,
      "time": 172,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13096852163"
    },
    {
      "job": 124947127361,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13096793787"
    },
    {
      "job": 124947127428,
      "time": 200,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13097082120"
    },
    {
      "job": 124947127495,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13096562523"
    },
    {
      "job": 124947127416,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13096457827"
    },
    {
      "job": 124947127398,
      "time": 201,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13096588905"
    },
    {
      "job": 124947127490,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13097031957"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862",
  "_commit": {
    "id": "85860737682f48322b436982d30ad558acc7704a",
    "author": "millstei <joshua.millstein@usc.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from USCbiostats/v3-consolidate\n\ncit 3.0.0: one engine for all outcome types, no GSL",
    "time": 1793553641
  },
  "_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
    }
  ],
  "_tags": [
    {
      "name": "v3.0.0",
      "date": "2026-11-01"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "mingzhiye16",
      "count": 25,
      "uuid": 45770554
    },
    {
      "user": "millstei",
      "count": 14,
      "uuid": 23107824
    },
    {
      "user": "gvegayon",
      "count": 9,
      "uuid": 893619
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 260
  },
  "_downloads": {
    "count": 413,
    "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.056904851336473,
  "_indexed": false,
  "_nocasepkg": "cit",
  "_universes": [
    "mrcieu"
  ],
  "_indexurl": "https://uscbiostats.r-universe.dev/cit",
  "_previous": "2.4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-11-01T19:05:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/2bc060132e9ee2bcbe76cef2900fc4dbdbc993c46b0e1d0f6eb47c5e30636066",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-11-01T19:11:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/32bcc34856c5e06fb8a2ab41e23c787070274282c10ede7075c8952978b1d1ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-11-01T19:04:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/67c1f10aaca93e11d3976a7ef07b8ecc47f62697773c25db413a514aad913f90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-11-01T19:12:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/7e7744580202ba8c37943168858d6f461ad7294932123a5f817c84417f30c034",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-11-01T23:03:41.000Z",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/b94ce4f2120ad9d81bc72f7a0efdea620c1db8c58f88252e289af38eb0b921cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-11-01T23:06:33.000Z",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/1975b808a60c485069e5a30fb1eef14c82154070dc4fdabc68e9ff21a0278d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-11-01T23:04:59.000Z",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/b4d53b8409a2108a9567b83dfbafaed740e7175cf7f0d2008f190c801ca73e0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-11-01T23:06:03.000Z",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/8609afb8300d962f8af261500a16cbb785389b6e24420cf94f0a57001658f7c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-11-01T19:12:04.000Z",
      "arch": "emscripten",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/30611fd6109bcc92fe1a1a2cd25f242432d097735831623c4943651f4b3146b2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-11-01T19:06:16.000Z",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/d6fa3062ea0fd7713d8778e4a45943ca2a260037775422a774067871416cb76e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-11-01T19:04:50.000Z",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/624df31b5298a45bb3990bcbc0b6f4e8a946359d6f10ea771ba6d5adaba31136",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-11-01T19:04:29.000Z",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/ccb6ca0dacc49945de1f47e4f989956fe1a27e04cfb86e627ae0b5dba7eb3117",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-11-01T19:06:19.000Z",
      "arch": "aarch64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/5da91e355f38fd107f719106f2c3b9b49ee1c4a56c011d5c525037b08ca0e584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-11-01T19:04:39.000Z",
      "arch": "x86_64",
      "commit": "85860737682f48322b436982d30ad558acc7704a",
      "fileid": "https://r2.ropensci.org/980de018e0ca5669051793ced41c62fe0ec5b6f331682f2438df872d44e5af17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/41336716862"
    }
  ]
}