pitakakariki / simr

Power Analysis of Generalised Linear Mixed Models by Simulation
69 stars 19 forks source link

`powerCurve` missing with no default warning message #139

Closed stefanocoretta closed 3 years ago

stefanocoretta commented 5 years ago

When R diagnostics is on in RStudio ("Check arguments to function call" is checked), powerCurve() produces a warning for missing arguments, which lack defaults.

screenshot 2018-11-05 at 08 06 51
pitakakariki commented 5 years ago

Thanks for the heads up. I'd call this a false positive, looks like RStudio is being a bit overambitious in its diagnostics. I'll keep the issue open though in case I can think of a workaround.