Skip to content
HSAR needs insight (through spatialreg → marginaleffects), which CRAN will archive unless its check problems are fixed by Nov 14.

Hierarchical Spatial Autoregressive Model

0packages depend
2.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A Hierarchical Spatial Autoregressive Model (HSAR), based on a Bayesian Markov Chain Monte Carlo (MCMC) algorithm (Dong and Harris (2014) doi:10.1111/gean.12049). The creation of this package was supported by the Economic and Social Research Council (ESRC) through the Applied Quantitative Methods Network: Phase II, grant number ES/K006460/1.

Changes in 0.6.0
  • Resolve the CRAN check issues for HASR and resubmit it to CRAN.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.6.0
READMEYes · 50 wordsVignettesYes · 1 · staticNEWSYes · 67% structured · mentions 0.6.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
7
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
29%
Vignettes (1)

Downloads

2.5K
CRAN downloads in the past year
Rank #16,915 · ~7/day · ~212/mo
Daily download trend is not available in this view yet.
25730 days
75390 days
2.5K1 year
Compare downloads with other packages →
Also on348 r2u5 autocran107 c2d4u

Repository

19Stars
1Forks
2Open issues
0Open PRs
1Releases
67Commits
2Commit identities
spatial-econometricsspatial-regressionspatial-statistics
67 commits · Last activity 2026-03-27 · +5.6% stars, 30d · Default branch at 0.7.3, ahead of CRAN 0.6.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
8

Stars over time

2026-07-14 · 162026-10-14 · 19
PracticesBeta

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

Checks run against github.com/spatlyu/hsar on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-27 · The repository has a site deploy workflow

pkgdown site last built 2026-03-27

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing HSAR adds 30 packages (19 with compiled code, 53 MB of source tarballs). Heaviest: sf 9.3 MB, TH.data 8.2 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5
Imports (3)
LinkingTo (2)
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.6.0 (2024) · added in 0.6.0
Author, Copyright holder

Previously maintained by Angelos Mimis (0.3.6 to 0.5.1).

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2024-12-23
  • 0.6.0Latest
    record
    2024-12-23 · current release · diff ↗ ·
    removed 8 exports
    summary.mcmc_hsar, summary.mcmc_sar, summary.mcmc_hsar_rho_0, summary.mcmc_hsar_lambda_0, print.mcmc_hsar, print.mcmc_sar, print.mcmc_hsar_rho_0, print.mcmc_hsar_lambda_0
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • archivedRemoved from CRAN
    2022-01-22
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5.1
    record
    2020-06-28 · diff ↗
  • unarchivedReturned to CRAN
    2020-06-26
  • 0.5
    record
    2020-06-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-02-19
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
Show 6 earlier eventsHide 6 earlier events
  • 0.4.2
    record
    2017-10-18 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.4.0
    record
    2016-05-24 · diff ↗ ·
    added 4 exports
    print.mcmc_hsar, print.mcmc_sar, print.mcmc_hsar_rho_0, print.mcmc_hsar_lambda_0
  • R
    R 3.3.0 released · 2016-05-03
  • 0.3.6
    record
    2015-12-22
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-12-22
Total releases
6 / 11 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5
Bundled data
245 KB / 5 files
Download size
315 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("HSAR")

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

It points to 10.1111/gean.12049.

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 HSAR version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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