jkcshea / ivmte

An R package for implementing the method in Mogstad, Santos, and Torgovitsky (2018, Econometrica).
GNU General Public License v3.0
18 stars 2 forks source link

Unnecessary warning message about custom audit grids #231

Closed johnnybonney closed 1 year ago

johnnybonney commented 1 year ago

Whenever I specify a custom audit grid, I get the following warning:

Argument 'initgrid.nu' is ignored when a custom initial grid 'initgrid.u' is passed.

But I haven't specified initgrid.nu---only initgrid.u. (I imagine the warning is catching the default value of initgrid.nu, which indeed should be ignored, but probably no reason to warn the user about that.)

jkcshea commented 1 year ago

Resolved!

I imagine the warning is catching the default value of initgrid.nu

That's exactly what was happening!