Follow Hadley Wickham’s style guide, adapted from Google’s style guide (HW’s link to Google is broken). Some of the differences between Google and HW are:

Additions from BMB and JD:

thing <- (thing %>%
          mutate(foo=x^2)
)

rather than

thing <- thing %>%
    mutate(foo=x^2)
thing <- (thing 
    %>% mutate(foo=x^2
           , bar=x^3
           , bletch=x^4
    )
)

rather than

thing <- thing %>%
    mutate(foo=x^2,
           bar=x^3,
           bletch=x^4)