{
  "_id": "6abcc30d99f7aa8c6aa4b5de",
  "Package": "zoidtmb",
  "Title": "Zero-and-One Inflated Dirichlet Regression Modelling in TMB",
  "Version": "1.3.0",
  "Authors@R": "c(person(given = \"Eric J.\",\nfamily = \"Ward\",\nrole = c(\"aut\", \"cre\"),\nemail = \"eric.ward@noaa.gov\",\ncomment = c(ORCID = \"0000-0002-4359-0296\")),\nperson(given = \"Alexander J.\",\nfamily = \"Jensen\",\nrole = c(\"aut\"),\nemail = \"jensena1@uw.edu\",\ncomment = c(ORCID = \"0000-0002-2911-8884\")),\nperson(given = \"Ryan P.\",\nfamily = \"Kelly\",\nrole = c(\"aut\"),\nemail = \"rpkelly@uw.edu\",\ncomment = c(ORCID = \"0000-0001-5037-2441\")),\nperson(given = \"Andrew O.\",\nfamily = \"Shelton\",\nrole = c(\"aut\"),\nemail = \"ole.shelton@noaa.gov\",\ncomment = c(ORCID = \"0000-0002-8045-6141\")),\nperson(given = \"William H.\",\nfamily = \"Satterthwaite\",\nrole = c(\"aut\"),\nemail = \"will.satterthwaite@noaa.gov\",\ncomment = c(ORCID = \"0000-0002-0436-7390\")),\nperson(given = \"Eric C.\",\nfamily = \"Anderson\",\nrole = c(\"aut\"),\nemail = \"eric.anderson@noaa.gov\",\ncomment = c(ORCID = \"0000-0003-1326-0840\")))",
  "Description": "Fits Dirichlet regression and zero-and-one inflated\nDirichlet regression with Bayesian methods implemented in Stan.\nThese models are sometimes referred to as trinomial mixture\nmodels; covariates and overdispersion can optionally be\nincluded.",
  "License": "GPL (>=3)",
  "URL": "https://nwfsc-cb.github.io/zoidtmb/,\nhttps://github.com/nwfsc-cb/zoidtmb/issues",
  "VignetteBuilder": "knitr",
  "ByteCompile": "true",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "make",
  "Repository": "https://nmfs-opensci.r-universe.dev",
  "Date/Publication": "2024-02-15 00:37:20 UTC",
  "RemoteUrl": "https://github.com/noaa-nwfsc/zoidtmb",
  "RemoteRef": "HEAD",
  "RemoteSha": "8a89ca33e28f6589224add236821920873453b54",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-30 07:30:27 UTC",
    "User": "root"
  },
  "Author": "Eric J. Ward [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4359-0296>),\nAlexander J. Jensen [aut] (ORCID:\n<https://orcid.org/0000-0002-2911-8884>),\nRyan P. Kelly [aut] (ORCID: <https://orcid.org/0000-0001-5037-2441>),\nAndrew O. Shelton [aut] (ORCID:\n<https://orcid.org/0000-0002-8045-6141>),\nWilliam H. Satterthwaite [aut] (ORCID:\n<https://orcid.org/0000-0002-0436-7390>),\nEric C. Anderson [aut] (ORCID: <https://orcid.org/0000-0003-1326-0840>)",
  "Maintainer": "Eric J. Ward <eric.ward@noaa.gov>",
  "_user": "nmfs-opensci",
  "_type": "src",
  "_file": "zoidtmb_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c43616bb563d911f74d3fc2aa1f0c7b70edd035aa6eeaa1804d01005f70dc564",
  "_filesize": 686326,
  "_sha256": "c43616bb563d911f74d3fc2aa1f0c7b70edd035aa6eeaa1804d01005f70dc564",
  "_expires": "2027-01-08T08:06:35.000Z",
  "_created": "2026-09-30T07:30:27.000Z",
  "_published": "2026-09-30T08:06:37.447Z",
  "_jobs": [
    {
      "job": 109786052520,
      "time": 157,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11082712226"
    },
    {
      "job": 109786052508,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11083051904"
    },
    {
      "job": 109786052470,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11083301808"
    },
    {
      "job": 109786052492,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11082966916"
    },
    {
      "job": 109786052450,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11084460417"
    },
    {
      "job": 109786052449,
      "time": 208,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11083703642"
    },
    {
      "job": 109786052554,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11084671526"
    },
    {
      "job": 109786052474,
      "time": 312,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11083609564"
    },
    {
      "job": 109784933323,
      "time": 220,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083122382"
    },
    {
      "job": 109786052436,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11083056715"
    },
    {
      "job": 109786052510,
      "time": 233,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11082892122"
    },
    {
      "job": 109786052484,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11082857079"
    },
    {
      "job": 109786052621,
      "time": 140,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11082642638"
    },
    {
      "job": 109786052541,
      "time": 232,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11083167890"
    },
    {
      "job": 109786052495,
      "time": 122,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11082792102"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041",
  "_status": "success",
  "_upstream": "https://github.com/noaa-nwfsc/zoidtmb",
  "_commit": {
    "id": "8a89ca33e28f6589224add236821920873453b54",
    "author": "ericward-noaa <eric.ward@noaa.gov>",
    "committer": "ericward-noaa <eric.ward@noaa.gov>",
    "message": "add secretscan\n",
    "time": 1707957440
  },
  "_maintainer": {
    "name": "Eric J. Ward",
    "email": "eric.ward@noaa.gov",
    "login": "ericward-noaa",
    "linkedin": "in/eric-ward-42b76b3",
    "description": "Statistics, fisheries, conservation biology @ Northwest Fisheries Science Center, Seattle WA ",
    "uuid": 5046884,
    "orcid": "0000-0002-4359-0296"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "version": ">= 1.7.20",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "noaa-nwfsc",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "nwfsc-cb",
    "cpp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ericward-noaa",
      "count": 8,
      "uuid": 5046884
    }
  ],
  "_userbio": {
    "uuid": 110112201,
    "type": "organization",
    "name": "nmfs-opensci",
    "followers": 145,
    "description": "GiHub org for NMFS Open Science"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/zoidtmb"
  },
  "_devurl": "https://github.com/nwfsc-cb/zoidtmb",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/zoidtmb.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "broken_stick",
    "fit_zoidTMB"
  ],
  "_datasets": [
    {
      "name": "chinook",
      "title": "Data from Satterthwaite, W.H., Ciancio, J., Crandall, E., Palmer-Zwahlen, M.L., Grover, A.M., O’Farrell, M.R., Anson, E.C., Mohr, M.S. & Garza, J.C. (2015). Stock composition and ocean spatial distribution from California recreational chinook salmon fisheries using genetic stock identification. Fisheries Research, 170, 166–178. The data genetic data collected from port-based sampling of recreationally-landed Chinook salmon in California from 1998-2002.",
      "object": "chinook",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "season",
        "area",
        "CVspring",
        "CVfall",
        "CVwinter",
        "CAcoast",
        "Klamath",
        "Rogue",
        "Other"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "coddiet",
      "title": "Data from Magnussen, E. 2011. Food and feeding habits of cod (Gadus morhua) on the Faroe Bank. – ICES Journal of Marine Science, 68: 1909–1917. The data here are Table 3 from the paper, with sample proportions (columns w) multiplied by total weight to yield total grams (g) for each sample-diet item combination. Dashes have been replaced with 0s.",
      "object": "coddiet",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Year",
        "Season",
        "Hydrozoa",
        "Anthozoa",
        "Scleractinia",
        "Polychaeta",
        "Gastropoda",
        "Bivalvia",
        "Loligo.forbesi",
        "Crustacea.spp",
        "Meganyctiphanes.sp",
        "Pandalus.montagui",
        "Lithodes.maja",
        "Munida.sp.",
        "Galathea.intermedia",
        "Galathea.sp.",
        "Galathea.nexa",
        "Hyas.coarctatus",
        "Hyas.sp.",
        "Inachus.leptochirus",
        "Atelecyclus.rotundatus",
        "Liocarcinus.holsatus",
        "Liocarcinus.turbeculatus",
        "Ophiura.sp",
        "Amphiura.sp.",
        "Pisces.spp",
        "Ammodytes.sp",
        "Ammodytes.tobianus",
        "Callionymus.lyra",
        "Pleuronectidae",
        "Stones",
        "Other"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "broken_stick",
      "title": "Random generation of datasets using the dirichlet broken stick method",
      "topics": [
        "broken_stick"
      ]
    },
    {
      "page": "chinook",
      "title": "Data from Satterthwaite, W.H., Ciancio, J., Crandall, E., Palmer-Zwahlen, M.L., Grover, A.M., O’Farrell, M.R., Anson, E.C., Mohr, M.S. & Garza, J.C. (2015). Stock composition and ocean spatial distribution from California recreational chinook salmon fisheries using genetic stock identification. Fisheries Research, 170, 166–178. The data genetic data collected from port-based sampling of recreationally-landed Chinook salmon in California from 1998-2002.",
      "topics": [
        "chinook"
      ]
    },
    {
      "page": "coddiet",
      "title": "Data from Magnussen, E. 2011. Food and feeding habits of cod (Gadus morhua) on the Faroe Bank. – ICES Journal of Marine Science, 68: 1909–1917. The data here are Table 3 from the paper, with sample proportions (columns w) multiplied by total weight to yield total grams (g) for each sample-diet item combination. Dashes have been replaced with 0s.",
      "topics": [
        "coddiet"
      ]
    },
    {
      "page": "fit_zoidTMB",
      "title": "Fit a trinomial mixture model with TMB",
      "topics": [
        "fit_zoidTMB"
      ]
    },
    {
      "page": "parse_re_formula",
      "title": "Fit a trinomial mixture model that optionally includes covariates to estimate effects of factor or continuous variables on proportions.",
      "topics": [
        "parse_re_formula"
      ]
    }
  ],
  "_readme": "https://github.com/noaa-nwfsc/zoidtmb/raw/HEAD/README.md",
  "_rundeps": [
    "gtools",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "TMB"
  ],
  "_sysdeps": [
    {
      "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": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "zoidtmb",
  "_universes": [
    "nmfs-opensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-30T07:33:13.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/a403ace018afb0f1bc29164f75a10f1057e0c1f10d5434106fd256b628dda55d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-30T07:33:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/d3f29ff570d38c3a7ee2cb2cdeb54890da3470173289d829e12f9f66f9147328",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-30T07:33:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/06fa57abe6e2ecceb8938662da1419b6ca9c5f1c7d47856925d69e339809354f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-30T07:33:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/a473c3903ac7ebf56fd13d7b7947f59c74e071701b5d314c49dbaa3fb01f925e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-30T07:57:24.000Z",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/96b2d14210127600c7b7b7f7b07e5d32029b751bd1f2cc5f896cc227647ac4f9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-30T07:51:26.000Z",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/8c100f6d72051cba89e4ffd1ee8e3a450d50328da2af48d9881a696613a34ab6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-30T08:05:35.000Z",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/2ecfe9a200a4fe4f0e1cac6de741b6e4010a057d1e69cc42d48259985551afc7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-30T07:54:21.000Z",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/baff565f42a57d4237f3401b34d84f58106866a9a7e6c70ac0312e53d9a20a13",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-09-30T07:33:17.000Z",
      "arch": "emscripten",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/4c1b2504b76ce978c13082a9d454a6f3757e187ef2113844b30d68ea351bace8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-30T07:34:21.000Z",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/668cd9c0c2000a7f1b308d04dd5076d9b9c461ab634b355cffbbc8b5fe1ebd29",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-30T07:32:12.000Z",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/26c756b365d617087f4d215c0d057add0d0dde9e13956a21adc831d1f3a20fdb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-30T07:32:06.000Z",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/3ea9d4977a65ab1e58ce8a58924ad367935e711650484beb9541d2050cfcf48d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-30T07:34:21.000Z",
      "arch": "aarch64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/3e4fd18084f31b9447af29a6f8d0401aa3e31396b093f2c0aa7224a9792e16ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-30T07:32:01.000Z",
      "arch": "x86_64",
      "commit": "8a89ca33e28f6589224add236821920873453b54",
      "fileid": "https://r2.ropensci.org/bbdaa7d67ff99b7248d3046369f69fa22e64dcaa27cfe4bfcbe51578afcdf4de",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/36683764041"
    }
  ]
}