-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
102 lines (74 loc) · 3.04 KB
/
README.Rmd
File metadata and controls
102 lines (74 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
title: "KOMA - Large Macroeconomic Model"
output: github_document
---
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://codecov.io/gh/TimothyMerlin/koma)
**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:
```r
# 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:
```r
# 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
- **Getting started**
→ [Getting started with koma](https://timothymerlin.github.io/koma/articles/koma-getting-started.html)
- **Equation syntax**
→ [Equation syntax reference](https://timothymerlin.github.io/koma/articles/koma-equations.html)
- **Extended time series**
→ [Extended time series (ets)](https://timothymerlin.github.io/koma/articles/koma-extended-timeseries.html)
- **Parallelization**
→ [Executing koma in parallel](https://timothymerlin.github.io/koma/articles/koma-parallel.html)
- **Example: Klein model**
→ [Estimating Klein's Model I](https://timothymerlin.github.io/koma/articles/koma-klein.html)
- **Example: small macro model**
→ [Estimating small macro model for Switzerland](https://timothymerlin.github.io/koma/articles/koma-small-macro-model.html)
## Development
### Creating a new Version
Increment the package version using `usethis`:
```r
# 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:
```bash
# 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
```bash
# Push commits
git push
# Push both tags
git push origin --tags
```