{
  "_id": "6a26994924555f66ed51dd70",
  "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-06-08 10:21:09 UTC",
    "User": "root"
  },
  "Author": "Adrian Hordyk [aut, cre]",
  "Maintainer": "Adrian Hordyk <ar.hordyk@gmail.com>",
  "MD5sum": "725105d9b896110cafcd8832578ee93b",
  "_user": "adrianhordyk",
  "_type": "src",
  "_file": "LBSPR_0.1.9.tar.gz",
  "_fileid": "3951b63455551a008aeafa0eb3dfb26c140e34ed10f542708233bd93c92384f9",
  "_filesize": 283186,
  "_sha256": "3951b63455551a008aeafa0eb3dfb26c140e34ed10f542708233bd93c92384f9",
  "_created": "2026-06-08T10:21:09.000Z",
  "_published": "2026-06-08T10:28:25.773Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80072376801,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7477550805"
    },
    {
      "job": 80072376782,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7477544261"
    },
    {
      "job": 80072376823,
      "time": 146,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7477549901"
    },
    {
      "job": 80072376828,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7477548634"
    },
    {
      "job": 80072376816,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7477535500"
    },
    {
      "job": 80072376806,
      "time": 390,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7477634458"
    },
    {
      "job": 80072376864,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7477533720"
    },
    {
      "job": 80072376817,
      "time": 180,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7477561297"
    },
    {
      "job": 80071810868,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7477496029"
    },
    {
      "job": 80072376810,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7477540249"
    },
    {
      "job": 80072376821,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7477542605"
    },
    {
      "job": 80072376799,
      "time": 169,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7477559359"
    },
    {
      "job": 80072376867,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7477551104"
    }
  ],
  "_buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 305,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LBSPR"
  },
  "_devurl": "https://github.com/adrianhordyk/lbspr",
  "_searchresults": 126,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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-06-08T10:23:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "48134d5015d794e9631c1d696802f4dc1f4516ac435836e74ab651d8469b3f44",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-06-08T10:23:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "a18e7e5459e7680de1078829fc51ff2bd3daa859345b91d0786108631798edd2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-06-08T10:23:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "51e6626185193217247939d3cb20fccd245fc4ca608f12ec213f0196e3550408",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-06-08T10:23:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "c99f7f0567900fd2dd231b6029781c978a6eeda432ce145ca569d763ba45aade",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-06-08T10:22:54.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "069e9bd0031660d394fa4271b6f2f6aa3490e7302621d2474de37247b24b4e99",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-06-08T10:26:23.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "b4b08a4221b4999108b5e535130283bf9f942e03c2e63687ca2d48c957ff811f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-06-08T10:22:46.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "28bd5387f533ef968a7eb55301f53d6ee1bf76805b2d027d15f33aba87c6d2e9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-06-08T10:23:41.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "6037fdc8ba149e8012667687771cfe6ba93c5d87bd23fb3044ff007ea4667425",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-06-08T10:23:28.000Z",
      "arch": "emscripten",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "0b33ec431a3fad170e8ca50b3f9e9afb91a85b861e127dbe54c9e666546468f9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-06-08T10:22:39.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "4d813cd831c0d39fa689207298d887fb47b5af37aa1827d0c745fc66489bfe8f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-06-08T10:22:37.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "2b3d32b6328f41817bc96ce73ccfb7d6c7a1f974e8985fcebf451b95a646219e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-06-08T10:22:45.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "df28ea4341936d52be00c5c06662a3b3367c251481739388fa5bdbfc17b8871a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/27131044360"
    }
  ]
}