{
  "_id": "6a2a9cbd7b7a29ca60051ee6",
  "Package": "bycatch",
  "Type": "Package",
  "Title": "Fit Bayesian Models to Bycatch Data",
  "Version": "1.0.9",
  "Authors@R": "c(\nperson(c(\"Eric\"), \"Ward\", email = \"eric.ward@noaa.gov\",\nrole = c(\"aut\", \"cre\")),\nperson(c(\"Jason\"), \"Jannot\", role = \"aut\"),\nperson(c(\"Kate\"), \"Richerson\", email = \"kate.e.richerson@noaa.gov\", role = \"aut\"),\nperson(c(\"Kayleigh\"), \"Somers\", email = \"kayleigh.somers@noaa.gov\", role = \"aut\"),\nperson(\"Trustees of\", \"Columbia University\", role = \"cph\"))",
  "Maintainer": "Eric Ward <eric.ward@noaa.gov>",
  "Description": "Fits models to bycatch data, and can expand to fleet-wide\nestimates, like in situations when fisheries are observed with\nless than 100% observer coverage.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://ericward-noaa.github.io/bycatch/",
  "BugReports": "https://github.com/ericward-noaa/bycatch/issues",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "GNU make",
  "Biarch": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://noaa-fisheries-integrated-toolbox.r-universe.dev",
  "Date/Publication": "2026-03-13 16:06:18 UTC",
  "RemoteUrl": "https://github.com/ericward-noaa/bycatch",
  "RemoteRef": "HEAD",
  "RemoteSha": "f2aeebe60b9ef139523b54c14410af350e31e005",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-11 11:19:05 UTC",
    "User": "root"
  },
  "Author": "Eric Ward [aut, cre],\nJason Jannot [aut],\nKate Richerson [aut],\nKayleigh Somers [aut],\nTrustees of Columbia University [cph]",
  "MD5sum": "c529640ad74dfcf8ef7cecbeeb9788ab",
  "_user": "noaa-fisheries-integrated-toolbox",
  "_type": "src",
  "_file": "bycatch_1.0.9.tar.gz",
  "_fileid": "dca39bf83593eecaa4776ded8dcca616005f39d6ca27bbfbd8518263500a0fe8",
  "_filesize": 424881,
  "_sha256": "dca39bf83593eecaa4776ded8dcca616005f39d6ca27bbfbd8518263500a0fe8",
  "_created": "2026-06-11T11:19:05.000Z",
  "_published": "2026-06-11T11:32:13.920Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80785016436,
      "time": 376,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7562784545"
    },
    {
      "job": 80785016496,
      "time": 317,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7562764917"
    },
    {
      "job": 80785016428,
      "time": 288,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7562754472"
    },
    {
      "job": 80785016463,
      "time": 363,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7562780672"
    },
    {
      "job": 80785016433,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7562769058"
    },
    {
      "job": 80785016420,
      "time": 497,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7562856386"
    },
    {
      "job": 80785016443,
      "time": 245,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7562791558"
    },
    {
      "job": 80785016437,
      "time": 459,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7562885113"
    },
    {
      "job": 80783830365,
      "time": 407,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7562655129"
    },
    {
      "job": 80785016402,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80785016477,
      "time": 331,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7562769530"
    },
    {
      "job": 80785016432,
      "time": 348,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7562775570"
    },
    {
      "job": 80785016407,
      "time": 353,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7562777540"
    }
  ],
  "_buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ericward-noaa/bycatch",
  "_commit": {
    "id": "f2aeebe60b9ef139523b54c14410af350e31e005",
    "author": "Eric Ward <5046884+ericward-noaa@users.noreply.github.com>",
    "committer": "Eric Ward <5046884+ericward-noaa@users.noreply.github.com>",
    "message": "updated vignettes\n",
    "time": 1773417978
  },
  "_maintainer": {
    "name": "Eric 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
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.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": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "loo",
      "version": ">= 2.4.1",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "ericward-noaa",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 6
    },
    {
      "week": "2026-02",
      "n": 5
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 6
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0.9",
      "date": "2026-01-06"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "ericward-noaa",
      "count": 145,
      "uuid": 5046884
    },
    {
      "user": "eric-ward",
      "count": 14,
      "uuid": 159983626
    }
  ],
  "_userbio": {
    "uuid": 49974461,
    "type": "organization",
    "name": "NOAA Fisheries Integrated Toolbox",
    "description": "GitHub Organization to manage the NOAA FIT"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bycatch"
  },
  "_devurl": "https://github.com/ericward-noaa/bycatch",
  "_pkgdown": "https://ericward-noaa.github.io/bycatch/",
  "_searchresults": 14,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bycatch.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "extract_log_lik_for_loo",
    "fit_bycatch",
    "get_expanded",
    "get_fitted",
    "get_stream_summary",
    "get_total",
    "plot_expanded",
    "plot_fitted"
  ],
  "_help": [
    {
      "page": "bycatch-package",
      "title": "The 'bycatch' package.",
      "topics": [
        "bycatch-package",
        "bycatch"
      ]
    },
    {
      "page": "extract_log_lik_for_loo",
      "title": "Extract log-likelihood matrix for loo, removing NA observations",
      "topics": [
        "extract_log_lik_for_loo"
      ]
    },
    {
      "page": "fit_bycatch",
      "title": "fit_bycatch - Unified version with coverage rate parameters",
      "topics": [
        "fit_bycatch"
      ]
    },
    {
      "page": "get_expanded",
      "title": "get_expanded is a helper function to return a matrix of posterior predictive values for unobserved bycatch",
      "topics": [
        "get_expanded"
      ]
    },
    {
      "page": "get_fitted",
      "title": "get_fitted returns df of observed bycatch estimates (lambda of Poisson), accounting for effort but not accounting for observer coverage",
      "topics": [
        "get_fitted"
      ]
    },
    {
      "page": "get_stream_summary",
      "title": "get_stream_summary provides a summary of monitoring coverage and bycatch by stream",
      "topics": [
        "get_stream_summary"
      ]
    },
    {
      "page": "get_total",
      "title": "get_total is a helper function to return a matrix of total estimated bycatch",
      "topics": [
        "get_total"
      ]
    },
    {
      "page": "plot_expanded",
      "title": "plot_expanded is makes plots of the expanded bycatch estimates, accounting for observer coverage and effort",
      "topics": [
        "plot_expanded"
      ]
    },
    {
      "page": "plot_fitted",
      "title": "plot_fitted makes plots bycatch estimates (lambda of Poisson), accounting for effort but not accounting for observer coverage",
      "topics": [
        "plot_fitted"
      ]
    }
  ],
  "_readme": "https://github.com/ericward-noaa/bycatch/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "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",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "a04_diagnosing_problems.Rmd",
      "filename": "a04_diagnosing_problems.html",
      "title": "Diagnosing errors",
      "author": "",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load data",
        "Simple model with constant bycatch, no covariates"
      ],
      "created": "2023-02-15 15:28:49",
      "modified": "2026-02-13 13:33:22",
      "commits": 3
    },
    {
      "source": "a03_expanding_estimates.Rmd",
      "filename": "a03_expanding_estimates.html",
      "title": "Expanding bycatch estimates",
      "author": "",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load data",
        "Simple model with constant bycatch, no covariates",
        "Expanding bycatch estimates",
        "Make table of expanded bycatch estimates",
        "Make table of total bycatch estimates",
        "Derived quantities",
        "Simulating future values"
      ],
      "created": "2021-05-05 22:32:49",
      "modified": "2026-03-13 16:06:18",
      "commits": 8
    },
    {
      "source": "a02_fitting_models.Rmd",
      "filename": "a02_fitting_models.html",
      "title": "Fitting models with the bycatch package",
      "author": "",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load data",
        "Simple model with constant bycatch, no covariates",
        "Make plots",
        "Extracting model selection information (LOOIC)",
        "Negative binomial example",
        "Zero - inflated example",
        "Continuous models",
        "Example with covariates",
        "Fit model with time-varying effects",
        "Fit model with no bycatch events"
      ],
      "created": "2021-05-05 22:32:49",
      "modified": "2026-02-13 13:33:22",
      "commits": 10
    },
    {
      "source": "a05_multistream.Rmd",
      "filename": "a05_multistream.html",
      "title": "Multi-stream monitoring",
      "author": "",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Simple two-stream example",
        "Fitting a multi-stream model",
        "Plotting results",
        "Stream-specific summaries",
        "Three-stream example",
        "Comparing to pooled data",
        "Different distributions",
        "Adding covariates",
        "Time-varying effects"
      ],
      "created": "2026-01-06 21:50:30",
      "modified": "2026-02-13 13:33:22",
      "commits": 2
    },
    {
      "source": "a01_overview.Rmd",
      "filename": "a01_overview.html",
      "title": "Overview of bycatch package",
      "author": "",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Other families",
        "Fixed effect covariates",
        "Time varying parameters",
        "Expanding estimates"
      ],
      "created": "2021-05-05 22:32:49",
      "modified": "2026-01-06 21:50:30",
      "commits": 7
    }
  ],
  "_score": 4.866287339084194,
  "_indexed": false,
  "_nocasepkg": "bycatch",
  "_universes": [
    "noaa-fisheries-integrated-toolbox"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-06-11T11:24:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "87d519af9e6bf7cf39c12f9ebd4a38e5ea7da85ea3c11fde9582dfa883c84613",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-06-11T11:23:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "0f5d38625c507e043eeee7fd428b0a771855de65ddce2db6b5341024d375a214",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-06-11T11:23:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "545ed9641b79a7dc9e4a91e5e815d8ab17346b1a111b6c2e747e82cee4b6e706",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-06-11T11:24:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "0671969cdbeb68c247cf838e92da15250ac013fd84d6d30dfb93b6c96b653952",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-06-11T11:24:17.000Z",
      "arch": "aarch64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "6fa5002ebb4295ef63fe5a0dbb32996e2d4bdd8b281d0e23bf1955abdbad5379",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-06-11T11:25:44.000Z",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "631dc3552f8912d207de1d979e8e36475f19609f3430c946d9f2a73350c2b3e7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-06-11T11:25:14.000Z",
      "arch": "aarch64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "a2bebf3601d718a61754bef92bd46f00474e3c19a6481b3b950d98230a705564",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-06-11T11:27:35.000Z",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "bf0812c746f604c6d236aa5175eb125dc11b25bb7fa309efacffefad529b8a87",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-06-11T11:22:22.000Z",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "26b5ec8e05492d386bd8cd9b7726cf3b887865f5a106d4f0d657440eff42a2e1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-06-11T11:22:32.000Z",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "5318903a9f82d8080fcea7541c91baf354ab98a6beb80a4e6fb4c713e10f764d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-06-11T11:22:24.000Z",
      "arch": "x86_64",
      "commit": "f2aeebe60b9ef139523b54c14410af350e31e005",
      "fileid": "4b16a158b1f1b290c3928b469a5bcc783e146c1d1b176e8c93a9421e430de434",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/noaa-fisheries-integrated-toolbox/actions/runs/27342843165"
    }
  ]
}