merwanroudane/makicoint ? reverse-engineered prompt

Reverse engineered prompt

Build me an R package called makicoint that runs the Maki cointegration test with structural breaks.

I want a simple function I can call on a data matrix where the first column is the dependent series and the others are the regressors. It should handle up to 5 unknown break points, support the four model types from the README, and automatically pick the lag length using the t sig rule. Please make the main test return a clear result object with the test statistic, chosen breaks, lag length, critical values, and a friendly print method.

Also add a helper for looking up the critical values, plus a clean example in the README showing how to test one break and two breaks with generated data. If anything in the package needs to be checked against the current CRAN or R package conventions, please look up the latest docs online and make it ready to install cleanly from GitHub and eventually submit to CRAN.