{
  "_id": "6ac4c90df511ae58c09a1502",
  "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-10-06 10:01:32 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/49bcd0bea590695eaa571f71a9065fe1aba5e0775c662d698c23efb65b4c7310",
  "_filesize": 285713,
  "_sha256": "49bcd0bea590695eaa571f71a9065fe1aba5e0775c662d698c23efb65b4c7310",
  "_expires": "2027-01-14T10:10:20.000Z",
  "_created": "2026-10-06T10:01:32.000Z",
  "_published": "2026-10-06T10:10:21.665Z",
  "_jobs": [
    {
      "job": 112214271626,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11404420942"
    },
    {
      "job": 112214271520,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11404286088"
    },
    {
      "job": 112214271639,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11403717617"
    },
    {
      "job": 112214271600,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11403896976"
    },
    {
      "job": 112214271571,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11404470655"
    },
    {
      "job": 112214271548,
      "time": 461,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11404456608"
    },
    {
      "job": 112214271648,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11403847249"
    },
    {
      "job": 112214271670,
      "time": 274,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11404331175"
    },
    {
      "job": 112212847847,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11404085882"
    },
    {
      "job": 112214272018,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11404415642"
    },
    {
      "job": 112214271628,
      "time": 366,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11404481084"
    },
    {
      "job": 112214271574,
      "time": 200,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11404436135"
    },
    {
      "job": 112214271716,
      "time": 119,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11404136560"
    },
    {
      "job": 112214271580,
      "time": 384,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11403832516"
    },
    {
      "job": 112214271775,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11403801489"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921",
  "_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": 10,
  "_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": 55
  },
  "_downloads": {
    "count": 447,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LBSPR"
  },
  "_devurl": "https://github.com/adrianhordyk/lbspr",
  "_searchresults": 118,
  "_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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.071882007306126,
  "_indexed": true,
  "_nocasepkg": "lbspr",
  "_universes": [
    "adrianhordyk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/01e82f7ce1e57d6a524a7a2be7d29fe7ade5c1ac6a7b1986dc95212b5e0febab",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/2bd38f167e1457845c7cf5b3da49a6e9dbc0ed4e54eb797e93ea28a6df5bd9ff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/0357c571521bc0376f8080251de4a2b514ad39298b118e90b6c59b6a1fa2675e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/ffc9acae257fe21c8bcb91cbcfd432283380973feead8996c5b742ede434b64b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:54.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/4db0e1b532af8b28c4cbe743143e3bfe6ab2bcae9c12ced6ddb61045225ba3a6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-06T10:07:16.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/97d4435932f5bb3956de3b8960f6ad542322e733ab90523ebfb24c17a8aa08ba",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-06T10:04:11.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/c6a3edaa3fdae0cbf6626463edf6db85a4fb123fddc915d5360d089fcbe966e0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-06T10:04:56.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/e44b95601a774672ce6ac163625258916fa9c111cdfc3f1b8cc9d7f7621ca913",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:38.000Z",
      "arch": "emscripten",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/e6db8518235bc8ba079a19bd278644bc8e0b8dc807fd11dea42060148ff80a23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-06T10:06:45.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/4259a26ab9ffed0ec8ff1558f9943d14b5d803ce1278aae8fc98bcc3a5a1f605",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:38.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/2d3c5ce7d707f36851e7c99a52888bf82a937b2656805617f932d73c76650b54",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-06T10:03:04.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/025ddce54c2c8f847e9d649b8d464a2ef081457fc14280628064ed5f85bf4b2b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-06T10:07:12.000Z",
      "arch": "aarch64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/9279bb806716fd2724d9a106f8ff5bf3144b343498ddaaa6629f1957487c48cd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-06T10:02:49.000Z",
      "arch": "x86_64",
      "commit": "45db8de5f00507f1ee5bd39ed56b23ce508457e8",
      "fileid": "https://r2.ropensci.org/505ceb30a20982436f8c25fcadf95f32fa3068f05c9d728127415e3b97e4631b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/adrianhordyk/actions/runs/37446553921"
    }
  ]
}