{
  "_id": "6ae3259a327abcdf86866a68",
  "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",
  "RoxygenNote": "7.3.2",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "RdMacros": "Rdpack",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 10:40:02 UTC",
    "User": "root"
  },
  "Author": "Jessie Yeung [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0319-6892>), Monica Alexander\n[aut] (ORCID: <https://orcid.org/0000-0002-8135-3435>), Tim\nRiffe [aut] (ORCID: <https://orcid.org/0000-0002-2673-4622>)",
  "Maintainer": "Jessie Yeung <jessieyeung1@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-08-28 02:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/rcbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
  "_user": "cran",
  "_type": "src",
  "_file": "rcbayes_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b5d3e96ba73fd7514130eb54c4d56b4c427553e93f9b11f3eabf5e2bd6b27dae",
  "_filesize": 596247,
  "_sha256": "b5d3e96ba73fd7514130eb54c4d56b4c427553e93f9b11f3eabf5e2bd6b27dae",
  "_expires": "2027-02-06T10:53:12.000Z",
  "_created": "2026-10-29T10:40:02.000Z",
  "_published": "2026-10-29T10:53:14.149Z",
  "_upstream": "https://github.com/cran/rcbayes",
  "_status": "success",
  "_maintainer": {
    "name": "Jessie Yeung",
    "email": "jessieyeung1@gmail.com",
    "login": "jessieyeung",
    "description": "",
    "uuid": 59666953,
    "orcid": "0000-0002-0319-6892"
  },
  "_jobs": [
    {
      "job": 123400060690,
      "time": 339,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12890768856"
    },
    {
      "job": 123400060114,
      "time": 354,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891147192"
    },
    {
      "job": 123400060010,
      "time": 337,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12890987481"
    },
    {
      "job": 123400060021,
      "time": 350,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12891681109"
    },
    {
      "job": 123393205944,
      "time": 692,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12890592827"
    },
    {
      "job": 123400059937,
      "time": 212,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12890424273"
    },
    {
      "job": 123400060057,
      "time": 428,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891870795"
    },
    {
      "job": 123400060044,
      "time": 409,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891686448"
    },
    {
      "job": 123400060066,
      "time": 420,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12891506721"
    },
    {
      "job": 123400060025,
      "time": 514,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12890729436"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041",
  "_commit": {
    "id": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
    "author": "Jessie Yeung <jessieyeung1@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1756348802
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jessieyeung",
      "count": 3,
      "uuid": 59666953
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 378,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/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": false,
  "_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/cran/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-10-21 16:10:02",
      "modified": "2025-08-28 02:40:02",
      "commits": 3
    },
    {
      "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-10-21 16:10:02",
      "modified": "2025-08-28 02:40:02",
      "commits": 3
    }
  ],
  "_score": 3.113943352306837,
  "_indexed": false,
  "_nocasepkg": "rcbayes",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jessieyeung.r-universe.dev/rcbayes",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:45:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/98e7c3f82ed86f0e3b3bd6486af6f13c12906e292149ab2f3e5bd6144f7ce5e1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:47:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/238c45b0a6c191f6b474cccf2571f22c36b26d991afd31e651b565e7eda23895",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:45:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/5ed3a328b3c879233cc3d72308c70c16b43d80d0cdc0a9873a04584f266061a3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T10:47:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/4fef83e3f058ded54aa07a08c490867c8f6a58e328ccfe826548a9ea2a790c6c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-29T10:47:03.000Z",
      "arch": "emscripten",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/d28eca6e9112f93616585ea19edfaa56d5e0be2e4002dd570819ab8187adcd89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:47:21.000Z",
      "arch": "aarch64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/a9d6da6799c40e624eda6474b34b9605ff27290915689cdde4080884abf5c2c6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:45:49.000Z",
      "arch": "x86_64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/bb54d50224bcbc519df89f4772e2e106fe271c48aea19e911fc12e55f6ebe396",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:47:04.000Z",
      "arch": "aarch64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/9c24b6cfab0b7dbfdf4ffbce9814e08244d9d4a19b0cf46dfc2b13f95561ab19",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T10:45:36.000Z",
      "arch": "x86_64",
      "commit": "99f013262fbfb3fc14df05e1936274f7ef581eb2",
      "fileid": "https://r2.ropensci.org/08e88a3d7cc63283282f6716c92e0adc6ef041e285f56beed77072580b377e89",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40857256041"
    }
  ]
}