{
  "_id": "6a1f2a93b401979e734249ff",
  "Package": "dietr",
  "Version": "1.1.6-1",
  "Date": "2025-1-23",
  "Title": "Diet Estimated Trophic Levels",
  "Authors@R": "person(given = c(\"Samuel\", \"R.\"),\nfamily = \"Borstein\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sam@borstein.com\")",
  "Description": "Estimates fractional trophic level from quantitative and\nqualitative diet data and calculates electivity indices in R.\nBorstein (2020) <doi:10.1007/s10750-020-04417-5>.",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/sborstein/dietr",
  "BugReports": "https://github.com/sborstein/dietr/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nxz-utils",
  "Repository": "https://phylotastic.r-universe.dev",
  "Date/Publication": "2025-01-23 18:51:53 UTC",
  "RemoteUrl": "https://github.com/sborstein/dietr",
  "RemoteRef": "HEAD",
  "RemoteSha": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 07:54:33 UTC",
    "User": "root"
  },
  "Author": "Samuel R. Borstein [aut, cre]",
  "Maintainer": "Samuel R. Borstein <sam@borstein.com>",
  "MD5sum": "811bcaa5f49f41b79a800b9621e15296",
  "_user": "phylotastic",
  "_type": "src",
  "_file": "dietr_1.1.6-1.tar.gz",
  "_fileid": "c584d3efaddf50938913ae7fcd8ba09c38b0306c185ad7d0fcad0acc73ef3bcc",
  "_filesize": 1178094,
  "_sha256": "c584d3efaddf50938913ae7fcd8ba09c38b0306c185ad7d0fcad0acc73ef3bcc",
  "_created": "2026-05-15T07:54:33.000Z",
  "_published": "2026-06-02T19:10:11.004Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79151183342,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012682106"
    },
    {
      "job": 79151183414,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012678298"
    },
    {
      "job": 79151183661,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012661419"
    },
    {
      "job": 79151183333,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012668627"
    },
    {
      "job": 79151182617,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012635340"
    },
    {
      "job": 79151182637,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367362872"
    },
    {
      "job": 79151183332,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012665496"
    },
    {
      "job": 79151183966,
      "time": 68,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012658562"
    },
    {
      "job": 79151183458,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012660255"
    }
  ],
  "_buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sborstein/dietr",
  "_commit": {
    "id": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
    "author": "Sam Borstein <sam@borstein.com>",
    "committer": "Sam Borstein <sam@borstein.com>",
    "message": "Prep description for bugfix release\n",
    "time": 1737658313
  },
  "_maintainer": {
    "name": "Samuel R. Borstein",
    "email": "sam@borstein.com",
    "login": "sborstein",
    "uuid": 15037889
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "rfishbase",
      "version": ">= 5.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "sborstein",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "diet",
    "electivity",
    "trophic"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "sborstein",
      "count": 186,
      "uuid": 15037889
    }
  ],
  "_userbio": {
    "uuid": 1652822,
    "type": "organization",
    "name": "phylotastic"
  },
  "_downloads": {
    "count": 302,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dietr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/sborstein/dietr",
  "_searchresults": 23,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dietr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sborstein/dietr",
  "_realowner": "sborstein",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2019-11-13"
    },
    {
      "version": "1.1.0",
      "date": "2020-07-18"
    },
    {
      "version": "1.1.1",
      "date": "2021-03-12"
    },
    {
      "version": "1.1.2",
      "date": "2021-11-23"
    },
    {
      "version": "1.1.3",
      "date": "2021-12-15"
    },
    {
      "version": "1.1.4",
      "date": "2023-02-26"
    },
    {
      "version": "1.1.5-1",
      "date": "2024-09-16"
    },
    {
      "version": "1.1.6",
      "date": "2025-01-13"
    },
    {
      "version": "1.1.6-1",
      "date": "2025-01-23"
    }
  ],
  "_exports": [
    "CompositeIndices",
    "ConvertFishbaseDiet",
    "ConvertFishbaseFood",
    "DietTroph",
    "Electivity",
    "FoodTroph",
    "GastrosomaticIndex",
    "PlotElectivity",
    "VacuityIndex"
  ],
  "_datasets": [
    {
      "name": "Casaux1998",
      "title": "Casaux1998",
      "object": "Casaux1998",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Record",
        "Prey",
        "PercentOccurrence",
        "PercentNumber",
        "PercentWeight"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "CortesPreyVals",
      "title": "CortesPreyVals",
      "object": "CortesPreyVals",
      "class": [
        "data.frame"
      ],
      "fields": [
        "FoodI",
        "FoodII",
        "FoodII.1",
        "Stage",
        "TL",
        "SE"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "FishBasePreyVals",
      "title": "FishBasePreyVals",
      "object": "FishBasePreyVals",
      "class": [
        "data.frame"
      ],
      "fields": [
        "FoodI",
        "FoodII",
        "FoodIII",
        "Stage",
        "TL",
        "SE"
      ],
      "rows": 384,
      "table": true,
      "tojson": true
    },
    {
      "name": "Herichthys",
      "title": "Herichthys",
      "object": "Herichthys",
      "class": [
        "data.frame"
      ],
      "fields": [
        "individual",
        "lake",
        "year",
        "mtDNA",
        "bodyPC1",
        "bodyPC2",
        "bodyPC3",
        "bodyPC4",
        "jawPC1",
        "jawPC2",
        "unh012",
        "X",
        "m1m",
        "X.1",
        "aburt28",
        "X.2",
        "burtkit",
        "X.3",
        "M002",
        "X.4",
        "M007",
        "X.5",
        "unh013",
        "X.6",
        "aburt151",
        "X.7",
        "M30",
        "X.8",
        "Tmom7",
        "X.9",
        "X.Gastrop",
        "X.Insect",
        "X.Fish",
        "X.Zoopl",
        "X.plants",
        "X.algae",
        "X.detritus",
        "X.Digested",
        "X.Other",
        "total"
      ],
      "rows": 519,
      "table": true,
      "tojson": true
    },
    {
      "name": "Horn1982",
      "title": "Horn1982",
      "object": "Horn1982",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "SebastesStomachs",
      "title": "SebastesStomachs",
      "object": "SebastesStomachs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Specimen",
        "StomachWeight",
        "PredatorWeight"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Casaux1998",
      "title": "Casaux1998",
      "topics": [
        "Casaux1998"
      ]
    },
    {
      "page": "CompositeIndices",
      "title": "Calculates various composite indices for studying trophic ecology",
      "topics": [
        "CompositeIndices"
      ]
    },
    {
      "page": "ConvertFishbaseDiet",
      "title": "Converts FishBase/SealifBase diet data obtained from rfishbase for use with dietr",
      "topics": [
        "ConvertFishbaseDiet"
      ]
    },
    {
      "page": "ConvertFishbaseFood",
      "title": "Converts FishBase/SealifBase food item diet data obtained from the diet function into a usable format for dietr",
      "topics": [
        "ConvertFishbaseFood"
      ]
    },
    {
      "page": "CortesPreyVals",
      "title": "CortesPreyVals",
      "topics": [
        "CortesPreyVals"
      ]
    },
    {
      "page": "dietr",
      "title": "Diet Estimated Trophic Levels in R",
      "topics": [
        "dietr"
      ]
    },
    {
      "page": "DietTroph",
      "title": "Calculates trophic level from percentage based quantitative diet data (volumetric, weight, etc.) for species, populations, and individuals.",
      "topics": [
        "DietTroph"
      ]
    },
    {
      "page": "Electivity",
      "title": "Calculates a variety of electivity indices and foraging ratios",
      "topics": [
        "Electivity"
      ]
    },
    {
      "page": "FishBasePreyVals",
      "title": "FishBasePreyVals",
      "topics": [
        "FishBasePreyVals"
      ]
    },
    {
      "page": "FoodTroph",
      "title": "Calculates trophic level from qualitative food item data for species, populations, and individuals using a random subsampling routine.",
      "topics": [
        "FoodTroph"
      ]
    },
    {
      "page": "GastrosomaticIndex",
      "title": "Calculates Gastro-somatic Index (AKA Fullness Index, Index of fullness)",
      "topics": [
        "GastrosomaticIndex"
      ]
    },
    {
      "page": "Herichthys",
      "title": "Herichthys",
      "topics": [
        "Herichthys"
      ]
    },
    {
      "page": "Horn1982",
      "title": "Horn1982",
      "topics": [
        "Horn1982"
      ]
    },
    {
      "page": "PlotElectivity",
      "title": "Creates Electivity plots",
      "topics": [
        "PlotElectivity"
      ]
    },
    {
      "page": "SebastesStomachs",
      "title": "SebastesStomachs",
      "topics": [
        "SebastesStomachs"
      ]
    },
    {
      "page": "VacuityIndex",
      "title": "Calculates the vacuity index, the proportion of fish which contain food in their stomach.",
      "topics": [
        "VacuityIndex"
      ]
    }
  ],
  "_readme": "https://github.com/sborstein/dietr/raw/HEAD/README.md",
  "_rundeps": [
    "blob",
    "cachem",
    "cli",
    "cpp11",
    "DBI",
    "dbplyr",
    "dplyr",
    "duckdb",
    "duckdbfs",
    "fastmap",
    "fs",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rfishbase",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "dietr-vignette.Rmd",
      "filename": "dietr-vignette.html",
      "title": "dietr Tutorial",
      "author": "Samuel R. Borstein",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1: Introduction",
        "2: Installation",
        "2.1: Installation From CRAN",
        "2.2: Installation of Development Version From GitHub",
        "3: Using dietr",
        "3.0: Basic Data Necessary to Run dietr for Trophic level Calculations",
        "3.1: Using dietr to Calculate Trophic Levels From FishBase Diet Data",
        "3.2: Using dietr to Calculate Trophic Levels from FishBase Food Item Data",
        "3.3: Using dietr to Calculate Trophic Levels From Your Own Data",
        "3.4: Using dietr to Calculate Electivity Indices",
        "3.5: Using dietr to Calculate  Composite Diet Indices",
        "3.5: Using dietr to Calculate the Gastro-somatic Index and Vacuity Index",
        "4: Final Comments",
        "5: References"
      ],
      "created": "2018-07-09 21:33:53",
      "modified": "2024-09-16 00:03:28",
      "commits": 14
    }
  ],
  "_score": 4.838849090737256,
  "_indexed": false,
  "_nocasepkg": "dietr",
  "_universes": [
    "phylotastic"
  ],
  "_indexurl": "https://sborstein.r-universe.dev/dietr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:56:51.000Z",
      "distro": "noble",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "91a11268806b542bb944ec67bfabd1b6c734f94c6104a5c30cd560baa5e4bb41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:56:42.000Z",
      "distro": "noble",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "320822eeb2f744f038ab1b31181d73414919eb16e420cfc0fb6ebbb048178820",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:55:56.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "cec3c7e9acc9ba80ab6fac0c8483e66d386285f5d002e8235f9fcf34128e885c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:56:14.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "15907034cf4d1b05ea076794558e174a54dc3d9b5baaf4e5e8a3aea14e4611df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:55:56.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "59748fe08f142844774732bfacac9f9284829b2ec7d36e8d662698a1254090eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:55:39.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "56ef7b50ed900ed1bf5a4245f0f09b890a87a63f44c98b5828caa40798cf5550",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.6-1",
      "date": "2026-05-15T07:55:43.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "3b02305c74ab7d72ccbcd17c476355d7187846e820f6fd44fbd4561624a5a553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.6-1",
      "date": "2026-06-02T19:09:50.000Z",
      "commit": "cd521d8d6e25caa1ba1a3baf90e0b9c35ea0b3d2",
      "fileid": "17af450620b40e8edbf637bbb0b2f31bb4f6806119d39bb220aabcbf311fded8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/25906885572"
    }
  ]
}