{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9463","labels_url":"https://api.github.com/repos/apache/spark/issues/9463/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9463/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9463/events","html_url":"https://github.com/apache/spark/pull/9463","id":115006547,"number":9463,"title":"[SPARK-11263][SPARKR] lintr Throws Warnings on Commented Code in Documentation","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-04T09:15:28Z","updated_at":"2015-11-05T03:17:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9463","html_url":"https://github.com/apache/spark/pull/9463","diff_url":"https://github.com/apache/spark/pull/9463.diff","patch_url":"https://github.com/apache/spark/pull/9463.patch"},"body":"Clean out hundreds of `style: Commented code should be removed.` from lintr\r\n\r\nLike these:\r\n```\r\n/opt/spark-1.6.0-bin-hadoop2.6/R/pkg/R/DataFrame.R:513:3: style: Commented code should be removed.\r\n# sc <- sparkR.init()\r\n  ^~~~~~~~~~~~~~~~~~~\r\n/opt/spark-1.6.0-bin-hadoop2.6/R/pkg/R/DataFrame.R:514:3: style: Commented code should be removed.\r\n# sqlContext <- sparkRSQL.init(sc)\r\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/opt/spark-1.6.0-bin-hadoop2.6/R/pkg/R/DataFrame.R:515:3: style: Commented code should be removed.\r\n# path <- \"path/to/file.json\"\r\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n```\r\n\r\ntried without @export or @rdname, neither work\r\ninstead, added this `#' @noRd` to suppress .Rd file generation\r\n\r\nalso updated `@family` for DataFrame functions for longer descriptive text instead of `dataframe_funcs`\r\n![image](https://cloud.githubusercontent.com/assets/8969467/10933937/17bf5b1e-8291-11e5-9777-40fc632105dc.png)\r\n\r\nthis covers *most* of 'Commented code' but I left out a few that looks legitimate.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/153942676","html_url":"https://github.com/apache/spark/pull/9463#issuecomment-153942676","issue_url":"https://api.github.com/repos/apache/spark/issues/9463","id":153942676,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T03:17:09Z","updated_at":"2015-11-05T03:17:09Z","body":"Merged build finished. Test PASSed."}}