{
  "_id": "6a4e0657e691af43f13df655",
  "Package": "LBSPR",
  "Title": "Length-Based Spawning Potential Ratio",
  "Version": "0.1.9",
  "Authors@R": "person(\"Adrian\", \"Hordyk\", email = \"ar.hordyk@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Simulate expected equilibrium length composition,\nyield-per-recruit, and the spawning potential ratio (SPR) using\nthe length-based SPR (LBSPR) model. Fit the LBSPR model to\nlength data to estimate selectivity, relative apical fishing\nmortality, and the spawning potential ratio for data-limited\nfisheries. See Hordyk et al (2016)\n<doi:10.1139/cjfas-2015-0422> for more information about the\nLBSPR assessment method.",
  "URL": "https://github.com/AdrianHordyk/LBSPR",
  "BugReports": "https://github.com/AdrianHordyk/LBSPR/issues",
  "License": "GPL-3",
  "RoxygenNote": "7.1.2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://adrianhordyk.r-universe.dev",
  "Date/Publication": "2023-07-13 16:19:29 UTC",
  "RemoteUrl": "https://github.com/adrianhordyk/lbspr",
  "RemoteRef": "HEAD",
  "RemoteSha": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-08 08:05:27 UTC",
    "User": "root"
  },
  "Author": "Adrian Hordyk [aut, cre]",
  "Maintainer": "Adrian Hordyk <ar.hordyk@gmail.com>",
  "_user": "adrianhordyk",
  "_type": "src",
  "_file": "LBSPR_0.1.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/8b9bcbd5bc961878081b488998228ba52306a352b3cd85981443cac76ccad6e8",
  "_filesize": 286022,
  "_sha256": "8b9bcbd5bc961878081b488998228ba52306a352b3cd85981443cac76ccad6e8",
  "_expires": "2026-10-16T08:12:05.000Z",
  "_created": "2026-07-08T08:05:27.000Z",
  "_published": "2026-07-08T08:12:07.456Z",
  "_jobs": [
    {
      "job": 85818274921,
      "time": 162,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8162028879"
    },
    {
      "job": 85818274927,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8162025769"
    },
    {
      "job": 85818274907,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8162028345"
    },
    {
      "job": 85818274949,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8162040240"
    },
    {
      "job": 85818274930,
      "time": 260,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8162054519"
    },
    {
      "job": 85818274953,
      "time": 327,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8162078899"
    },
    {
      "job": 85818274957,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8162018744"
    },
    {
      "job": 85818274901,
      "time": 214,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8162045034"
    },
    {
      "job": 85817625069,
      "time": 212,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8161967093"
    },
    {
      "job": 85818274894,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8162013021"
    },
    {
      "job": 85818274899,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8162012009"
    },
    {
      "job": 85818275013,
      "time": 126,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8162014712"
    },
    {
      "job": 85818274944,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8162011421"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571",
  "_status": "failure",
  "_upstream": "https://github.com/adrianhordyk/lbspr",
  "_commit": {
    "id": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
    "author": "Adrian <ar.hordyk@gmail.com>",
    "committer": "Adrian <ar.hordyk@gmail.com>",
    "message": "add check for discard mortality when MLL is used\n\nfixes #17\n",
    "time": 1689265169
  },
  "_maintainer": {
    "name": "Adrian Hordyk",
    "email": "ar.hordyk@gmail.com",
    "login": "adrianhordyk",
    "description": "",
    "uuid": 5696790
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.4",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "plotrix",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "colorspace",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "shinyBS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "adrianhordyk",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "adrianhordyk",
      "count": 162,
      "uuid": 5696790
    },
    {
      "user": "ahharvey",
      "count": 1,
      "uuid": 678140
    },
    {
      "user": "yreecht",
      "count": 1,
      "uuid": 25179049
    }
  ],
  "_userbio": {
    "uuid": 5696790,
    "type": "user",
    "name": "Adrian Hordyk",
    "followers": 53
  },
  "_downloads": {
    "count": 428,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LBSPR"
  },
  "_devurl": "https://github.com/adrianhordyk/lbspr",
  "_searchresults": 126,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LBSPR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/adrianhordyk/lbspr",
  "_realowner": "adrianhordyk",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2016-12-13"
    },
    {
      "version": "0.1.1",
      "date": "2017-06-20"
    },
    {
      "version": "0.1.2",
      "date": "2017-08-15"
    },
    {
      "version": "0.1.3",
      "date": "2019-03-12"
    },
    {
      "version": "0.1.4",
      "date": "2019-08-26"
    },
    {
      "version": "0.1.5",
      "date": "2019-12-06"
    },
    {
      "version": "0.1.6",
      "date": "2021-10-06"
    }
  ],
  "_exports": [
    "calcCurves",
    "DataDir",
    "FilterSmooth",
    "getFMfun",
    "LBSPR_NLLabsel",
    "LBSPR_NLLgtg",
    "LBSPRfit",
    "LBSPRfit_",
    "LBSPRopt",
    "LBSPRsim",
    "LBSPRsim_",
    "plotCurves",
    "plotEsts",
    "plotMat",
    "plotSim",
    "plotSize",
    "plotSPRCirc",
    "plotTarg",
    "Shiny"
  ],
  "_help": [
    {
      "page": "calcCurves",
      "title": "Calculate Relative Yield, YPR, SPR, SSB, and Recruitment curves for F/M",
      "topics": [
        "calcCurves"
      ]
    },
    {
      "page": "DataDir",
      "title": "Report the location of the Data Files",
      "topics": [
        "DataDir"
      ]
    },
    {
      "page": "FilterSmooth",
      "title": "Kalman filter and Rauch-Tung-Striebel smoother",
      "topics": [
        "FilterSmooth"
      ]
    },
    {
      "page": "getFMfun",
      "title": "Calculate F/M given SPR and other parameters",
      "topics": [
        "getFMfun"
      ]
    },
    {
      "page": "initialize-LB_lengths-method",
      "title": "Create a new LB_lengths object",
      "topics": [
        "initialize,LB_lengths-method"
      ]
    },
    {
      "page": "initialize-LB_obj-method",
      "title": "Create a new LB_obj object",
      "topics": [
        "initialize,LB_obj-method"
      ]
    },
    {
      "page": "initialize-LB_pars-method",
      "title": "Create a new LB_pars object",
      "topics": [
        "initialize,LB_pars-method"
      ]
    },
    {
      "page": "LB_lengths-class",
      "title": "An S4 class containing length data",
      "topics": [
        "LB_lengths-class"
      ]
    },
    {
      "page": "LB_obj-class",
      "title": "An S4 class containing all parameters for the LBSPR model",
      "topics": [
        "LB_obj-class"
      ]
    },
    {
      "page": "LB_pars-class",
      "title": "An S4 class containing life history and other parameters",
      "topics": [
        "LB_pars-class"
      ]
    },
    {
      "page": "LBSPR_NLLabsel",
      "title": "LBSPR Optimization function for age-based selectivity model",
      "topics": [
        "LBSPR_NLLabsel"
      ]
    },
    {
      "page": "LBSPR_NLLgtg",
      "title": "LBSPR Optimization function for GTG model",
      "topics": [
        "LBSPR_NLLgtg"
      ]
    },
    {
      "page": "LBSPRfit",
      "title": "Fit LBSPR model to length data",
      "topics": [
        "LBSPRfit"
      ]
    },
    {
      "page": "LBSPRfit_",
      "title": "Internal function to fit LBSPR model to length data",
      "topics": [
        "LBSPRfit_"
      ]
    },
    {
      "page": "LBSPRopt",
      "title": "Optimisation Routine for fitting LBSPR",
      "topics": [
        "LBSPRopt"
      ]
    },
    {
      "page": "LBSPRsim",
      "title": "LBSPR Simulation Model",
      "topics": [
        "LBSPRsim"
      ]
    },
    {
      "page": "LBSPRsim_",
      "title": "Internal LBSPR Simulation Model",
      "topics": [
        "LBSPRsim_"
      ]
    },
    {
      "page": "plotCurves",
      "title": "Plot the Relative Yield, YPR, SPR, SSB, and Recruitment curves",
      "topics": [
        "plotCurves"
      ]
    },
    {
      "page": "plotEsts",
      "title": "Plot LBSPR model estimates",
      "topics": [
        "plotEsts"
      ]
    },
    {
      "page": "plotMat",
      "title": "Plot the maturity-at-length and selectivity-at-length curves",
      "topics": [
        "plotMat"
      ]
    },
    {
      "page": "plotSim",
      "title": "General plotting function for simulated data",
      "topics": [
        "plotSim"
      ]
    },
    {
      "page": "plotSize",
      "title": "Plot the size data and model fits",
      "topics": [
        "plotSize"
      ]
    },
    {
      "page": "plotSPRCirc",
      "title": "Circle of estimated SPR and target and limit points",
      "topics": [
        "plotSPRCirc"
      ]
    },
    {
      "page": "plotTarg",
      "title": "Plot sampled length structure against target simulated size composition",
      "topics": [
        "plotTarg"
      ]
    },
    {
      "page": "Shiny",
      "title": "Run a Shiny Application",
      "topics": [
        "Shiny"
      ]
    }
  ],
  "_readme": "https://github.com/adrianhordyk/lbspr/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "plotrix",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_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": 5.054613054556888,
  "_indexed": true,
  "_nocasepkg": "lbspr",
  "_universes": [
    "adrianhordyk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-07-08T08:08:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/1e84eb83e6491819a3cb75b2b01809044dbbc34a875d8073ba594bd9a2498047",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-07-08T08:07:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/34947bd75564825698df7e39d6baf26b4a5883b83672e5bb8c1dcd30e3202014",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-07-08T08:08:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/3ff91f70a230adfd84028cd47f50718ca7b88f3746f1b929ccff3552f9a9aeed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-07-08T08:08:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/c424a644581747dd85d752838bf52ae3bcb00c4ff1a4860c30cea5b2188a722c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-07-08T08:08:55.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/cecef8d69b07a41ca2b7117c2b3278d18d29a580a1fc8220ebd492f0982a04c8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-07-08T08:09:52.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/3b5fcd44a418fdafda64a53c17fa117b7162c0168ed3f204612e03714ab764ca",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-07-08T08:07:43.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/3280156d0cf62aae2fc21a889941152eff75e8e39d681a6575c20617a95b7766",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-07-08T08:08:25.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/1c41bc1965d3aabe37e46af6088c7949bd60be3efd7c0c58e3306e3dcabcf0d3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-07-08T08:07:50.000Z",
      "arch": "emscripten",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/9500e3d6906aff9dbd8aaa5aca9a4e24866e85e3bdb589b67d4ef012dccd5053",
      "status": "success",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-07-08T08:06:53.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/d7d6dcdab3b542c1eeecde45d5978c617ffd274a8db97698b64a874f20bcea5f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-07-08T08:06:54.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/292b27deb9c3f68f3ed0a16015cd6251ee7ee9a088fa3bd0416526c42a91fc55",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-07-08T08:06:46.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/0e2e57796846b740b0ebe5759cddfedd853fb8bb264af3c01e4f0bff3469b294",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/28927231571"
    }
  ]
}