[JIRA] (SPARKR-216) SparkR Style guide

10 views
Skip to first unread message

Shivaram Venkataraman (JIRA)

unread,
Mar 4, 2015, 1:43:02 AM3/4/15
to spark...@googlegroups.com
Shivaram Venkataraman created an issue
 
SparkR / New Feature SPARKR-216
SparkR Style guide
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: Documentation, Internals
Created: 03/Mar/15 10:42 PM
Priority: Major Major
Reporter: Shivaram Venkataraman

We should develop a SparkR style guide document based on the some of the guidelines we use and some of the best practices in R.

Some examples of R style guide are:

http://r-pkgs.had.co.nz/r.html#style
http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html

A related issue is to work on a automatic style checking tool. https://github.com/jimhester/lintr seems promising

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4-OD-15-055#64014-sha1:797c660)
Atlassian logo

Davies (JIRA)

unread,
Mar 19, 2015, 3:13:02 PM3/19/15
to spark...@googlegroups.com
Davies commented on New Feature SPARKR-216
 
Re: SparkR Style guide

We could have a R style guide based on the one from google [1], and adjust some of them with the conversation in Spark:
1. Line Length: maximum 100 characters
2. no limit on function name (API should be similar as in other languages)
3. Allow S4 objects/methods

Shivaram Venkataraman (JIRA)

unread,
Apr 9, 2015, 4:49:01 PM4/9/15
to spark...@googlegroups.com
This message was sent by Atlassian JIRA (v6.4-OD-16-006#64014-sha1:e47e3fa)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages