{
  "_id": "6b0c31677510c4b9d7d9de50",
  "Package": "stanSPsurv",
  "Type": "Package",
  "Title": "Bayesian Split-Population Survival Models with Stan",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Sergio\", \"Béjar\", email = \"sergio.bejar@cide.edu\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Bumba\", \"Mukherjee\", role = \"aut\"),\nperson(\"Emiliano\", \"Medina-Aguilera\", role = \"ctb\")\n)",
  "Description": "Fits Bayesian split-population (cure) survival models with\nWeibull or log-logistic event-time distributions using Stan via\n'cmdstanr'. Provides pooled, exchangeable group-frailty, and\nscaled proper conditional autoregressive (CAR) spatial\nspecifications through a common formula interface. Includes\nmethods for coefficient extraction, prediction, frailty\nvisualization, survival curves, and choropleth mapping of\nspatial effects.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://stan-dev.r-universe.dev",
  "SystemRequirements": "CmdStan\n(https://mc-stan.org/users/interfaces/cmdstan)",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/Sergio-Bejar/stanSPsurv",
  "BugReports": "https://github.com/Sergio-Bejar/stanSPsurv/issues",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://sergio-bejar.r-universe.dev",
  "Date/Publication": "2026-11-06 01:47:42 UTC",
  "RemoteUrl": "https://github.com/sergio-bejar/stanspsurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "e99ef5245ffa9233c1e35869c564e075889e89fe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-29 14:00:38 UTC",
    "User": "root"
  },
  "Author": "Sergio Béjar [aut, cre],\nBumba Mukherjee [aut],\nEmiliano Medina-Aguilera [ctb]",
  "Maintainer": "Sergio Béjar <sergio.bejar@cide.edu>",
  "_user": "sergio-bejar",
  "_type": "src",
  "_file": "stanSPsurv_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/36fa0e0612b623cbdbd04be2ed04eee33560ced40f558dd6db47b6c2a3fbdce6",
  "_filesize": 702381,
  "_sha256": "36fa0e0612b623cbdbd04be2ed04eee33560ced40f558dd6db47b6c2a3fbdce6",
  "_expires": "2027-03-09T14:06:29.000Z",
  "_created": "2026-11-29T14:00:38.000Z",
  "_published": "2026-11-29T14:06:31.487Z",
  "_upstream": "https://github.com/sergio-bejar/stanspsurv",
  "_status": "success",
  "_maintainer": {
    "name": "Sergio Béjar",
    "email": "sergio.bejar@cide.edu"
  },
  "_jobs": [
    {
      "job": 141370077031,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15313764397"
    },
    {
      "job": 141370076990,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15313674607"
    },
    {
      "job": 141370077087,
      "time": 280,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15314166459"
    },
    {
      "job": 141370076997,
      "time": 275,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15314037303"
    },
    {
      "job": 141369116592,
      "time": 211,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15313667579"
    },
    {
      "job": 141370076995,
      "time": 179,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15313413471"
    },
    {
      "job": 141370077014,
      "time": 206,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15313268893"
    },
    {
      "job": 141370077044,
      "time": 301,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15314047525"
    },
    {
      "job": 141370077078,
      "time": 317,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15313769492"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178",
  "_commit": {
    "id": "e99ef5245ffa9233c1e35869c564e075889e89fe",
    "author": "Sergio Bejar <sbbejar@gmail.com>",
    "committer": "Sergio Bejar <sbbejar@gmail.com>",
    "message": "Update maintainer email to sergio.bejar@cide.edu\n",
    "time": 1793929662
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cmdstanr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "countrycode",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "sergio-bejar",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-32",
      "n": 82
    },
    {
      "week": "2026-33",
      "n": 7
    },
    {
      "week": "2026-45",
      "n": 32
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sergio-bejar",
      "count": 121,
      "uuid": 28761799
    }
  ],
  "_userbio": {
    "uuid": 28761799,
    "type": "user",
    "name": "Sergio Bejar ",
    "followers": 5,
    "description": "Professor of Political Science at the Center for Reaserch and Teaching in Economics (CIDE, Mexico)"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stanSPsurv"
  },
  "_devurl": "https://github.com/sergio-bejar/stanspsurv",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_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/readme.html",
    "extra/readme.md",
    "extra/stanSPsurv.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sergio-bejar/stanspsurv",
  "_realowner": "sergio-bejar",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-11-28"
    }
  ],
  "_authors": [
    {
      "name": "Sergio Béjar",
      "email": "sergio.bejar@cide.edu",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Bumba Mukherjee",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Emiliano Medina-Aguilera",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "frailty",
    "plot_choropleth",
    "plot_frailty",
    "plot_survival",
    "plot_susceptibility",
    "stan_exchange_spsurv",
    "stan_pooled_spsurv",
    "stan_spatial_spsurv"
  ],
  "_datasets": [
    {
      "name": "conflict_spells",
      "title": "Simulated post-conflict survival data",
      "object": "conflict_spells",
      "file": "conflict_spells.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "event",
        "victory",
        "gdp",
        "peacekeeping",
        "country",
        "region",
        "country_id"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.stanSPsurv",
      "title": "Extract coefficients from a stanSPsurv fit",
      "topics": [
        "coef.stanSPsurv"
      ]
    },
    {
      "page": "conflict_spells",
      "title": "Simulated post-conflict survival data",
      "topics": [
        "conflict_spells"
      ]
    },
    {
      "page": "frailty",
      "title": "Extract group or spatial frailties",
      "topics": [
        "frailty"
      ]
    },
    {
      "page": "plot_choropleth",
      "title": "Choropleth map of spatial frailties",
      "topics": [
        "plot_choropleth"
      ]
    },
    {
      "page": "plot_frailty",
      "title": "Plot group or spatial frailties",
      "topics": [
        "plot_frailty"
      ]
    },
    {
      "page": "plot_survival",
      "title": "Plot survival curves from a stanSPsurv fit",
      "topics": [
        "plot_survival"
      ]
    },
    {
      "page": "plot_susceptibility",
      "title": "Plot susceptibility across a covariate range",
      "topics": [
        "plot_susceptibility"
      ]
    },
    {
      "page": "plot.stanSPsurv",
      "title": "Plot a stanSPsurv fit",
      "topics": [
        "plot.stanSPsurv"
      ]
    },
    {
      "page": "predict.stanSPsurv",
      "title": "Predict from a stanSPsurv fit",
      "topics": [
        "predict.stanSPsurv"
      ]
    },
    {
      "page": "print.stanSPsurv",
      "title": "Print a stanSPsurv fit",
      "topics": [
        "print.stanSPsurv"
      ]
    },
    {
      "page": "stan_exchange_spsurv",
      "title": "Fit an exchangeable-frailty split-population survival model",
      "topics": [
        "stan_exchange_spsurv"
      ]
    },
    {
      "page": "stan_pooled_spsurv",
      "title": "Fit a pooled split-population survival model",
      "topics": [
        "stan_pooled_spsurv"
      ]
    },
    {
      "page": "stan_spatial_spsurv",
      "title": "Fit a spatial CAR split-population survival model",
      "topics": [
        "stan_spatial_spsurv"
      ]
    },
    {
      "page": "summary.stanSPsurv",
      "title": "Summarise a stanSPsurv fit",
      "topics": [
        "summary.stanSPsurv"
      ]
    }
  ],
  "_pkglogo": "https://github.com/sergio-bejar/stanspsurv/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/sergio-bejar/stanspsurv/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "checkmate",
    "cli",
    "cmdstanr",
    "data.table",
    "distributional",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "R6",
    "rlang",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "stanSPsurv.Rmd",
      "filename": "stanSPsurv.html",
      "title": "Getting started with stanSPsurv",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Pooled model",
        "Inspecting results",
        "Coefficient plot",
        "Survival curves",
        "Susceptibility curve",
        "Prediction",
        "Exchangeable-frailty model",
        "Frailty extraction and plotting",
        "Spatial CAR model",
        "Choropleth map",
        "Counting-process responses",
        "Diagnostics",
        "Further reading"
      ],
      "created": "2026-11-03 00:39:00",
      "modified": "2026-11-03 00:39:00",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "stanspsurv",
  "_universes": [
    "sergio-bejar"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-29T14:04:55.000Z",
      "distro": "resolute",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/76a829828d64bff4f65f160795fca85e339c3e1915cc63f7140a370a8fd2b3bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-29T14:04:13.000Z",
      "distro": "resolute",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/16b64d064358474acb1397dfd12705dd8c0ade5114cae634752050ed7a45c3a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-29T14:04:46.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/8fab154dfe8fef31f871c673b71c675b0af0883773d5bab046f385bab8c960e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-29T14:04:50.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/0316e543b6ea3c44008f928c9ab42cf7b6556ebc3bef07c14adc3deefa5228cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-29T14:03:58.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/ee362f2f760214250f4413b37f3b7464d0c223979277ac00658221ed32688d4b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-29T14:04:08.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/5ba61efe4851356eca82ae642340c888b58ae4ccec6f75c297fd25aed9502f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-29T14:05:42.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/db81a6ce785344987542a5a2126e2afd0fd71a27af9f332acb4364fcdf0a930e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-29T14:05:54.000Z",
      "commit": "e99ef5245ffa9233c1e35869c564e075889e89fe",
      "fileid": "https://r2.ropensci.org/caa302e7723494a055d6a86075f3f3edc51188200b883d54638b2b4aacf0c086",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sergio-bejar/actions/runs/46270161178"
    }
  ]
}