Skip to content

TimothyMerlin/koma

Repository files navigation

KOMA - Large Macroeconomic Model

Lifecycle: experimental codecov

koma is an R package for Bayesian estimation of simultaneous equation models (SEMs) using Metropolis-within-Gibbs Markov Chain Monte Carlo (MCMC) methods.

⚠️ Beta Release: koma is under active development. The user-facing API may still change before the first CRAN release. Core features are working but exported functions may change and bugs are possible. Please report issues on GitHub.

Installation

To install the latest release of the KOMA package from GitHub:

# Install from GitHub
devtools::install_github("timothymerlin/koma@latest")

# Or using renv
renv::install("github::timothymerlin/koma@latest", rebuild = TRUE)

# Or using remotes
remotes::install_github("timothymerlin/koma@latest")

To install the latest development version of the KOMA package from GitHub:

# Install from GitHub
devtools::install_github("timothymerlin/koma")

# Or using renv
renv::install("github::timothymerlin/koma", rebuild = TRUE)

Once the package is more mature and has been peer-reviewed, it is planned to be released on CRAN.

Documentation

Development

Creating a new Version

Increment the package version using usethis:

# Increment the version number (patch/minor/major)
usethis::use_version()

This updates the DESCRIPTION file.

Commit changes and tag the release

After updating the version:

# Stage all changes
git add .

# Commit with a clear message
git commit -m "Incrementing version to x.x.x"

# Tag the release (protected)
git tag x.x.x

# Tag the latest release (unprotected, movable)
git tag -f latest
  • x.x.x is the new semantic version (e.g. 0.1.0).
  • Protected tags (like x.x.x) are immutable to ensure release integrity.
  • latest is an uprotected tag that can be moved to point to the newest release.

Push branch and tags

# Push commits
git push

# Push both tags
git push origin --tags

About

Large Scale Macroeconomic Model

Resources

License

Stars

Watchers

Forks

Packages

No packages published