Skip to content
CRAN requires the check problems on this package to be fixed before Nov 1 or it will be archived. See the check details

geostan

0.8.2

Bayesian Spatial Analysis

0packages depend
5.4Kdownloads / year
79.0%test coverage
11/13flavors OK

Overview

About

For spatial data analysis; provides exploratory spatial analysis tools, spatial regression, spatial econometric, and disease mapping models, model diagnostics, and special methods for inference with small area survey data (e.g., the America Community Survey (ACS)) and censored population health monitoring data. Models are pre-specified using the Stan programming language, a platform for Bayesian inference using Markov chain Monte Carlo (MCMC). References: Carpenter et al. (2017) doi:10.18637/jss.v076.i01; Donegan (2021) doi:10.31219/osf.io/3ey65; Donegan (2022) doi:10.21105/joss.04716; Donegan, Chun and Hughes (2020) doi:10.1016/j.spasta.2020.100450; Donegan, Chun and Griffith (2021) doi:10.3390/ijerph18136856; Morris et al. (2019) doi:10.1016/j.sste.2019.100301.

Changes in 0.8.2

This fixes #25, an issue with the geostan::spatial method for GLMs, and also includes some minor changes to package documentation.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
All declared Imports should be used.
Additional issues

CRAN check page ↗

Slowest check: 20.4 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-07-29
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-07-27
  • NOTE10 OK, 2 NOTE, 1 FAILURE2026-06-08
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-06-07
  • NOTE9 OK, 5 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.8.2
READMEYes · 1,018 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.8.2Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paperDescription cites a JSS article
Help pages
43includes a package overview page
Examples that run
90%37 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
97%
Documented parameters
95%
Return-value docs
97%
Help pages citing references
2%

Downloads

5.4K
CRAN downloads in the past year
Rank #6,145 · ~15/day · ~447/mo
Daily download trend is not available in this view yet.
54430 days
1.3K90 days
5.4K1 year
Compare downloads with other packages →
Also on425 r2u9 autocran75 c2d4u

Repository

83Stars
7Forks
0Open issues
0Open PRs
17Releases
468Commits
4Commit identities
stanbayesianspatialepidemiologypublic-healthr-packagebayesian-inferencerspatial
468 commits · Last activity 2025-07-18 · 0% stars, 30d · Discussions: 3 posts
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
10
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-07-05 · 802026-07-07 · 83
PracticesBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/connordonegan/geostan on 2026-10-11.

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-07-18

pkgdown site last built 2025-07-14, before release 0.8.2 (2025-07-16)

Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing geostan adds 62 packages (33 with compiled code, 71 MB of source tarballs). Heaviest: BH 14 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.1.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.2.1 (2022)
Contributor
Contributor · added in 0.6.0
Releases (16)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.8.2Latest
    record
    2025-07-16 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.8.1
    record
    2024-12-04 · diff ↗
  • 0.8.0
    record
    2024-11-16 · diff ↗ ·
    added 2 exports
    impacts, spill
  • 0.7.0
    record
    2024-09-18 · diff ↗ ·
    added 2 exports
    dic, log_lik
  • 0.6.2
    record
    2024-06-04 · diff ↗
  • unarchivedReturned to CRAN
    2024-06-03
  • archivedRemoved from CRAN
    2024-05-25
    issues were not corrected in time
  • 0.6.1
    record
    2024-05-11 · diff ↗ ·
    added 1 export
    n_nbs
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.0
    record
    2024-04-16 · diff ↗
  • unarchivedReturned to CRAN
    2024-03-03
  • 0.5.4
    record
    2024-03-03 · diff ↗
  • archivedRemoved from CRAN
    2024-02-29
    issues were not corrected in time
  • 0.5.3
    record
    2023-11-24 · diff ↗ ·
    removed 1 export
    gamma
    added 1 export
    gamma2
Show 10 earlier eventsHide 10 earlier events
  • 0.5.2
    record
    2023-10-05 · diff ↗
  • 0.5.1
    record
    2023-06-04 · diff ↗
  • 0.5.0
    record
    2023-05-29 · diff ↗ ·
    added 3 exports
    eigen_grid, prep_car_data2, prep_sar_data2
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    record
    2022-12-04 · diff ↗
  • 0.4.0
    record
    2022-09-20 · diff ↗ ·
    added 2 exports
    prep_sar_data, stan_sar
  • 0.3.0
    record
    2022-07-11 · diff ↗ ·
    added 2 exports
    gr, lg
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    record
    2022-02-09
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-09
Total releases
16 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
93 KB / 2 files
Download size
1.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("geostan")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.04716, 10.3390/ijerph18136856.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for geostan version 0.8.2 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy