Skip to content

geostan

Bayesian Spatial Analysis

v0.8.2 · Jul 15, 2025 · GPL (>= 3)

Description

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>.

Downloads

CRAN

464

Last 30 days

8429th

1.3K

Last 90 days

6.6K

Last year

Trend: +36.5% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

135

Last 90 days

474

Last year

Trend: -39.4% (30d vs prior 30d)

autoCRAN

4

Last 7 days

15

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.

Check History

NOTE 10 OK · 2 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE Jun 8, 2026
FAILURE r-devel-linux-x86_64-debian-gcc

S3 generic/method consistency

NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘check-ME-estimates-monte-carlo.R’ [12s/14s]
  Running ‘check-SEM-CAR-GLM-estimates-monte-carlo.R’ [9s/11s]
  Running ‘check-SLM-estimates-monte-carlo.R’ [11s/16s]
  Running ‘check-glm-for-bias.R’ [0s/0s]
  Running ‘missing-y.R’ [9s/13s]
  Ru
...[truncated]...
 
        1       1       1       1       1       1 
  13 NA values identified in the outcome variable
  Found in rows: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 55, 126, 157
  Error in file(messages, open = "wt") : cannot open the connection
  Execution halted
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 111.8Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  109.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 113.6Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  111.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    1.2Mb
    libs   3.3Mb
ERROR 8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/geostan.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 111.8Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  109.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 113.6Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  111.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    1.2Mb
    libs   3.3Mb
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’ ‘spData’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 111.8Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  109.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 113.6Mb
  sub-directories of 1Mb or more:
    doc     1.2Mb
    libs  111.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    1.2Mb
    libs   3.3Mb

Dependency Network

Dependencies Reverse dependencies spdep sf ggplot2 spData MASS truncnorm signs gridExtra Matrix Rcpp RcppParallel (>= 5.0.1) rstan rstantools geostan

Version History

17 tracked
new 0.8.2 Mar 10, 2026
updated 0.8.2 ← 0.8.1 diff Jul 15, 2025
updated 0.8.1 ← 0.8.0 diff Dec 3, 2024
updated 0.8.0 ← 0.7.0 diff Nov 15, 2024
updated 0.7.0 ← 0.6.2 diff Sep 17, 2024
updated 0.6.2 ← 0.6.1 diff Jun 3, 2024
updated 0.6.1 ← 0.6.0 diff May 10, 2024
updated 0.6.0 ← 0.5.4 diff Apr 15, 2024
updated 0.5.4 ← 0.5.3 diff Mar 2, 2024
updated 0.5.3 ← 0.5.2 diff Nov 23, 2023
updated 0.5.2 ← 0.5.1 diff Oct 4, 2023
updated 0.5.1 ← 0.5.0 diff Jun 3, 2023
updated 0.5.0 ← 0.4.1 diff May 28, 2023
updated 0.4.1 ← 0.4.0 diff Dec 3, 2022
updated 0.4.0 ← 0.3.0 diff Sep 19, 2022