{
  "_id": "6aae654a3d719c1f8407c3ef",
  "Package": "rcbayes",
  "Title": "Estimate Rogers-Castro Migration Age Schedules with Bayesian\nModels",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Jessie\", \"Yeung\", role = c(\"aut\", \"cre\"), email = \"jessieyeung1@gmail.com\", comment = c(ORCID = \"0000-0002-0319-6892\")),\nperson(\"Monica\", \"Alexander\", role = \"aut\", comment = c(ORCID = \"0000-0002-8135-3435\")),\nperson(\"Tim\", \"Riffe\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-2673-4622\")))",
  "Description": "A collection of functions to estimate Rogers-Castro\nmigration age schedules using 'Stan'. This model which\ndescribes the fundamental relationship between migration and\nage in the form of a flexible multi-exponential migration model\nwas most notably proposed in Rogers and Castro (1978)\n<doi:10.1068/a100475>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "RdMacros": "Rdpack",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://jessieyeung.r-universe.dev",
  "Date/Publication": "2025-08-09 04:13:20 UTC",
  "RemoteUrl": "https://github.com/jessieyeung/rcbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-19 10:21:44 UTC",
    "User": "root"
  },
  "Author": "Jessie Yeung [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0319-6892>),\nMonica Alexander [aut] (ORCID: <https://orcid.org/0000-0002-8135-3435>),\nTim Riffe [aut] (ORCID: <https://orcid.org/0000-0002-2673-4622>)",
  "Maintainer": "Jessie Yeung <jessieyeung1@gmail.com>",
  "_user": "jessieyeung",
  "_type": "src",
  "_file": "rcbayes_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf830532a384878c5a286fde61a54b6d3ba7f9cc68da042fb44adafe596c5385",
  "_filesize": 596481,
  "_sha256": "cf830532a384878c5a286fde61a54b6d3ba7f9cc68da042fb44adafe596c5385",
  "_expires": "2026-12-28T10:34:46.000Z",
  "_created": "2026-09-19T10:21:44.000Z",
  "_published": "2026-09-19T10:34:50.432Z",
  "_jobs": [
    {
      "job": 105882073505,
      "time": 344,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10582751962"
    },
    {
      "job": 105882073496,
      "time": 387,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10582901786"
    },
    {
      "job": 105882073506,
      "time": 350,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10583061551"
    },
    {
      "job": 105882073512,
      "time": 426,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582761966"
    },
    {
      "job": 105882073468,
      "time": 304,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10583300457"
    },
    {
      "job": 105882073474,
      "time": 595,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10582602358"
    },
    {
      "job": 105882073492,
      "time": 389,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582417405"
    },
    {
      "job": 105882073469,
      "time": 545,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10583016056"
    },
    {
      "job": 105881053231,
      "time": 514,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582831501"
    },
    {
      "job": 105882073448,
      "time": 278,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10582627074"
    },
    {
      "job": 105882073579,
      "time": 590,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10582417624"
    },
    {
      "job": 105882073638,
      "time": 546,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10583105947"
    },
    {
      "job": 105882073519,
      "time": 510,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10582971999"
    },
    {
      "job": 105882073625,
      "time": 557,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582322968"
    },
    {
      "job": 105882073572,
      "time": 489,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582891897"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146",
  "_status": "success",
  "_upstream": "https://github.com/jessieyeung/rcbayes",
  "_commit": {
    "id": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
    "author": "Jessie Yeung <jessieyeung1@gmail.com>",
    "committer": "Jessie Yeung <jessieyeung1@gmail.com>",
    "message": "update cran comments\n",
    "time": 1754712800
  },
  "_maintainer": {
    "name": "Jessie Yeung",
    "email": "jessieyeung1@gmail.com",
    "login": "jessieyeung",
    "description": "",
    "uuid": 59666953,
    "orcid": "0000-0002-0319-6892"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidybayes",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinythemes",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "jessieyeung",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jessieyeung",
      "count": 67,
      "uuid": 59666953
    },
    {
      "user": "timriffe",
      "count": 2,
      "uuid": 904603
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 59666953,
    "type": "user",
    "name": "Jessie Yeung",
    "followers": 1
  },
  "_downloads": {
    "count": 423,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rcbayes"
  },
  "_devurl": "https://github.com/jessieyeung/rcbayes",
  "_searchresults": 13,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rcbayes.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/jessieyeung/rcbayes",
  "_realowner": "jessieyeung",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-10-21"
    },
    {
      "version": "0.2.0",
      "date": "2022-01-17"
    },
    {
      "version": "0.3.0",
      "date": "2025-08-28"
    }
  ],
  "_exports": [
    "init_rc",
    "interact_rc",
    "mig_calculate_rc",
    "mig_estimate_rc"
  ],
  "_help": [
    {
      "page": "rcbayes-package",
      "title": "The 'rcbayes' package.",
      "topics": [
        "rcbayes-package",
        "rcbayes"
      ]
    },
    {
      "page": "init_rc",
      "title": "Set initial values for Rogers-Castro migration model",
      "topics": [
        "init_rc"
      ]
    },
    {
      "page": "interact_rc",
      "title": "Run Interactive Rogers-Castro App",
      "topics": [
        "interact_rc"
      ]
    },
    {
      "page": "mig_calculate_rc",
      "title": "Calculate Rogers-Castro migration age schedule",
      "topics": [
        "mig_calculate_rc"
      ]
    },
    {
      "page": "mig_estimate_rc",
      "title": "Estimate Rogers-Castro migration age schedule",
      "topics": [
        "mig_estimate_rc"
      ]
    }
  ],
  "_readme": "https://github.com/jessieyeung/rcbayes/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "commonmark",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "htmltools",
    "httpuv",
    "inline",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "memoise",
    "mime",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "promises",
    "ps",
    "purrr",
    "quadprog",
    "QuickJSR",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinythemes",
    "sourcetools",
    "StanHeaders",
    "stringi",
    "stringr",
    "svUnit",
    "tensorA",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "convergence_issues.Rmd",
      "filename": "convergence_issues.html",
      "title": "Model Convergence With mig_estimate_rc",
      "author": "Monica Alexander, Jessie Yeung, Tim Riffe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model Diagnostics in Bayesian Models",
        "Overview",
        "Example of a Non-Convergent Model",
        "Method 1: Adjusting Stan Parameters",
        "Method 2: Setting initial conditions using init_rc",
        "Example: Fixing a Non-Convergent Model",
        "References"
      ],
      "created": "2021-02-08 04:02:10",
      "modified": "2025-08-06 19:16:01",
      "commits": 10
    },
    {
      "source": "intro_to_rcbayes.Rmd",
      "filename": "intro_to_rcbayes.html",
      "title": "Rogers Castro Migration Models with rcbayes",
      "author": "Monica Alexander, Jessie Yeung, Tim Riffe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why model migration",
        "The Rogers and Castro model",
        "Examples with rcbayes",
        "Calculating Rogers-Castro migration schedules",
        "Estimating migration age schedules using the Rogers-Castro model",
        "Overview",
        "Required Inputs for mig_estimate_rc",
        "Optional Inputs for mig_estimate_rc",
        "Example: Estimating migration rates for population with large retirement peak",
        "Checking Model Diagnostics",
        "Examining Model Results",
        "Comments about warnings",
        "References"
      ],
      "created": "2021-02-01 01:45:29",
      "modified": "2025-08-06 19:16:01",
      "commits": 11
    }
  ],
  "_score": 4.892094602690481,
  "_indexed": true,
  "_nocasepkg": "rcbayes",
  "_universes": [
    "jessieyeung"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/b162d77377735917a4993cad0027b9774ab2e3ee140956aabd2237cf02358dc5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/4bc7b6672c8b32893da2ada9f728164648c54e02dfd307dafc2effd3c302f5b9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/03c5b5b0578195a1a9c0226dea9ce63d506ab47b32200f9fc3b41a7eb718c516",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-09-19T10:27:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/98355e6bcd49ec6f0a4712f250a235d37e997fd0ec5852ce2d915ea8b4d2d5df",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:29.000Z",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/411a8a41085b06a3534ca125849db26d2722fb3c4181e6fb14d1c96a713a0508",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-09-19T10:28:09.000Z",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/35e7e1da28803e627848b2b0f3b591daebeb0e9fcc7994f8595d75a76184a7cf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:39.000Z",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/91e144c147acaef820daabe1ef5a700e4df238237a281394fe2cb9d756572ce2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-09-19T10:27:30.000Z",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/9e95a4728ee15b9a0801885551a19ea947e020c8e76eff31237ae5a14cb57cd3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-09-19T10:27:20.000Z",
      "arch": "emscripten",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/55500a43e6540500ea01b891334c76970c921d6fc985007b6fc95eef15b9c374",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-09-19T10:29:57.000Z",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/48426f0fb920a00478b778834d0625f46811d714f2393f917402c404748da80b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-09-19T10:26:01.000Z",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/615278c9640767af0589848265e3c1601338be555f653689bb9b16155b1af4ba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-09-19T10:25:52.000Z",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/da78920a14fdbbe1b06af59e09a4c7ab8cb0d0ea9c0f487db18dbc54b9678284",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-09-19T10:29:19.000Z",
      "arch": "aarch64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/8867c1c92c53fb3ff07e57fee4705acecd347d4e90d8d7b2467d37f466347f96",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-09-19T10:25:51.000Z",
      "arch": "x86_64",
      "commit": "8d8aef83a9e5ac3d109bb15bdbda5741ad29bb29",
      "fileid": "https://r2.ropensci.org/665a7310c5a982e93eb9350315022b53c37800d4282f20e9045842e498b03900",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jessieyeung/actions/runs/35436903146"
    }
  ]
}