{
  "_id": "6a1d40f41d7bb097a0a40b5b",
  "Package": "BTSPAS",
  "Version": "2024.11.1",
  "Date": "2024-11-01",
  "Title": "Bayesian Time-Stratified Population Analysis",
  "Authors@R": "c(person(given = c(\"Carl\", \"J\"),\nfamily = \"Schwarz\",\nrole = c(\"aut\", \"cre\"),\nemail = \"cschwarz.stat.sfu.ca@gmail.com\"),\nperson(given = c(\"Simon\", \"J\"),\nfamily = \"Bonner\",\nrole = \"aut\",\nemail = \"sbonner6@uwo.ca\"))",
  "SystemRequirements": "JAGS",
  "Description": "Provides advanced Bayesian methods to estimate abundance\nand run-timing from temporally-stratified Petersen\nmark-recapture experiments. Methods include hierarchical\nmodelling of the capture probabilities and spline smoothing of\nthe daily run size. Theory described in Bonner and Schwarz\n(2011) <doi:10.1111/j.1541-0420.2011.01599.x>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/cschwarz-stat-sfu-ca/BTSPAS",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "R.rsp",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 08:17:48 UTC",
    "User": "root"
  },
  "Author": "Carl J Schwarz [aut, cre], Simon J Bonner [aut]",
  "Maintainer": "Carl J Schwarz <cschwarz.stat.sfu.ca@gmail.com>",
  "Config/pak/sysreqs": "jags",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-10-23 22:20:07 UTC",
  "RemoteUrl": "https://github.com/cran/BTSPAS",
  "RemoteRef": "HEAD",
  "RemoteSha": "81233b0b3469779bd6178568195cc3dfebc38870",
  "MD5sum": "7134773408c705f853408f58f460cb43",
  "_user": "cran",
  "_type": "src",
  "_file": "BTSPAS_2024.11.1.tar.gz",
  "_fileid": "1e43520f47a0d46275cd14ff51dde884c03fd20076f5c9d1c6b7c10d8eed6eb0",
  "_filesize": 3643766,
  "_sha256": "1e43520f47a0d46275cd14ff51dde884c03fd20076f5c9d1c6b7c10d8eed6eb0",
  "_created": "2026-06-01T08:17:48.000Z",
  "_published": "2026-06-01T08:21:08.182Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78812675104,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326613095"
    },
    {
      "job": 78812675078,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326617449"
    },
    {
      "job": 78812254546,
      "time": 169,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326566919"
    },
    {
      "job": 78812675118,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326608332"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26743238729",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BTSPAS",
  "_commit": {
    "id": "81233b0b3469779bd6178568195cc3dfebc38870",
    "author": "Carl J Schwarz <cschwarz.stat.sfu.ca@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2024.11.1\n",
    "time": 1729722007
  },
  "_maintainer": {
    "name": "Carl J Schwarz",
    "email": "cschwarz.stat.sfu.ca@gmail.com",
    "login": "cschwarz-stat-sfu-ca",
    "description": "",
    "uuid": 7244742
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "actuar",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "R2jags",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "cschwarz-stat-sfu-ca",
      "count": 16,
      "uuid": 7244742
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 723,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BTSPAS"
  },
  "_devurl": "https://github.com/cschwarz-stat-sfu-ca/btspas",
  "_searchresults": 28,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BTSPAS.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cschwarz-stat-sfu-ca/btspas",
  "_realowner": "cschwarz-stat-sfu-ca",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.01",
      "date": "2010-02-11"
    },
    {
      "version": "1.0.03",
      "date": "2010-04-10"
    },
    {
      "version": "2010.04",
      "date": "2010-05-27"
    },
    {
      "version": "2010.09",
      "date": "2010-11-03"
    },
    {
      "version": "2010.12",
      "date": "2010-12-12"
    },
    {
      "version": "2011.06",
      "date": "2011-06-09"
    },
    {
      "version": "2012.01",
      "date": "2012-01-12"
    },
    {
      "version": "2012.0216",
      "date": "2012-02-20"
    },
    {
      "version": "2012.0217",
      "date": "2013-01-25"
    },
    {
      "version": "2012.0219",
      "date": "2013-05-14"
    },
    {
      "version": "2014.0901",
      "date": "2014-08-26"
    },
    {
      "version": "2020.1.1",
      "date": "2019-12-05"
    },
    {
      "version": "2020.9.1",
      "date": "2020-09-05"
    },
    {
      "version": "2021.1.1",
      "date": "2020-12-16"
    },
    {
      "version": "2021.11.1",
      "date": "2021-10-11"
    },
    {
      "version": "2021.11.2",
      "date": "2021-10-25"
    },
    {
      "version": "2024.4.1",
      "date": "2024-03-16"
    },
    {
      "version": "2024.5.9",
      "date": "2024-05-10"
    },
    {
      "version": "2024.11.1",
      "date": "2024-10-23"
    }
  ],
  "_exports": [
    "expit",
    "logit",
    "RunTime",
    "SimplePetersen",
    "TestIfPool",
    "TimeStratPetersenDiagError_fit",
    "TimeStratPetersenDiagErrorWHChinook_fit",
    "TimeStratPetersenDiagErrorWHChinook2_fit",
    "TimeStratPetersenDiagErrorWHSteel_fit",
    "TimeStratPetersenNonDiagError_fit",
    "TimeStratPetersenNonDiagErrorNP_fit",
    "TimeStratPetersenNonDiagErrorNPMarkAvail_fit",
    "TimeToTargetRunSize"
  ],
  "_help": [
    {
      "page": "logit",
      "title": "Logit and anti-logit function.",
      "topics": [
        "expit",
        "logit"
      ]
    },
    {
      "page": "RunTime",
      "title": "Compute percentiles of the run timing distribution.",
      "topics": [
        "RunTime"
      ]
    },
    {
      "page": "SimplePetersen",
      "title": "Simple Petersen Estimator and test if pooling can be done",
      "topics": [
        "SimplePetersen",
        "TestIfPool"
      ]
    },
    {
      "page": "TimeStratPetersenDiagError_fit",
      "title": "Wrapper (*_fit) to call the Time Stratified Petersen Estimator with Diagonal Entries function.",
      "topics": [
        "TimeStratPetersenDiagError_fit"
      ]
    },
    {
      "page": "TimeStratPetersenDiagErrorWHChinook_fit",
      "title": "Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with Diagonal Entries and separating Wild from Hatchery Chinook function.",
      "topics": [
        "TimeStratPetersenDiagErrorWHChinook2_fit",
        "TimeStratPetersenDiagErrorWHChinook_fit"
      ]
    },
    {
      "page": "TimeStratPetersenDiagErrorWHSteel_fit",
      "title": "Wrapper (*_fit) and function to call the Time Stratified Petersen Estimator with Diagonal Entries and separating Wild from Hatchery Steelhead function.",
      "topics": [
        "TimeStratPetersenDiagErrorWHSteel_fit"
      ]
    },
    {
      "page": "TimeStratPetersenNonDiagError_fit",
      "title": "Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with NON Diagonal Entries function.",
      "topics": [
        "TimeStratPetersenNonDiagError_fit"
      ]
    },
    {
      "page": "TimeStratPetersenNonDiagErrorNP_fit",
      "title": "Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with NON Diagonal Entries function and a non-parametric travel time estimator..",
      "topics": [
        "TimeStratPetersenNonDiagErrorNP_fit"
      ]
    },
    {
      "page": "TimeStratPetersenNonDiagErrorNPMarkAvail_fit",
      "title": "Wrapper (*_fit) to call the function to fit a Time Stratified Petersen Estimator with NON Diagonal Entries with an non-parametric travel time and fall back",
      "topics": [
        "TimeStratPetersenNonDiagErrorNPMarkAvail_fit"
      ]
    },
    {
      "page": "TimeToTargetRunSize",
      "title": "Computes and plots posterior distribution of time to get target run size. For example, the time to reach a cumulative run of 10,000 fish.",
      "topics": [
        "TimeToTargetRunSize"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BTSPAS/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "actuar",
    "base64enc",
    "boot",
    "cli",
    "coda",
    "cpp11",
    "data.table",
    "expint",
    "farver",
    "ggforce",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "plyr",
    "polyclip",
    "R2jags",
    "R2WinBUGS",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rjags",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tidyselect",
    "tweenr",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "a-Diagonal-model.html.asis",
      "filename": "a-Diagonal-model.html",
      "title": "01 Diagonal model",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-12-04 21:20:26",
      "modified": "2019-12-04 21:20:26",
      "commits": 1
    },
    {
      "source": "b-Diagonal-model-with-multiple-ages.html.asis",
      "filename": "b-Diagonal-model-with-multiple-ages.html",
      "title": "02 Diagonal model with multiple ages",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-12-04 21:20:26",
      "modified": "2019-12-04 21:20:26",
      "commits": 1
    },
    {
      "source": "c-Non-diagonal-model.html.asis",
      "filename": "c-Non-diagonal-model.html",
      "title": "03 Non-diagonal model",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-12-04 21:20:26",
      "modified": "2019-12-04 21:20:26",
      "commits": 1
    },
    {
      "source": "d-Non-diagonal-with-fall-back-model.html.asis",
      "filename": "d-Non-diagonal-with-fall-back-model.html",
      "title": "04 Non-diagonal with fall-back model",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-12-04 21:20:26",
      "modified": "2019-12-04 21:20:26",
      "commits": 1
    },
    {
      "source": "e-Bias-from-incomplete-sampling.html.asis",
      "filename": "e-Bias-from-incomplete-sampling.html",
      "title": "05 Bias from incomplete sampling",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-12-04 21:20:26",
      "modified": "2019-12-04 21:20:26",
      "commits": 1
    },
    {
      "source": "f-Interpolating-run-earlier-and-later.html.asis",
      "filename": "f-Interpolating-run-earlier-and-later.html",
      "title": "06 Interpolating run earlier and later",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2020-09-05 05:00:02",
      "modified": "2020-09-05 05:00:02",
      "commits": 1
    }
  ],
  "_score": 4.225309281725863,
  "_indexed": false,
  "_nocasepkg": "btspas",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cschwarz-stat-sfu-ca.r-universe.dev/BTSPAS",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2024.11.1",
      "date": "2026-06-01T08:20:02.000Z",
      "distro": "noble",
      "commit": "81233b0b3469779bd6178568195cc3dfebc38870",
      "fileid": "c7a8a9619edbd360b5574ad9ec0130ceb4af32b6577b969505274788581c905d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743238729"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2024.11.1",
      "date": "2026-06-01T08:20:09.000Z",
      "distro": "noble",
      "commit": "81233b0b3469779bd6178568195cc3dfebc38870",
      "fileid": "8e18f41171232ea973c3f57faaa179bc0bd625d8ebdbeb17a407f9f1fd4dba2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743238729"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2024.11.1",
      "date": "2026-06-01T08:20:23.000Z",
      "commit": "81233b0b3469779bd6178568195cc3dfebc38870",
      "fileid": "122583b0e82979b70f8cfe8fb92e5a3e4b7a743436101896613e2df4bae29e96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743238729"
    }
  ]
}