{
  "_id": "6a1ed34db401979e7340dfcc",
  "Package": "hsstan",
  "Type": "Package",
  "Title": "Hierarchical Shrinkage Stan Models for Biomarker Selection",
  "Version": "0.8.2.9000",
  "Date": "2024-01-13",
  "Authors@R": "c(person(\"Marco\", \"Colombo\",\nemail=\"mar.colombo13@gmail.com\", role=c(\"aut\", \"cre\"),\ncomment=c(ORCID=\"0000-0001-6672-0623\")),\nperson(\"Paul\", \"McKeigue\",\nemail=\"paul.mckeigue@ed.ac.uk\", role=\"aut\",\ncomment=c(ORCID=\"0000-0002-5217-1034\")),\nperson(\"Athina\", \"Spiliopoulou\",\nemail=\"A.Spiliopoulou@ed.ac.uk\", role=\"ctb\",\ncomment=c(ORCID=\"0000-0002-5929-6585\")))",
  "Description": "Linear and logistic regression models penalized with\nhierarchical shrinkage priors for selection of biomarkers (or\nmore general variable selection), which can be fitted using\nStan (Carpenter et al. (2017) <doi:10.18637/jss.v076.i01>). It\nimplements the horseshoe and regularized horseshoe priors\n(Piironen and Vehtari (2017) <doi:10.1214/17-EJS1337SI>), as\nwell as the projection predictive selection approach to recover\na sparse set of predictive biomarkers (Piironen, Paasiniemi and\nVehtari (2020) <doi:10.1214/20-EJS1711>).",
  "License": "GPL-3",
  "URL": "https://github.com/mcol/hsstan",
  "BugReports": "https://github.com/mcol/hsstan/issues",
  "LazyData": "yes",
  "Biarch": "true",
  "ByteCompile": "yes",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU make",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "Roxygen": "list(markdown=TRUE)",
  "Config/pak/sysreqs": "make",
  "Repository": "https://mcol.r-universe.dev",
  "Date/Publication": "2025-08-27 21:27:56 UTC",
  "RemoteUrl": "https://github.com/mcol/hsstan",
  "RemoteRef": "HEAD",
  "RemoteSha": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
  "Packaged": {
    "Date": "2026-05-21 10:16:08 UTC",
    "User": "root"
  },
  "Author": "Marco Colombo [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6672-0623>),\nPaul McKeigue [aut] (ORCID: <https://orcid.org/0000-0002-5217-1034>),\nAthina Spiliopoulou [ctb] (ORCID:\n<https://orcid.org/0000-0002-5929-6585>)",
  "Maintainer": "Marco Colombo <mar.colombo13@gmail.com>",
  "MD5sum": "bf31c16f085dc4e24d1652fcbb1d663f",
  "_user": "mcol",
  "_type": "src",
  "_file": "hsstan_0.8.2.9000.tar.gz",
  "_fileid": "71b730b02d5675fe0627b82d89add38f02d56ff6bc2109321a61f440379a1cb2",
  "_filesize": 346900,
  "_sha256": "71b730b02d5675fe0627b82d89add38f02d56ff6bc2109321a61f440379a1cb2",
  "_created": "2026-05-21T10:16:08.000Z",
  "_published": "2026-06-02T12:57:49.407Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79075419430,
      "time": 402,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133296236"
    },
    {
      "job": 79075419216,
      "time": 392,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133293310"
    },
    {
      "job": 79075420405,
      "time": 387,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133291553"
    },
    {
      "job": 79075419287,
      "time": 370,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133286000"
    },
    {
      "job": 79075419862,
      "time": 351,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133270705"
    },
    {
      "job": 79075419924,
      "time": 781,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133413207"
    },
    {
      "job": 79075419547,
      "time": 274,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133244951"
    },
    {
      "job": 79075419493,
      "time": 747,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133400279"
    },
    {
      "job": 79075419085,
      "time": 365,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133159295"
    },
    {
      "job": 79075418581,
      "time": 190,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79075419653,
      "time": 553,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133346219"
    },
    {
      "job": 79075419477,
      "time": 559,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133347450"
    },
    {
      "job": 79075419509,
      "time": 511,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133332415"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mcol/hsstan",
  "_commit": {
    "id": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
    "author": "Marco Colombo <mar.colombo13@gmail.com>",
    "committer": "Marco Colombo <mar.colombo13@gmail.com>",
    "message": "Change the download badge to show the grand total.\n",
    "time": 1756330076
  },
  "_maintainer": {
    "name": "Marco Colombo",
    "email": "mar.colombo13@gmail.com",
    "login": "mcol",
    "orcid": "0000-0001-6672-0623",
    "description": "100% made of awesome",
    "uuid": 6078177
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.15",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.4.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "loo",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mcol",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian",
    "feature-selection",
    "mcmc",
    "cpp"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mcol",
      "count": 303,
      "uuid": 6078177
    }
  ],
  "_userbio": {
    "uuid": 6078177,
    "type": "user",
    "name": "Marco Colombo",
    "description": "100% made of awesome"
  },
  "_downloads": {
    "count": 279,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hsstan"
  },
  "_devurl": "https://github.com/mcol/hsstan",
  "_searchresults": 21,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hsstan.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mcol/hsstan",
  "_realowner": "mcol",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6",
      "date": "2019-09-22"
    },
    {
      "version": "0.7",
      "date": "2020-05-01"
    },
    {
      "version": "0.8",
      "date": "2020-06-29"
    },
    {
      "version": "0.8.1",
      "date": "2021-09-16"
    },
    {
      "version": "0.8.2",
      "date": "2024-01-13"
    }
  ],
  "_exports": [
    "bayes_R2",
    "hsstan",
    "kfold",
    "log_lik",
    "loo",
    "loo_R2",
    "nsamples",
    "posterior_interval",
    "posterior_linpred",
    "posterior_performance",
    "posterior_predict",
    "posterior_summary",
    "projsel",
    "sampler.stats",
    "waic"
  ],
  "_datasets": [
    {
      "name": "diabetes",
      "title": "Diabetes data with interaction terms",
      "object": "diabetes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "sex",
        "bmi",
        "map",
        "tc",
        "ldl",
        "hdl",
        "tch",
        "ltg",
        "glu",
        "age.2",
        "bmi.2",
        "map.2",
        "tc.2",
        "ldl.2",
        "hdl.2",
        "tch.2",
        "ltg.2",
        "glu.2",
        "age.sex",
        "age.bmi",
        "age.map",
        "age.tc",
        "age.ldl",
        "age.hdl",
        "age.tch",
        "age.ltg",
        "age.glu",
        "sex.bmi",
        "sex.map",
        "sex.tc",
        "sex.ldl",
        "sex.hdl",
        "sex.tch",
        "sex.ltg",
        "sex.glu",
        "bmi.map",
        "bmi.tc",
        "bmi.ldl",
        "bmi.hdl",
        "bmi.tch",
        "bmi.ltg",
        "bmi.glu",
        "map.tc",
        "map.ldl",
        "map.hdl",
        "map.tch",
        "map.ltg",
        "map.glu",
        "tc.ldl",
        "tc.hdl",
        "tc.tch",
        "tc.ltg",
        "tc.glu",
        "ldl.hdl",
        "ldl.tch",
        "ldl.ltg",
        "ldl.glu",
        "hdl.tch",
        "hdl.ltg",
        "hdl.glu",
        "tch.ltg",
        "tch.glu",
        "ltg.glu",
        "Y"
      ],
      "rows": 442,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "hsstan-package",
      "title": "Hierarchical shrinkage Stan models for biomarker selection",
      "topics": [
        "hsstan-package"
      ]
    },
    {
      "page": "bayes_R2.hsstan",
      "title": "Bayesian and LOO-adjusted R-squared",
      "topics": [
        "bayes_R2",
        "bayes_R2.hsstan",
        "loo_R2",
        "loo_R2.hsstan"
      ]
    },
    {
      "page": "diabetes",
      "title": "Diabetes data with interaction terms",
      "topics": [
        "diabetes"
      ]
    },
    {
      "page": "hsstan",
      "title": "Hierarchical shrinkage models",
      "topics": [
        "hsstan"
      ]
    },
    {
      "page": "kfold.hsstan",
      "title": "K-fold cross-validation",
      "topics": [
        "kfold",
        "kfold.hsstan"
      ]
    },
    {
      "page": "log_lik.hsstan",
      "title": "Pointwise log-likelihood",
      "topics": [
        "log_lik",
        "log_lik.hsstan"
      ]
    },
    {
      "page": "loo.hsstan",
      "title": "Predictive information criteria for Bayesian models",
      "topics": [
        "loo",
        "loo.hsstan",
        "waic",
        "waic.hsstan"
      ]
    },
    {
      "page": "nsamples.hsstan",
      "title": "Number of posterior samples",
      "topics": [
        "nsamples",
        "nsamples.hsstan"
      ]
    },
    {
      "page": "plot.projsel",
      "title": "Plot of relative explanatory power of predictors",
      "topics": [
        "plot.projsel"
      ]
    },
    {
      "page": "posterior_interval.hsstan",
      "title": "Posterior uncertainty intervals",
      "topics": [
        "posterior_interval",
        "posterior_interval.hsstan"
      ]
    },
    {
      "page": "posterior_linpred.hsstan",
      "title": "Posterior distribution of the linear predictor",
      "topics": [
        "posterior_linpred",
        "posterior_linpred.hsstan"
      ]
    },
    {
      "page": "posterior_performance",
      "title": "Posterior measures of performance",
      "topics": [
        "posterior_performance"
      ]
    },
    {
      "page": "posterior_predict.hsstan",
      "title": "Posterior predictive distribution",
      "topics": [
        "posterior_predict",
        "posterior_predict.hsstan"
      ]
    },
    {
      "page": "posterior_summary",
      "title": "Posterior summary",
      "topics": [
        "posterior_summary",
        "posterior_summary.default",
        "posterior_summary.hsstan"
      ]
    },
    {
      "page": "print.hsstan",
      "title": "Print a summary for the fitted model",
      "topics": [
        "print.hsstan"
      ]
    },
    {
      "page": "projsel",
      "title": "Forward selection minimizing KL-divergence in projection",
      "topics": [
        "projsel"
      ]
    },
    {
      "page": "sampler.stats",
      "title": "Sampler statistics",
      "topics": [
        "sampler.stats"
      ]
    },
    {
      "page": "summary.hsstan",
      "title": "Summary for the fitted model",
      "topics": [
        "summary.hsstan"
      ]
    }
  ],
  "_readme": "https://github.com/mcol/hsstan/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "pROC",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3.866287339084195,
  "_indexed": true,
  "_nocasepkg": "hsstan",
  "_universes": [
    "mcol"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:21:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "38f78abc3866b833d99fa3b217f86d7b081e5bce93b26f806285f51b1bab35e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:21:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "c838759916fef094603f99472b5a7dfe224c7c1465277368836f60dca6ab587d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:21:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "af52845d895287a7d1e051c231cdd15b712940e9f022477a1cff187a4acc7caa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:21:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "cb00436e275672e5198c52936e8ba21aeaef7f6bd68f93bc1e4ce117e7eb46db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:21:23.000Z",
      "arch": "aarch64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "95a874ace767d3f2f6e39add366708e7459ea444f2e17f8d6c711a277da5233b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:23:27.000Z",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "2021efe900e413509abb2ee6029dab0a933922e9f89c25588dda2250a4008f5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:20:39.000Z",
      "arch": "aarch64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "affa19fbf2f739c90f1fff56eee67cd192029631afe6faef4ac4e8806fd76b11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:23:36.000Z",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "872a96199b9088dad5799637bcbc97e55b8cd3052c3a167b702dcb7afa9e1fbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:20:29.000Z",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "ad6cad12f699126a899a4c52cfd946f5db7ad03236db760a048c465e7e6f34e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:20:30.000Z",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "3ef052a976d66d5e742cc9231afe6fd3e48ec6f934fcdf8d6aadaba7c5182e2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.8.2.9000",
      "date": "2026-05-21T10:20:38.000Z",
      "arch": "x86_64",
      "commit": "450e5398000f0c4fdad6079d80d3f5788cbb45fa",
      "fileid": "a8a9a0ae77418cc4024250c35ce882d2135759914345f70fa93ca7b42dce3d76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mcol/actions/runs/26219730892"
    }
  ]
}