{"comment":{"url":"https://api.github.com/repos/marcosci/NLMR/comments/27934561","html_url":"https://github.com/marcosci/NLMR/commit/cb293ec8bb5380ef741527c98abfd0c75076705a#commitcomment-27934561","id":27934561,"user":{"login":"lintr-bot","id":10925265,"avatar_url":"https://avatars3.githubusercontent.com/u/10925265?v=4","gravatar_id":"","url":"https://api.github.com/users/lintr-bot","html_url":"https://github.com/lintr-bot","followers_url":"https://api.github.com/users/lintr-bot/followers","following_url":"https://api.github.com/users/lintr-bot/following{/other_user}","gists_url":"https://api.github.com/users/lintr-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/lintr-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lintr-bot/subscriptions","organizations_url":"https://api.github.com/users/lintr-bot/orgs","repos_url":"https://api.github.com/users/lintr-bot/repos","events_url":"https://api.github.com/users/lintr-bot/events{/privacy}","received_events_url":"https://api.github.com/users/lintr-bot/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"cb293ec8bb5380ef741527c98abfd0c75076705a","created_at":"2018-03-05T17:42:03Z","updated_at":"2018-03-05T17:42:03Z","author_association":"NONE","body":"[R/nlm_neigh.R:105:35:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L105) *style:* **Commas should always have a space after.**\n```r\n​        s <- s[sample(nrow(s), 1),]\n                                  ^\n```\n[R/nlm_neigh.R:110:33:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L110) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**\n```r\n​        if (neighbourhood == 4) { # Von-Neumann\"\n                                ^\n```\n[R/nlm_neigh.R:116:33:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L116) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**\n```r\n​        if (neighbourhood == 8) { \"Moore\"\n                                ^\n```\n[R/nlm_neigh.R:147:18:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L147) *style:* **Commas should always have a space after.**\n```r\n​        matrix[1,] <- matrix[nrow + 1,]\n                 ^\n```\n[R/nlm_neigh.R:147:39:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L147) *style:* **Commas should always have a space after.**\n```r\n​        matrix[1,] <- matrix[nrow + 1,]\n                                      ^\n```\n[R/nlm_neigh.R:148:25:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L148) *style:* **Commas should always have a space after.**\n```r\n​        matrix[nrow + 2,] <- matrix[2,]\n                        ^\n```\n[R/nlm_neigh.R:148:39:](https://github.com/marcosci/NLMR/blob/cb293ec8bb5380ef741527c98abfd0c75076705a/R/nlm_neigh.R#L148) *style:* **Commas should always have a space after.**\n```r\n​        matrix[nrow + 2,] <- matrix[2,]\n                                      ^\n```"}}
{"actor":{"display_login":"lintr-bot"}}