[PAQUETE] - đŸ§č ÂżQuerĂ©s que tu cĂłdigo en R sea mĂĄs limpio y profesional?

Te dejamos dos paquetes que no podés dejar de revisar:

🔍 {lintr} analiza tu cĂłdigo y detecta errores de sintaxis o estilo segĂșn la guĂ­a tidyverse.
🎹 {styler} lo reformatea automáticamente para que siga esas buenas prácticas.
‱ Info:
→ https://lintr.r-lib.org
→ https://styler.r-lib.org

#RStats #DataScience #CĂłdigoLimpio #EstiloR #lintr #styler #rtips @rstats

A Linter for R Code

Checks adherence to a given style, syntax errors and possible semantic issues. Supports on the fly checking of R code edited with RStudio IDE, Emacs, Vim, Sublime Text, Atom and Visual Studio Code.

#rstats hivemind: has anyone written a linter to have #lintr check that I have a `return()` call at then end of each function (opposite of implicit return / tidystyle)?

A (maybe?) radical proposal: let’s ignore line length limits for comments and instead rely on our IDEs/editors to perform proper line breaking and indentation.

Manual line breaks in comments lead to awkward formatting and noisy commit diffs.


 Now, how do I adjust the corresponding #rstats #lintr rule? đŸ€”