{
  "_id": "6ae31aa9327abcdf8686668d",
  "Package": "phacking",
  "Title": "Sensitivity Analysis for p-Hacking in Meta-Analyses",
  "Version": "0.2.1",
  "Authors@R": "c(\nperson(\"Peter\", \"Solymos\", email = \"peter@analythium.io\", role = c(\"cre\", \"ctb\"), comment = c(ORCID = \"0000-0001-7337-1740\")),\nperson(\"Maya\", \"Mathur\", email = \"mmathur@stanford.edu\", role = c(\"aut\")),\nperson(\"Mika\", \"Braginsky\", email = \"mika.br@gmail.com\", role = c(\"aut\"))\n)",
  "Description": "Fits right-truncated meta-analysis (RTMA), a bias\ncorrection for the joint effects of p-hacking (i.e.,\nmanipulation of results within studies to obtain significant,\npositive estimates) and traditional publication bias (i.e., the\nselective publication of studies with significant, positive\nresults) in meta-analyses [see Mathur MB (2022). \"Sensitivity\nanalysis for p-hacking in meta-analyses.\"\n<doi:10.31219/osf.io/ezjsx>.]. Unlike publication bias alone,\np-hacking that favors significant, positive results (termed\n\"affirmative\") can distort the distribution of affirmative\nresults. To bias-correct results from affirmative studies would\nrequire strong assumptions on the exact nature of p-hacking. In\ncontrast, joint p-hacking and publication bias do not distort\nthe distribution of published nonaffirmative results when there\nis stringent p-hacking (e.g., investigators who hack always\neventually obtain an affirmative result) or when there is\nstringent publication bias (e.g., nonaffirmative results from\nhacked studies are never published). This means that any\npublished nonaffirmative results are from unhacked studies.\nUnder these assumptions, RTMA involves analyzing only the\npublished nonaffirmative results to essentially impute the full\nunderlying distribution of all results prior to selection due\nto p-hacking and/or publication bias. The package also provides\ndiagnostic plots described in Mathur (2022).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/mathurlabstanford/phacking,\nhttps://mathurlabstanford.github.io/phacking/",
  "BugReports": "https://github.com/mathurlabstanford/phacking/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "RdMacros": "Rdpack",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 09:58:58 UTC",
    "User": "root"
  },
  "Author": "Peter Solymos [cre, ctb]\n(<https://orcid.org/0000-0001-7337-1740>), Maya Mathur [aut],\nMika Braginsky [aut]",
  "Maintainer": "Peter Solymos <peter@analythium.io>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-07-17 15:31:37 UTC",
  "RemoteUrl": "https://github.com/cran/phacking",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
  "_user": "cran",
  "_type": "src",
  "_file": "phacking_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/c66fee2ed44c424b25f711b8d0a9cecc6f0a9d73b710c51eef8f0a38e9409897",
  "_filesize": 146485,
  "_sha256": "c66fee2ed44c424b25f711b8d0a9cecc6f0a9d73b710c51eef8f0a38e9409897",
  "_expires": "2027-02-06T10:06:31.000Z",
  "_created": "2026-10-29T09:58:58.000Z",
  "_published": "2026-10-29T10:06:33.452Z",
  "_upstream": "https://github.com/cran/phacking",
  "_status": "success",
  "_maintainer": {
    "name": "Peter Solymos",
    "email": "peter@analythium.io",
    "login": "psolymos",
    "linkedin": "in/peter-solymos",
    "twitter": "@psolymos",
    "description": "Tech-bio-nerd",
    "uuid": 831636,
    "orcid": "0000-0001-7337-1740"
  },
  "_jobs": [
    {
      "job": 123380461554,
      "time": 258,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12888243957"
    },
    {
      "job": 123380461470,
      "time": 239,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12888547655"
    },
    {
      "job": 123380461655,
      "time": 282,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12888802169"
    },
    {
      "job": 123380461588,
      "time": 335,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12887544365"
    },
    {
      "job": 123377779967,
      "time": 361,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12888422715"
    },
    {
      "job": 123380461436,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12888617174"
    },
    {
      "job": 123380461671,
      "time": 321,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12888029285"
    },
    {
      "job": 123380461729,
      "time": 357,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12888627938"
    },
    {
      "job": 123380461613,
      "time": 345,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12888053436"
    },
    {
      "job": 123380461534,
      "time": 320,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12887829969"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255",
  "_commit": {
    "id": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
    "author": "Peter Solymos <peter@analythium.io>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1689607897
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "metabias",
      "role": "Imports"
    },
    {
      "package": "metafor",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stats4",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mikabr",
      "count": 2,
      "uuid": 1414971
    },
    {
      "user": "psolymos",
      "count": 1,
      "uuid": 831636
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 297,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phacking"
  },
  "_devurl": "https://github.com/mathurlabstanford/phacking",
  "_pkgdown": "https://mathurlabstanford.github.io/phacking/",
  "_searchresults": 0,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "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/phacking.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mathurlabstanford/phacking",
  "_realowner": "mathurlabstanford",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2022-06-21"
    },
    {
      "version": "0.1.0",
      "date": "2023-01-20"
    },
    {
      "version": "0.2.1",
      "date": "2023-07-17"
    }
  ],
  "_exports": [
    "phacking_meta",
    "rtma_cdf",
    "rtma_qqplot",
    "z_density"
  ],
  "_datasets": [
    {
      "name": "money_priming_meta",
      "title": "Meta-analysis of money priming studies",
      "object": "money_priming_meta",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "study",
        "yi",
        "vi",
        "zi",
        "preregistered"
      ],
      "rows": 287,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "money_priming_meta",
      "title": "Meta-analysis of money priming studies",
      "topics": [
        "money_priming_meta"
      ]
    },
    {
      "page": "phacking_meta",
      "title": "Right-truncated meta-analysis",
      "topics": [
        "phacking_meta"
      ]
    },
    {
      "page": "rtma_cdf",
      "title": "Compute theoretical and empirical CDFs for a right-truncated meta-analysis",
      "topics": [
        "rtma_cdf"
      ]
    },
    {
      "page": "rtma_qqplot",
      "title": "Diagnostic quantile-quantile plot for a right-truncated meta-analysis",
      "topics": [
        "rtma_qqplot"
      ]
    },
    {
      "page": "z_density",
      "title": "Z-score density plot",
      "topics": [
        "z_density"
      ]
    }
  ],
  "_readme": "https://github.com/cran/phacking/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "mathjaxr",
    "Matrix",
    "matrixStats",
    "metabias",
    "metadat",
    "metafor",
    "nlme",
    "numDeriv",
    "otel",
    "pbapply",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "tidyselect",
    "truncnorm",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "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": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "phacking",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://mathurlabstanford.r-universe.dev/phacking",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-29T10:02:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/b9fe5db4f59d9ec1c4733394af62ab3dd24c748947d9615d8890bf6a77611804",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-29T10:02:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/c575753195e6282f7b953f34a94c6aa414987c424f06d39a0f739054a5f8991b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-29T10:02:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/b43b8e1c839b80335ccce6675dcbf2c57e20edb6fa69a5083d4520cb11cbb085",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-29T10:02:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/e5e5de4af45880e317f6800a3ad19939128b8a8ada384b4b930d4add32fc449f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-10-29T10:02:25.000Z",
      "arch": "emscripten",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/1b86f5d7cd6f0950551c8a51d4ce01c880bbd537f08e81ec8336f4ff1bb51562",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-29T10:03:11.000Z",
      "arch": "aarch64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/50cb4adc55610372a9f468626da411a94395d794e4850b391cd275eed30d6fc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-29T10:01:33.000Z",
      "arch": "x86_64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/59872a3a6b55cb965f1e35db8c695fb7df04075e592ede3bac454bbd51fb399f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-29T10:03:36.000Z",
      "arch": "aarch64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/1a23de114ede0abb6f40a46da8cb673773dc76fce48a857edcfabb3943338c53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-29T10:01:34.000Z",
      "arch": "x86_64",
      "commit": "bd4474f66b2d5972f8483cf2acd828e9dfbf6ad3",
      "fileid": "https://r2.ropensci.org/8197e673a506752177975fd2677d75d56071674504e6f0db0a8497010e9cbda6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40853211255"
    }
  ]
}