{
  "_id": "6ac65b96f511ae58c09aa879",
  "Package": "BayesGmed",
  "Title": "Bayesian Causal Mediation Analysis using 'Stan'",
  "Version": "0.0.4",
  "Authors@R": "c(person(given = \"Belay Birlie\",\nfamily = \"Yimer\",\nrole = c(\"aut\", \"cre\"),\nemail = \"belayabyimer@gmail.com\",\ncomment = c(ORCID = \"0000-0001-8621-6539\")),\nperson(given = \"Mark\",\nfamily = \"Lunt\",\nrole = c(\"aut\")),\nperson(given = \"Marcus\",\nfamily = \"Beasley\",\nrole = c(\"aut\")),\nperson(given = \" Gary J \",\nfamily = \"Macfarlane\",\nrole = c(\"aut\")),\nperson(given = \"John\",\nfamily = \"McBeth\",\nrole = c(\"aut\")))",
  "Description": "Performs parametric mediation analysis using the Bayesian\ng-formula approach for binary and continuous outcomes. The\nmethodology is based on Comment (2018)\n<doi:10.5281/zenodo.1285275> and a demonstration of its\napplication can be found at Yimer et al. (2022)\n<doi:10.48550/arXiv.2210.08499>.",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "License": "MIT + file LICENSE",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://belayb.r-universe.dev",
  "Date/Publication": "2024-04-08 10:17:55 UTC",
  "RemoteUrl": "https://github.com/belayb/bayesgmed",
  "RemoteRef": "HEAD",
  "RemoteSha": "55048667365b0ff2798e30bec8e9194f60e40ead",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-07 12:00:36 UTC",
    "User": "root"
  },
  "Author": "Belay Birlie Yimer [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8621-6539>),\nMark Lunt [aut],\nMarcus Beasley [aut],\nGary J Macfarlane [aut],\nJohn McBeth [aut]",
  "Maintainer": "Belay Birlie Yimer <belayabyimer@gmail.com>",
  "_user": "belayb",
  "_type": "src",
  "_file": "BayesGmed_0.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/12fcec7c22f35f4a0ff3f6e6f7d1cf71ed7af2438081ce7a4eaafebe974226c2",
  "_filesize": 126094,
  "_sha256": "12fcec7c22f35f4a0ff3f6e6f7d1cf71ed7af2438081ce7a4eaafebe974226c2",
  "_expires": "2027-01-15T14:47:48.000Z",
  "_created": "2026-10-07T12:00:36.000Z",
  "_published": "2026-10-07T14:47:50.548Z",
  "_buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112782462510,
      "time": 537,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11481645690"
    },
    {
      "job": 112782462620,
      "time": 520,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11481131501"
    },
    {
      "job": 112782462536,
      "time": 519,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11480874593"
    },
    {
      "job": 112782462562,
      "time": 497,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11480879573"
    },
    {
      "job": 112782462599,
      "time": 602,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11490720359"
    },
    {
      "job": 112782462519,
      "time": 1717,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11490349106"
    },
    {
      "job": 112782462581,
      "time": 731,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11491125591"
    },
    {
      "job": 112782462572,
      "time": 842,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11491201753"
    },
    {
      "job": 112779719949,
      "time": 427,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11479814257"
    },
    {
      "job": 112782462208,
      "time": 360,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11480624142"
    },
    {
      "job": 112782462770,
      "time": 700,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11481875779"
    },
    {
      "job": 112782462731,
      "time": 565,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11481161565"
    },
    {
      "job": 112782462779,
      "time": 792,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11481711410"
    },
    {
      "job": 112782462740,
      "time": 635,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11481441319"
    },
    {
      "job": 112782462695,
      "time": 928,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11481701744"
    }
  ],
  "_upstream": "https://github.com/belayb/bayesgmed",
  "_commit": {
    "id": "55048667365b0ff2798e30bec8e9194f60e40ead",
    "author": "Belay Birlie Yimer <34164105+belayb@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Create r.yml",
    "time": 1712571475
  },
  "_maintainer": {
    "name": "Belay Birlie Yimer",
    "email": "belayabyimer@gmail.com",
    "login": "belayb",
    "description": "Statistician with a research interests in Bayesian methods, multilevel models, etc",
    "uuid": 34164105,
    "orcid": "0000-0001-8621-6539"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.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": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "belayb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "belayb",
      "count": 73,
      "uuid": 34164105
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 34164105,
    "type": "user",
    "name": "Belay Birlie Yimer",
    "followers": 4,
    "description": "Statistician with a research interests in Bayesian methods, multilevel models, etc"
  },
  "_downloads": {
    "count": 342,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesGmed"
  },
  "_devurl": "https://github.com/belayb/bayesgmed",
  "_searchresults": 4,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BayesGmed.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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/belayb/bayesgmed",
  "_realowner": "belayb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2023-11-10"
    },
    {
      "version": "0.0.3",
      "date": "2024-01-31"
    }
  ],
  "_exports": [
    "bayesgmed",
    "bayesgmed_sens",
    "bayesgmed_summary"
  ],
  "_datasets": [
    {
      "name": "example_data",
      "title": "example_data: A simulated data set for illustrating mediation analysis in BayesGmed.",
      "object": "example_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Z1",
        "Z2",
        "A",
        "M",
        "Y"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BayesGmed-package",
      "title": "The 'BayesGmed' package.",
      "topics": [
        "BayesGmed-package",
        "BayesGmed"
      ]
    },
    {
      "page": "bayesgmed",
      "title": "Estimate a causal mediation effects",
      "topics": [
        "bayesgmed"
      ]
    },
    {
      "page": "bayesgmed_sens",
      "title": "Conduct sensitivity analysis for unmeasured confounder",
      "topics": [
        "bayesgmed_sens"
      ]
    },
    {
      "page": "bayesgmed_summary",
      "title": "Print a summary of the estimated causal mediation model",
      "topics": [
        "bayesgmed_summary"
      ]
    },
    {
      "page": "example_data",
      "title": "example_data: A simulated data set for illustrating mediation analysis in BayesGmed.",
      "topics": [
        "example_data"
      ]
    }
  ],
  "_readme": "https://github.com/belayb/bayesgmed/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "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": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "bayesgmed",
  "_universes": [
    "belayb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-07T12:07:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/ca845e4555c5e09fa1d29c3255d1c8aaf879d838159b456a81c43bc0ee955900",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/39a435743b80afd04ee8428364c331305f10a297e55af1c2c6261de480bd8803",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/3e4480a1127dbc5f7ae5b4916048acae293adb9ece96ac4bd04a00392da32a65",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/31e1e0a51507c830ffea5d27d38dea26a6d1209a5ed4c3fb9dd16af9e22a7641",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-07T14:18:27.000Z",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/7be27f62c61ec2f025c8d7b3312e507cd596ac56967c8887158af447ff607bf8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-07T14:28:47.000Z",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/20f517cd9a1d9a9a001eee74416a0272c047b5db1540b9befc1eb417e1136dff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-07T14:18:04.000Z",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/cfb485324890d1ea84bf88f3afa4e4088948286c79d05ba3113e379e747032bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-07T14:23:09.000Z",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/e21200685a3f8ab566c3820db2a9aa44ec9a36430791fcc91342814a29cc1858",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-10-07T12:07:17.000Z",
      "arch": "emscripten",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/9a8c651cb11b14a606976cfacaf83f5eebc3c4ec95700ebebc060b43647be0f1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-07T12:09:52.000Z",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/8c559f5d35b381962285371cf2cbccbc07a8c0c322064d13ee51e071f595228a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:09.000Z",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/c1a20fbdef29a057260b21669eb52c82a53a9aba9582bebc9be4710aae7ca05f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:28.000Z",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/169e32fe80983de09904e6a3e910046932e751a95c7990e7f774433bfe4083af",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-07T12:11:10.000Z",
      "arch": "aarch64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/2a4bafda083d171b12a524c7a45d6a7a5a5ecd11806ba48d34182638f8080f59",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-07T12:06:50.000Z",
      "arch": "x86_64",
      "commit": "55048667365b0ff2798e30bec8e9194f60e40ead",
      "fileid": "https://r2.ropensci.org/ac5b4f0ea4549f69a40eb4d409853fc32a50460e616a22231e02828f6da7d4e1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/belayb/actions/runs/37617577826"
    }
  ]
}