{
  "_id": "6a1f44c2b401979e73429436",
  "Package": "gpumetropolis",
  "Title": "GPU-Portable Vendor-Agnostic Metropolis-Hastings Sampler",
  "Version": "0.2.0",
  "Authors@R": "person(\"Pedro\", \"Carvalho Brom\", , \"pcbrom@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-1288-7695\"))",
  "Description": "A generic random-walk Metropolis-Hastings sampler for\nMarkov chain Monte Carlo. The user declares a model by writing\nits log-likelihood and log-prior as one-sided formulas; the\npackage compiles them to a stack-machine bytecode that a single\nportable kernel interprets, so the same model runs on the CPU\nand on the GPU from one source. The sampler advances many\nindependent chains in one batched pass. A distributional\nequivalence harness based on the two-sample Kolmogorov-Smirnov\ntest and the split R-hat statistic of Gelman and Rubin (1992)\n<doi:10.1214/ss/1177011136> checks the GPU output against the\nCPU output. Dispatching the kernel to a GPU helps when many\nchains are run or when the log-density is expensive to evaluate\nover a large data set, and does not help for small models run\nwith few chains.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "Config/rextendr/version": "0.5.0",
  "SystemRequirements": "Cargo (Rust's package manager), rustc >= 1.85.0, xz",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/pcbrom/gpumetropolis",
  "BugReports": "https://github.com/pcbrom/gpumetropolis/issues",
  "Config/pak/sysreqs": "xz-utils libclang-dev",
  "Repository": "https://pcbrom.r-universe.dev",
  "Date/Publication": "2026-06-02 20:28:24 UTC",
  "RemoteUrl": "https://github.com/pcbrom/gpumetropolis",
  "RemoteRef": "HEAD",
  "RemoteSha": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 20:48:58 UTC",
    "User": "root"
  },
  "Author": "Pedro Carvalho Brom [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1288-7695>)",
  "Maintainer": "Pedro Carvalho Brom <pcbrom@gmail.com>",
  "MD5sum": "afe7d0927ded587e05a14d6305a9a4da",
  "_user": "pcbrom",
  "_type": "src",
  "_file": "gpumetropolis_0.2.0.tar.gz",
  "_fileid": "62479fd313ca7376bedb0313adbb8135db39c2540057e1ec34e93e0f611195cd",
  "_filesize": 45269156,
  "_sha256": "62479fd313ca7376bedb0313adbb8135db39c2540057e1ec34e93e0f611195cd",
  "_created": "2026-06-02T20:48:58.000Z",
  "_published": "2026-06-02T21:01:54.182Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79170048756,
      "time": 251,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7369587483"
    },
    {
      "job": 79170048783,
      "time": 252,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7369586451"
    },
    {
      "job": 79170048872,
      "time": 284,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369599187"
    },
    {
      "job": 79170048788,
      "time": 261,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369589895"
    },
    {
      "job": 79170048769,
      "time": 327,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7369613149"
    },
    {
      "job": 79170048877,
      "time": 545,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7369689837"
    },
    {
      "job": 79170048780,
      "time": 248,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369584801"
    },
    {
      "job": 79170048814,
      "time": 599,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369707448"
    },
    {
      "job": 79168832252,
      "time": 404,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369500676"
    },
    {
      "job": 79170048746,
      "time": 194,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79170048764,
      "time": 478,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7369666461"
    },
    {
      "job": 79170048754,
      "time": 501,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7369673905"
    },
    {
      "job": 79170048801,
      "time": 560,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7369694212"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pcbrom/gpumetropolis",
  "_commit": {
    "id": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
    "author": "pcbrom <pcbrom@gmail.com>",
    "committer": "pcbrom <pcbrom@gmail.com>",
    "message": "fix(diagnose): qualify plot.new and plot.window with graphics::\n\nR CMD check NOTE 'no visible global function definition for plot.new /\nplot.window' from R/diagnose.R. Add the graphics:: prefix to match the\nmatplot, abline, par and matplot calls already using it. No behaviour\nchange.\n",
    "time": 1780432104
  },
  "_maintainer": {
    "name": "Pedro Carvalho Brom",
    "email": "pcbrom@gmail.com",
    "login": "pcbrom",
    "linkedin": "in/pcbrom",
    "orcid": "0000-0002-1288-7695",
    "description": "",
    "uuid": 10408245
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "pcbrom",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 36
    },
    {
      "week": "2026-21",
      "n": 24
    },
    {
      "week": "2026-23",
      "n": 15
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pcbrom",
      "count": 75,
      "uuid": 10408245
    }
  ],
  "_userbio": {
    "uuid": 10408245,
    "type": "user",
    "name": "Pedro Carvalho Brom"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gpumetropolis"
  },
  "_devurl": "https://github.com/pcbrom/gpumetropolis",
  "_searchresults": 0,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gpumetropolis.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "ess",
    "gaussian_mean_posterior",
    "gpu_metropolis",
    "gpum_diagnose",
    "gpum_model",
    "ks_equivalence",
    "metropolis_gaussian_mean",
    "rhat"
  ],
  "_help": [
    {
      "page": "ess",
      "title": "Effective sample size",
      "topics": [
        "ess"
      ]
    },
    {
      "page": "gaussian_mean_posterior",
      "title": "Closed-form posterior of the Gaussian mean",
      "topics": [
        "gaussian_mean_posterior"
      ]
    },
    {
      "page": "gpu_metropolis",
      "title": "Run the GPU-portable batched Metropolis sampler",
      "topics": [
        "gpu_metropolis"
      ]
    },
    {
      "page": "gpum_diagnose",
      "title": "One-call diagnostic: convergence stats, plots and verdict.",
      "topics": [
        "gpum_diagnose"
      ]
    },
    {
      "page": "gpum_model",
      "title": "Declare a model for the GPU-portable Metropolis sampler",
      "topics": [
        "gpum_model"
      ]
    },
    {
      "page": "ks_equivalence",
      "title": "Distributional equivalence by the two-sample Kolmogorov-Smirnov test",
      "topics": [
        "ks_equivalence"
      ]
    },
    {
      "page": "metropolis_gaussian_mean",
      "title": "Batched random-walk Metropolis sampler for a Gaussian mean",
      "topics": [
        "metropolis_gaussian_mean"
      ]
    },
    {
      "page": "rhat",
      "title": "Split R-hat convergence diagnostic",
      "topics": [
        "rhat"
      ]
    }
  ],
  "_readme": "https://github.com/pcbrom/gpumetropolis/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "gpumetropolis.Rmd",
      "filename": "gpumetropolis.html",
      "title": "Getting started with gpumetropolis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Declaring a model",
        "Running the sampler",
        "The fit object",
        "Convergence diagnostics",
        "One source, several backends",
        "A model with more than one parameter",
        "When the GPU helps"
      ],
      "created": "2026-05-18 14:02:28",
      "modified": "2026-06-02 19:35:54",
      "commits": 6
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "gpumetropolis",
  "_universes": [
    "pcbrom"
  ],
  "_previous": "0.1.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "f567f8b445f4a87250546954e7c1152a2b85e71dd86822b03130fbed93bc81c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "13a8776fc76f5250a78a2cb739ae7d38d60b9c1e11de6ab67aebf01ca4aa51ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "caba3c564fae312aee6eda0913b49f2b5876bbb27ace8db7484f0fcc521036ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "50f282cc0faaaca5e00a8e4108424b7b6b4cd746bd46f0c684a7e4fe57e0657d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:14.000Z",
      "arch": "aarch64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "8fcf65606ab241b3c0a2a0d720f64f0c3c55e840a79f58ab91d5cee29b0bcbec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T20:54:02.000Z",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "6fc6434e013621ea3b483792632063f3c5fe83f0a089134faef9b8719cbaed01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T20:52:37.000Z",
      "arch": "aarch64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "6abfe0e620b0f4059c29973e9c70aa2c12d1c867c1fd3a52f05ad65cb83f3d4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T20:54:24.000Z",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "786871a7bcd7c14f6b1079f3f21b86eb7f6b883910610cf83526c2f1fbbd1d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T20:52:30.000Z",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "569bb8d1c1c30e4a35b3ae514f0057925ba78af31f482b7cd81e16be9afcebcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T20:52:30.000Z",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "4cc6f87cfeea3d47307ffe9c79032a746b1563a81a60cb53de1b0e7b489c97db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T20:53:09.000Z",
      "arch": "x86_64",
      "commit": "fe9a9fe0377cadb155f8adb1c943844eca43f901",
      "fileid": "033f14363fdee1455b76e889d45458b1f6c1573179c4683d8b3711b6d423b3ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pcbrom/actions/runs/26846905609"
    }
  ]
}