{
  "_id": "6a1f2065b401979e734203a3",
  "Package": "trps",
  "Type": "Package",
  "Title": "Bayesian Trophic Position Models using 'Stan'",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\n\"Benjamin L.\", \"Hlina\",\nemail = \"benjamin.hlina@gmail.com\",\nrole = c(\"aut\", \"cre\")\n)\n)",
  "Description": "Bayesian trophic position models using 'stan' by\nleveraging 'brms' for stable isotope data. Trophic position\nmodels are derived by using equations from Post (2002)\n<doi:10.1890/0012-9658(2002)083[0703:USITET]2.0.CO;2>, Vander\nZanden and Vadeboncoeur (2002)\n<doi:10.1890/0012-9658(2002)083[2152:FAIOBA]2.0.CO;2>, and\nHeuvel et al. (2024) <doi:10.1139/cjfas-2024-0028>.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://benjaminhlina.github.io/trps/,\nhttps://github.com/benjaminhlina/trps",
  "BugReports": "https://github.com/benjaminhlina/trps/issues",
  "VignetteBuilder": "knitr",
  "LazyDataCompression": "xz",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://benjaminhlina.r-universe.dev",
  "Date/Publication": "2025-12-17 22:09:57 UTC",
  "RemoteUrl": "https://github.com/benjaminhlina/trps",
  "RemoteRef": "HEAD",
  "RemoteSha": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 07:56:33 UTC",
    "User": "root"
  },
  "Author": "Benjamin L. Hlina [aut, cre]",
  "Maintainer": "Benjamin L. Hlina <benjamin.hlina@gmail.com>",
  "MD5sum": "776626eafbbc28edd1c68f65eb0f3bcd",
  "_user": "benjaminhlina",
  "_type": "src",
  "_file": "trps_0.1.1.tar.gz",
  "_fileid": "b0f1aed6c87615f5e6950026638c031c4cf756cdeeeadc9ae229343f89421e43",
  "_filesize": 751312,
  "_sha256": "b0f1aed6c87615f5e6950026638c031c4cf756cdeeeadc9ae229343f89421e43",
  "_created": "2026-05-16T07:56:33.000Z",
  "_published": "2026-06-02T18:26:45.207Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79142867370,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031784042"
    },
    {
      "job": 79142867367,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031784136"
    },
    {
      "job": 79142867536,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031775155"
    },
    {
      "job": 79142866920,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031776385"
    },
    {
      "job": 79142866733,
      "time": 276,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031763957"
    },
    {
      "job": 79142866564,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366416361"
    },
    {
      "job": 79142867372,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031778071"
    },
    {
      "job": 79142867384,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031779390"
    },
    {
      "job": 79142867409,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031777803"
    }
  ],
  "_buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/benjaminhlina/trps",
  "_commit": {
    "id": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
    "author": "Benjamin Hlina <benjamin.hlina@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update R-CMD-check.yaml",
    "time": 1766009397
  },
  "_maintainer": {
    "name": "Benjamin L. Hlina",
    "email": "benjamin.hlina@gmail.com",
    "login": "benjaminhlina",
    "uuid": 29612410
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "ggdist",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidybayes",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    }
  ],
  "_owner": "benjaminhlina",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-20",
      "n": 5
    },
    {
      "week": "2025-21",
      "n": 4
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "benjaminhlina",
      "count": 606,
      "uuid": 29612410
    }
  ],
  "_userbio": {
    "uuid": 29612410,
    "type": "user",
    "name": "Benjamin Hlina",
    "description": "Postdoctoral Researcher @ GLIER - University of Windsor - Studying food webs and spatial ecology of fishes in Lakes Ontario and Huron."
  },
  "_downloads": {
    "count": 186,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/trps"
  },
  "_devurl": "https://github.com/benjaminhlina/trps",
  "_pkgdown": "https://benjaminhlina.github.io/trps/",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/trps.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/benjaminhlina/trps",
  "_realowner": "benjaminhlina",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-03-22"
    }
  ],
  "_exports": [
    "add_alpha",
    "one_source_model",
    "one_source_priors",
    "one_source_priors_params",
    "two_source_model",
    "two_source_model_ar",
    "two_source_model_arc",
    "two_source_priors",
    "two_source_priors_ar",
    "two_source_priors_arc",
    "two_source_priors_params",
    "two_source_priors_params_ar",
    "two_source_priors_params_arc"
  ],
  "_datasets": [
    {
      "name": "baseline_1_iso",
      "title": "Stable isotope data for amphipods (baseline 1)",
      "object": "baseline_1_iso",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "common_name",
        "ecoregion",
        "d13c_b1",
        "d15n_b1"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "baseline_2_iso",
      "title": "Stable isotope data for dreissenids (baseline 2)",
      "object": "baseline_2_iso",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "common_name",
        "ecoregion",
        "d13c_b2",
        "d15n_b2"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "combined_iso",
      "title": "Stable isotope data for lake trout, amphipods (benthic baseline; baseline 1) and dreissenids (pelagic baseline; baseline 2),",
      "object": "combined_iso",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "common_name",
        "ecoregion",
        "d13c",
        "d15n",
        "d13c_b1",
        "d15n_b1",
        "d13c_b2",
        "d15n_b2",
        "c1",
        "n1",
        "c2",
        "n2"
      ],
      "rows": 117,
      "table": true,
      "tojson": true
    },
    {
      "name": "consumer_iso",
      "title": "Stable isotope data for lake trout (consumer)",
      "object": "consumer_iso",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "common_name",
        "ecoregion",
        "d13c",
        "d15n"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_alpha",
      "title": "Calculate and add alpha",
      "topics": [
        "add_alpha"
      ]
    },
    {
      "page": "baseline_1_iso",
      "title": "Stable isotope data for amphipods (baseline 1)",
      "topics": [
        "baseline_1_iso"
      ]
    },
    {
      "page": "baseline_2_iso",
      "title": "Stable isotope data for dreissenids (baseline 2)",
      "topics": [
        "baseline_2_iso"
      ]
    },
    {
      "page": "combined_iso",
      "title": "Stable isotope data for lake trout, amphipods (benthic baseline; baseline 1) and dreissenids (pelagic baseline; baseline 2),",
      "topics": [
        "combined_iso"
      ]
    },
    {
      "page": "consumer_iso",
      "title": "Stable isotope data for lake trout (consumer)",
      "topics": [
        "consumer_iso"
      ]
    },
    {
      "page": "one_source_model",
      "title": "Bayesian model - One Source Trophic Position",
      "topics": [
        "one_source_model"
      ]
    },
    {
      "page": "one_source_priors",
      "title": "Bayesian priors - One Source Trophic Position",
      "topics": [
        "one_source_priors"
      ]
    },
    {
      "page": "one_source_priors_params",
      "title": "Adjust Bayesian priors - One Source Trophic Position",
      "topics": [
        "one_source_priors_params"
      ]
    },
    {
      "page": "two_source_model",
      "title": "Bayesian model - Two Source Trophic Position",
      "topics": [
        "two_source_model"
      ]
    },
    {
      "page": "two_source_model_ar",
      "title": "Bayesian model - Two Source Trophic Position with alpha_r",
      "topics": [
        "two_source_model_ar"
      ]
    },
    {
      "page": "two_source_model_arc",
      "title": "Bayesian model - Two Source Trophic Position with alpha_r and carbon mixing model",
      "topics": [
        "two_source_model_arc"
      ]
    },
    {
      "page": "two_source_priors",
      "title": "Bayesian priors - Two Source Trophic Position",
      "topics": [
        "two_source_priors"
      ]
    },
    {
      "page": "two_source_priors_ar",
      "title": "Bayesian priors - Two Source Trophic Position with alpha_r",
      "topics": [
        "two_source_priors_ar"
      ]
    },
    {
      "page": "two_source_priors_arc",
      "title": "Bayesian priors - Two Source Trophic Position with alpha_r and carbon mixing model",
      "topics": [
        "two_source_priors_arc"
      ]
    },
    {
      "page": "two_source_priors_params",
      "title": "Adjust Bayesian priors - Two Source Trophic Position",
      "topics": [
        "two_source_priors_params"
      ]
    },
    {
      "page": "two_source_priors_params_ar",
      "title": "Adjust Bayesian priors - Two Source Trophic Position with alpha_r",
      "topics": [
        "two_source_priors_params_ar"
      ]
    },
    {
      "page": "two_source_priors_params_arc",
      "title": "Adjust Bayesian priors - Two Source Trophic Position with alpha_r and carbon mixing model",
      "topics": [
        "two_source_priors_params_arc"
      ]
    }
  ],
  "_pkglogo": "https://github.com/benjaminhlina/trps/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/benjaminhlina/trps/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "BH",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "trps.Rmd",
      "filename": "trps.html",
      "title": "Getting started with trps",
      "author": "Benjamin L. Hlina",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Our Objectives",
        "Trophic Position Model",
        "Vignette structure",
        "Load packages",
        "Assess data",
        "Consumer data",
        "Baseline data",
        "Organizing data",
        "Joining isotope data",
        "Bayesian Analysis",
        "Priors",
        "Model convergence",
        "Estimating trophic position",
        "Model",
        "Model output",
        "Trace plots",
        "Predictive posterior check",
        "Posterior draws",
        "Extract posterior draws",
        "Extracting credible intervals",
        "Plotting posterior distributions – single species or group",
        "Density plot",
        "Point interval"
      ],
      "created": "2025-03-15 01:33:00",
      "modified": "2025-04-05 08:30:11",
      "commits": 16
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "trps",
  "_universes": [
    "benjaminhlina"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-16T07:59:18.000Z",
      "distro": "noble",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "11a619781f2753495eb6cb44418ebf3bb4f56940c452c4f63a4cff54b2c4a332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-16T07:59:21.000Z",
      "distro": "noble",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "b21a2b098ddcde2298a04c4eb48d3873c3c74a9cb71f2077f3617a8496034db6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-16T07:58:13.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "b6e73e9f1802ec067381c089c8aec0db9c69142d98b5eb89cd7e302476d016c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-16T07:58:19.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "29ba5b15c3e886bbdc50f21786d6efb7291a04024bccdc546c361745dd81ff07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-16T07:58:09.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "c7627f4119eac8779e9eae453771e1a3d04c20c571f3eed995f08268c64fbb65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-16T07:58:20.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "e84ce6c01e2cf351119281d515cd40906276373493e87bcec10c93e028c03b83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-16T07:58:03.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "d923451f74ae1bfffce30b20b17f48834b6a93002c0ac99888aaf245cbec5f09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-02T18:26:21.000Z",
      "commit": "e249ff862fc8c6ceccb0c0bf363b7defbe966b92",
      "fileid": "ed7974ad80465001e94c8db0ebe047fde2861da0eea2244548d846991f07542e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25956623951"
    }
  ]
}