{
  "_id": "6af7172abe2268deb4a3f691",
  "Package": "tmbstan",
  "Type": "Package",
  "Title": "MCMC Sampling from 'TMB' Model Object using 'Stan'",
  "Version": "1.2.1",
  "Date": "2026-09-11",
  "Authors@R": "c(person(given = \"Kasper\",\nfamily = \"Kristensen\",\nrole = c(\"aut\", \"cre\"),\nemail = \"kaskr@dtu.dk\",\ncomment = c(ORCID=\"0000-0003-3425-3762\")),\nperson(\"Andrew\", \"Johnson\", role = c(\"ctb\")),\nperson(\"Cole\", \"Monnahan\", role = c(\"ctb\")) )",
  "Author": "Kasper Kristensen [aut, cre]\n(<https://orcid.org/0000-0003-3425-3762>), Andrew Johnson\n[ctb], Cole Monnahan [ctb]",
  "Maintainer": "Kasper Kristensen <kaskr@dtu.dk>",
  "Description": "Enables all 'rstan' functionality for a 'TMB' model\nobject, in particular MCMC sampling and chain visualization.\nSampling can be performed with or without Laplace approximation\nfor the random effects. This is demonstrated in Monnahan &\nKristensen (2018) <DOI:10.1371/journal.pone.0197954>.",
  "VignetteBuilder": "knitr, rmarkdown",
  "License": "GPL (>= 3)",
  "BugReports": "https://github.com/kaskr/tmbstan/issues",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU make",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://kaskr.r-universe.dev",
  "Date/Publication": "2026-10-14 11:30:11 UTC",
  "RemoteUrl": "https://github.com/kaskr/tmbstan",
  "RemoteRef": "HEAD",
  "RemoteSha": "38e20762aced2faa5c72051bd3d8734af5e42c75",
  "RemoteSubdir": "tmbstan",
  "Packaged": {
    "Date": "2026-11-13 13:34:40 UTC",
    "User": "root"
  },
  "_user": "kaskr",
  "_type": "src",
  "_file": "tmbstan_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/33688ed39153a7bf7ce15199a5f638493542064ba602baf3bbd26eec3afe9448",
  "_filesize": 109403,
  "_sha256": "33688ed39153a7bf7ce15199a5f638493542064ba602baf3bbd26eec3afe9448",
  "_expires": "2027-02-21T13:56:57.000Z",
  "_created": "2026-11-13T13:34:40.000Z",
  "_published": "2026-11-13T13:56:58.778Z",
  "_upstream": "https://github.com/kaskr/tmbstan",
  "_status": "success",
  "_maintainer": {
    "name": "Kasper Kristensen",
    "email": "kaskr@dtu.dk",
    "login": "kaskr",
    "description": "",
    "uuid": 5426937,
    "orcid": "0000-0003-3425-3762"
  },
  "_jobs": [
    {
      "job": 131917758732,
      "time": 208,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14041953269"
    },
    {
      "job": 131917758659,
      "time": 265,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14042857016"
    },
    {
      "job": 131917758572,
      "time": 204,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14044011378"
    },
    {
      "job": 131917758901,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14042806970"
    },
    {
      "job": 131917758669,
      "time": 228,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14043578275"
    },
    {
      "job": 131917758645,
      "time": 449,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14043199138"
    },
    {
      "job": 131917758723,
      "time": 239,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14044800375"
    },
    {
      "job": 131917758716,
      "time": 359,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14043114754"
    },
    {
      "job": 131915164540,
      "time": 310,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14043381192"
    },
    {
      "job": 131917758478,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14043271632"
    },
    {
      "job": 131917758649,
      "time": 341,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14043377288"
    },
    {
      "job": 131917758751,
      "time": 374,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14043217653"
    },
    {
      "job": 131917758767,
      "time": 347,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14043047490"
    },
    {
      "job": 131917758754,
      "time": 335,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14043462267"
    },
    {
      "job": 131917758699,
      "time": 379,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14042068711"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333",
  "_commit": {
    "id": "38e20762aced2faa5c72051bd3d8734af5e42c75",
    "author": "Ben Bolker <bbolker@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "fix issues with length-1 and other numeric initial values (and new tests) (#34)\n\nCo-authored-by: Claude Opus 5.5 <noreply@anthropic.com>",
    "time": 1791977411
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "rstan",
      "role": "Depends"
    },
    {
      "package": "StanHeaders",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RTMB",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "kaskr",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-12",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 6
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2026-03-20"
    }
  ],
  "_stars": 35,
  "_contributors": [
    {
      "user": "kaskr",
      "count": 117,
      "uuid": 5426937
    },
    {
      "user": "andrjohns",
      "count": 3,
      "uuid": 27717896
    },
    {
      "user": "colemonnahan",
      "count": 2,
      "uuid": 4804974
    },
    {
      "user": "bbolker",
      "count": 1,
      "uuid": 78918
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 5426937,
    "type": "user",
    "name": "kaskr",
    "followers": 96
  },
  "_downloads": {
    "count": 915,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tmbstan"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/kaskr/tmbstan",
  "_searchresults": 283,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "tmbstan::tmbstanmodel",
        "hash": "6719632787b69b00"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::getCurrentScope()",
        "hash": "ecf3f1d66612bd10"
      },
      {
        "key": "Rcpp::get_Rcpp_namespace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::setCurrentScope()",
        "hash": "f83997fd0e7a6719"
      },
      {
        "key": "RcppParallel/include",
        "hash": "5fe40ed919b8f2ee"
      },
      {
        "key": "rstan::generic:sampling",
        "hash": "b06892e95232d175"
      },
      {
        "key": "rstan::stanmodel",
        "hash": "346ee5a4184ea943"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_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/readme.html",
    "extra/readme.md",
    "extra/tmbstan.html"
  ],
  "_homeurl": "https://github.com/kaskr/tmbstan",
  "_realowner": "kaskr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-12-19"
    },
    {
      "version": "1.0.1",
      "date": "2018-11-09"
    },
    {
      "version": "1.0.2",
      "date": "2019-05-18"
    },
    {
      "version": "1.0.3",
      "date": "2021-12-15"
    },
    {
      "version": "1.0.4",
      "date": "2022-03-21"
    },
    {
      "version": "1.0.7",
      "date": "2023-03-24"
    },
    {
      "version": "1.0.9",
      "date": "2023-03-29"
    },
    {
      "version": "1.0.91",
      "date": "2023-08-26"
    },
    {
      "version": "1.1.0",
      "date": "2026-03-20"
    },
    {
      "version": "1.2.0",
      "date": "2026-07-28"
    },
    {
      "version": "1.2.1",
      "date": "2026-09-11"
    }
  ],
  "_exports": [
    "tmbstan"
  ],
  "_help": [
    {
      "page": "tmbstan",
      "title": "Draw MCMC samples from a TMB model object using Stan",
      "topics": [
        "tmbstan"
      ]
    }
  ],
  "_readme": "https://github.com/kaskr/tmbstan/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "TMB",
    "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"
    }
  ],
  "_vignettes": [
    {
      "source": "tmbstan.rmd",
      "filename": "tmbstan.html",
      "title": "Sampling from TMB models using Stan",
      "author": "Kasper Kristensen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How to sample",
        "Improving sampling speed"
      ],
      "created": "2026-04-25 10:55:49",
      "modified": "2026-04-25 10:55:49",
      "commits": 1
    }
  ],
  "_score": 8.853186976305835,
  "_indexed": true,
  "_nocasepkg": "tmbstan",
  "_universes": [
    "kaskr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-13T13:37:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/13726e7674b884d517fb85e9f0092a0c3c611effdad49339870414a47bbaf082",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-13T13:37:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/6771263e21366eeefb2519c71f7c3eac940f5c36c94b236232b6fa7c727af03e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-13T13:37:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/50891a9f5a8bc22e5c8e9002cf568892f5ce591bf1fc2d57f524969cc80b7f26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-13T13:37:39.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/dcecd721e4b14b44977c877a385bb3731d065a1d94cbf8438a14f5078b014220",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-13T13:44:05.000Z",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/e6de38ab5a31e61e6660b514836f846231fcd3605d55954afa5722d1b81fcb50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-13T13:45:38.000Z",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/73771cd5e1b06cf360c58c2320bc210c3dd72bc2e2f3b14ae2f039b73a3f6eac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-13T13:54:17.000Z",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/8447865bb79ccac6eb4fc2581d969f93c2e2e20b8a53004e2ade061c0a1541f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-13T13:49:28.000Z",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/0f47bd9af0608dd075edb6bb9c2c64c34d2ec2f04264278ce5fc868056e6de97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-11-13T13:37:49.000Z",
      "arch": "emscripten",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/8df6b6d2b2e351613a8fb3730b39b133c8c1bec6780577a8d3f0c61534f8e4d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-13T13:39:26.000Z",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/c3e0d0269a24e6bc2b0029c36e9ac2d8b43b20101cfbcd66d0e713390065ac3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-13T13:38:36.000Z",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/92fe5f4bc4b45f9fe5a289fcd5ddcaeb12778d8abf92b73d5ee0db699ab94ff8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-13T13:38:14.000Z",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/fa5678c39bdb5c9f1e7b0e9c46d1476e71e41af417619468dbf83be7fa537462",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-13T13:39:21.000Z",
      "arch": "aarch64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/0070cf0abd189fd15946cc2d2cb392467cea5d47646f7d912e2c30cc62aadd90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-13T13:38:27.000Z",
      "arch": "x86_64",
      "commit": "38e20762aced2faa5c72051bd3d8734af5e42c75",
      "fileid": "https://r2.ropensci.org/a532771fa993173691d4f009630d4ba2af2066f0a45824c450449ae6886794f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaskr/actions/runs/43434189333"
    }
  ]
}