Skip to content

Simulate Stock-Flow Consistent Models

0packages depend
4.3Kdownloads / year
39.2%test coverage
13/13flavors OK

Overview

About

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 in 0.2.3

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

CRAN checks
13OK
Slowest check: 3.9 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.2.3
READMEYes · 867 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.3Citation fileNo

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
Vignettes (1)

Downloads

4.3K
CRAN downloads in the past year
Rank #10,008 · ~12/day · ~357/mo
Daily download trend is not available in this view yet.
44730 days
1K90 days
4.3K1 year
Compare downloads with other packages →
Also on354 r2u7 autocran

Repository

33Stars
15Forks
7Open issues
1Open PRs
4Releases
116Commits
2Commit identities
116 commits · Last activity 2025-10-09 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-09-29 · 272026-07-07 · 33
PracticesBeta

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

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

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2021-10-11

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

Dependencies

Declared dependencies
28 external dependencies (excludes base and recommended)

Installing sfcr adds 60 packages (35 with compiled code, 49 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, igraph 4.8 MB.

Depends (0)
none
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.1 (2021)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.3Latest
    record
    2025-10-09 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 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
  • 0.2.1
    record
    2021-10-11 · diff ↗ ·
    added 1 export
    sfcr_random
  • 0.2.0
    record
    2021-10-05 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    record
    2021-01-08
  • R
    R 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")
Macalos, J. (2025). sfcr: Simulate Stock-Flow Consistent Models (Version 0.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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