tidyMacro

License  Documentation

Welcome! Full documentation and function references are available at https://tidymacro.netlify.app. For a comprehensive overview of the package’s functionality and replication examples, a separate replication gallery is provided on the main webpage of the package.

Installation

# install.packages("devtools")
devtools::install_github("muhsinciftci/tidyMacro")

How tidyMacro is built and checked

tidyMacro is developed with AI coding agents, under significant human review, and every method is checked against the original studies.

Multi-agent development

The code is written mainly with Claude (Claude Code). Codex independently cross-checks the work. Each agent has a narrow role:

Agent Role
C++ engineer Implements and refactors the RcppArmadillo routines
Numerical-methods reviewer Checks the econometrics and numerics of VAR, SVAR, IV, sign restriction, bootstrap and local projection code
R interface reviewer Checks the R wrappers, plots and exported functions
Check runner Compiles the package and runs the tests and diagnostics

The reviewer and check-runner agents cannot edit the code. When the agents disagree, the code and the reference output settle it, not either model.

Human review

The author designs and reviews every function, one at a time. That covers inputs, outputs, defaults, speed and memory use. AI errors found during development are corrected by hand. Where tidyMacro deliberately differs from an original implementation, the documentation says so.

Comparison with the original studies