{
  "_id": "6a102593acfb0bcc41c8ecd3",
  "Package": "BayesPower",
  "Title": "Sample Size and Power Calculation for Bayesian Testing with\nBayes Factor",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Tsz Keung\", \"Wong\", email = \"t.k.wong3004@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Samuel\", \"Pawel\", role = c(\"aut\")),\nperson(\"Jorge\", \"Tendeiro\", role = c(\"aut\")))",
  "Description": "The goal of 'BayesPower' is to provide tools for Bayesian\nsample size determination and power analysis across a range of\ncommon hypothesis testing scenarios using Bayes factors. The\nmain function, BayesPower_BayesFactor(), launches an\ninteractive 'shiny' application for performing these analyses.\nThe application also provides command-line code for\nreproducibility. Details of the methods are described in the\ntutorial by Wong, Pawel, and Tendeiro (2025)\n<doi:10.31234/osf.io/pgdac_v3>.",
  "BugReports": "https://github.com/tkWong3004/BayesPower/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-13 09:31:52 UTC",
    "User": "root"
  },
  "Author": "Tsz Keung Wong [aut, cre], Samuel Pawel [aut], Jorge Tendeiro\n[aut]",
  "Maintainer": "Tsz Keung Wong <t.k.wong3004@gmail.com>",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev libuv1-dev\npari-gp zlib1g-dev",
  "Repository": "https://tkwong3004.r-universe.dev",
  "Date/Publication": "2026-04-13 14:12:13 UTC",
  "RemoteUrl": "https://github.com/cran/BayesPower",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e7920c9a490be37e40ba92e88b957edee9a5233",
  "MD5sum": "e0b3913049a474603e049469fe8728d7",
  "_user": "tkwong3004",
  "_type": "src",
  "_file": "BayesPower_1.0.4.tar.gz",
  "_fileid": "a8bb288357285e9f087265fdaa546f29ad2c650e4294154e937c6ee1a7bbe331",
  "_filesize": 284626,
  "_sha256": "a8bb288357285e9f087265fdaa546f29ad2c650e4294154e937c6ee1a7bbe331",
  "_created": "2026-05-13T09:31:52.000Z",
  "_published": "2026-05-22T09:44:51.505Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355103251,
      "time": 209,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966556042"
    },
    {
      "job": 77355103474,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966556310"
    },
    {
      "job": 77355103431,
      "time": 205,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966554718"
    },
    {
      "job": 77355103369,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966563874"
    },
    {
      "job": 77355103361,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966542795"
    },
    {
      "job": 77355103447,
      "time": 348,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966598367"
    },
    {
      "job": 77355103446,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966548473"
    },
    {
      "job": 77355102737,
      "time": 302,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966581522"
    },
    {
      "job": 77355102776,
      "time": 250,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966482421"
    },
    {
      "job": 77355102514,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157562388"
    },
    {
      "job": 77355103022,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966544298"
    },
    {
      "job": 77355103231,
      "time": 215,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966558660"
    },
    {
      "job": 77355103265,
      "time": 245,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966568880"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BayesPower",
  "_commit": {
    "id": "6e7920c9a490be37e40ba92e88b957edee9a5233",
    "author": "Tsz Keung Wong <t.k.wong3004@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1776089533
  },
  "_maintainer": {
    "name": "Tsz Keung Wong",
    "email": "t.k.wong3004@gmail.com",
    "login": "tkwong3004",
    "uuid": 150060977
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "ExtDist",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "hypergeo",
      "role": "Imports"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "shinyWidgets",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.1",
      "date": "2025-10-29"
    },
    {
      "name": "1.0.2",
      "date": "2026-02-12"
    },
    {
      "name": "1.0.3",
      "date": "2026-03-16"
    },
    {
      "name": "1.0.4",
      "date": "2026-04-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tkwong3004",
      "count": 4,
      "uuid": 150060977
    }
  ],
  "_userbio": {
    "uuid": 150060977,
    "type": "user",
    "name": "tkWong3004"
  },
  "_downloads": {
    "count": 604,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPower"
  },
  "_devurl": "https://github.com/tkwong3004/bayespower",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesPower.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "tkwong3004",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-10-29"
    },
    {
      "version": "1.0.2",
      "date": "2026-02-16"
    },
    {
      "version": "1.0.3",
      "date": "2026-03-16"
    },
    {
      "version": "1.0.4",
      "date": "2026-04-13"
    }
  ],
  "_exports": [
    "BayesPower_BayesFactor",
    "BF10.bin.test",
    "BF10.cor",
    "BF10.f.test",
    "BF10.props",
    "BF10.ttest.OneSample",
    "BF10.ttest.TwoSample",
    "BFpower.bin",
    "BFpower.cor",
    "BFpower.f.test",
    "BFpower.props",
    "BFpower.ttest.OneSample",
    "BFpower.ttest.TwoSample"
  ],
  "_help": [
    {
      "page": "BayesPower_BayesFactor",
      "title": "Launch the BayesPower Shiny Application",
      "topics": [
        "BayesPower_BayesFactor"
      ]
    },
    {
      "page": "BF10.bin.test",
      "title": "Bayes Factor for a Bayesian One-Proportion Test",
      "topics": [
        "BF10.bin.test"
      ]
    },
    {
      "page": "BF10.cor",
      "title": "Bayes Factor for a Bayesian Correlation Test",
      "topics": [
        "BF10.cor"
      ]
    },
    {
      "page": "BF10.f.test",
      "title": "Bayes Factor for a Bayesian F-Test",
      "topics": [
        "BF10.f.test"
      ]
    },
    {
      "page": "BF10.props",
      "title": "Bayes Factor for Comparing Two Proportions",
      "topics": [
        "BF10.props"
      ]
    },
    {
      "page": "BF10.ttest.OneSample",
      "title": "Bayes Factor for a One-Sample Bayesian t-Test",
      "topics": [
        "BF10.ttest.OneSample"
      ]
    },
    {
      "page": "BF10.ttest.TwoSample",
      "title": "Bayes Factor for a Two-Sample Bayesian t-Test",
      "topics": [
        "BF10.ttest.TwoSample"
      ]
    },
    {
      "page": "BFpower.bin",
      "title": "Sample Size Determination for the Bayesian One-Proportion Test",
      "topics": [
        "BFpower.bin"
      ]
    },
    {
      "page": "BFpower.cor",
      "title": "Sample Size Determination for the Bayesian Correlation Test",
      "topics": [
        "BFpower.cor"
      ]
    },
    {
      "page": "BFpower.f.test",
      "title": "Sample Size Determination for the Bayesian F-Test",
      "topics": [
        "BFpower.f.test"
      ]
    },
    {
      "page": "BFpower.props",
      "title": "Sample Size Determination for the Bayesian Test of Two Proportions",
      "topics": [
        "BFpower.props"
      ]
    },
    {
      "page": "BFpower.ttest.OneSample",
      "title": "Sample Size Determination for the One-Sample Bayesian t-Test",
      "topics": [
        "BFpower.ttest.OneSample"
      ]
    },
    {
      "page": "BFpower.ttest.TwoSample",
      "title": "Sample Size Determination for the Two-Sample Bayesian t-Test",
      "topics": [
        "BFpower.ttest.TwoSample"
      ]
    },
    {
      "page": "plot.BFpower",
      "title": "Plot Method for BFpower Objects",
      "topics": [
        "plot.BFpower"
      ]
    },
    {
      "page": "print.BFpower",
      "title": "Print Method for BFpower Objects",
      "topics": [
        "print.BFpower"
      ]
    },
    {
      "page": "print.BFvalue",
      "title": "Print Method for BFvalue Objects",
      "topics": [
        "print.BFvalue"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "contfrac",
    "cpp11",
    "deSolve",
    "digest",
    "dplyr",
    "elliptic",
    "evaluate",
    "ExtDist",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gsl",
    "gtable",
    "highr",
    "htmltools",
    "httpuv",
    "hypergeo",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "nloptr",
    "numDeriv",
    "optimx",
    "otel",
    "patchwork",
    "pillar",
    "pkgconfig",
    "pracma",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rootSolve",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyWidgets",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "bayespower",
  "_universes": [
    "tkwong3004"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-13T09:35:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "d052266b29c6b55c24c7057989f17b5e6995b57a0653980bc3393e517793c5fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-13T09:35:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "a6c0a66438f0f0c00c7d97a3854090400f71bc77733db16a49db1133084ee5d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-13T09:34:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "c2206bf346955bfeabaed622c85142386630efafaa857ca9b8de044d0726eb28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-13T09:35:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "bbd26341527ece73c3f1ded33791e82d097361c0af7e5c85143d9cbe371172a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-13T09:34:37.000Z",
      "arch": "aarch64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "7f64927834dea528c7503a634847a1fa913fbac5129bd74e8be9718b42596c18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-13T09:36:21.000Z",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "5b39f46b0ab74c0b17c0a78c79080888334d4cf0b8f732ead379139fa4bc6d29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-13T09:34:43.000Z",
      "arch": "aarch64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "b274661bba4df3bbcc2c6d57cf770f76392ad93373f3ae0bf88104edfb688162",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-13T09:35:36.000Z",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "000c3145fc70a92b2983a73f5d46594701f17bf81c7ff2f5abeca769f6773c98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-13T09:33:57.000Z",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "01e9db69598e535e8479862e49652a2bc54dd2d8f8f0349a607566c5a137d6f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-13T09:34:10.000Z",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "c619b5c1fecd76af9ff1c4bd96a41ffd505555ab25631721e87685506ae69a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-13T09:34:35.000Z",
      "arch": "x86_64",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "505786f736289619ccb5dec7e1d0166dd3a1484e102daa531ae7750897e12f39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-22T09:44:22.000Z",
      "arch": "emscripten",
      "commit": "6e7920c9a490be37e40ba92e88b957edee9a5233",
      "fileid": "50c9a4831c8a1938628e896caa3972bba156bc13432816b85349f16a413330c4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tkwong3004/actions/runs/25790500852"
    }
  ]
}