Open ibartomeus opened 5 years ago
What do you think about this style guide?
-File Names: no caps or spaces, end in .R or .md
-Load all libraries and needed files first
-Use headers: ##headers---
-Identifiers: variable_name, no caps
-Line Length: maximum ~ 80 characters (i.e. an Rstudio source screen)
-Indentation: use tabs, when a line break occurs inside parentheses, align the wrapped line with the first character inside the parenthesis
-Place spaces around all binary operators (=, +, -, <-, etc.)
-Curly Braces: first on the same line, last on own line. but use else surround else with braces
-Assignment: use <-, not =
-Semicolons: don't use them
-Commenting Guidelines: comment a lot, all comments begin with # followed by a space; inline comments need a tab before the #
What do you think about this style guide?
-File Names: no caps or spaces, end in .R or .md
-Load all libraries and needed files first
-Use headers: ##headers---
-Identifiers: variable_name, no caps
-Line Length: maximum ~ 80 characters (i.e. an Rstudio source screen)
-Indentation: use tabs, when a line break occurs inside parentheses, align the wrapped line with the first character inside the parenthesis
-Place spaces around all binary operators (=, +, -, <-, etc.)
-Curly Braces: first on the same line, last on own line. but use else surround else with braces
-Assignment: use <-, not =
-Semicolons: don't use them
-Commenting Guidelines: comment a lot, all comments begin with # followed by a space; inline comments need a tab before the #