Simulate Stock-Flow Consistent Models
Overview
Routines to write, simulate, and validate stock-flow consistent (SFC) models. The accounting structure of SFC models are described in Godley and Lavoie (2007, ISBN:978-1-137-08599-3). The algorithms implemented to solve the models (Gauss-Seidel and Broyden) are described in Kinsella and O'Shea (2010) doi:10.2139/ssrn.1729205 and Peressini and Sullivan (1988, ISBN:0-387-96614-5).
Changes
@gpetrini fixed the armadillo requirements
@joaomacalos fixed the CI/CD pipeline to upgrade to latest software versions
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-25
- WARNING12 OK, 1 WARNING2026-08-20
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 63 (44 internal)
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 99%
- Return-value docs
- 21%
- Help pages citing references
- 2% with a bibliography file
- sfcr_multis HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/joaomacalos/sfcr on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-10-11
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.3Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.1
- 0.2.02021-10-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.12021-01-08
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-08
- Total releases
- 4 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 146 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sfcr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.