Manual
Manuals
Brands
Google Manuals
Software
RLint: Reformatting R Code to Follow the Google Style Guide
10
11
12
13
14
15
16
17
18
19
Google Confidential and Proprietary
Ex: Ease checking program correctness
Code
x <- -5:-1
x[x <-2] # Hmm ...
Warning
Must have whitespace around <-, <<-, etc
Corrected code
x <- -5:-1
x[x <- 2]
1
...
...
10
11
12
13
14
...
...
19