Michael Chirico

Results 389 comments of Michael Chirico

By the way, I don't see anything in the style guide about including/excluding code from comments. Should this be a default linter to begin with?

Definitely one option like `allow_no_calls` that requires at least one `(` call seems likely to eliminate many false positives.

I also find the DCF approach a bit awkward... what's the appeal of it besides back-compatibility?

the R-based approach just needs `source()` though? maybe I'm not understanding how the R approach is intended to work, exactly

right... that basically maps to the current setup though right? DCF keys/values --> variable names/values in config environment

if we're going to switch we could also offer a script (maybe a snippet in NEWS) to convert an existing DCF->R

I guess this would supersede #886

everything I could think of was covered in your initial post (well, maybe add S4 classes?)

actually I think this linter would to adapt pretty substantially for S4... all the names are in string literals I think (also not an S4 user myself)? see e.g. Matrix...