{"comment":{"url":"https://api.github.com/repos/bwlewis/lz4/comments/28811900","html_url":"https://github.com/bwlewis/lz4/commit/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b#commitcomment-28811900","id":28811900,"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":"e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b","created_at":"2018-05-01T20:33:32Z","updated_at":"2018-05-01T20:33:32Z","author_association":"NONE","body":"[R/functions.R:5:83:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L5) *style:* **Trailing whitespace is superfluous.**\n```r\n​#' @param from A raw or character vector to be compressed (for \\code{lzCompress}), \n                                                                                  ^\n```\n[R/functions.R:43:1:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L43) *style:* **Variable or function name should be snake_case.**\n```r\n​lzCompress <- function(from, level=0L, type)\n^~~~~~~~~~\n```\n[R/functions.R:45:5:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L45) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​  if(missing(type)) type <- NULL\n    ^\n```\n[R/functions.R:46:26:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L46) *style:* **Trailing whitespace is superfluous.**\n```r\n​  if (is.character(from)) \n                         ^\n```\n[R/functions.R:48:26:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L48) *style:* **Trailing whitespace is superfluous.**\n```r\n​  else if (!is.raw(from)) \n                         ^\n```\n[R/functions.R:51:5:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L51) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​  if(is.na(level)) stop(\"'level' mist be an integer between 0 and 9\")\n    ^\n```\n[R/functions.R:52:46:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L52) *style:* **Put spaces around all infix operators.**\n```r\n​  .Call(\"do_lzCompress\", from, level, PACKAGE=\"lz4\")\n                                            ~^~\n```\n[R/functions.R:57:1:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L57) *style:* **Variable or function name should be snake_case.**\n```r\n​lzDecompress <- function(from, type)\n^~~~~~~~~~~~\n```\n[R/functions.R:59:5:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L59) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​  if(missing(type)) type <- NULL\n    ^\n```\n[R/functions.R:60:21:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L60) *style:* **Trailing whitespace is superfluous.**\n```r\n​  if (!is.raw(from)) \n                    ^\n```\n[R/functions.R:62:41:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L62) *style:* **Put spaces around all infix operators.**\n```r\n​  .Call(\"do_lzDecompress\", from, PACKAGE=\"lz4\")\n                                       ~^~\n```\n[R/functions.R:75:31:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/functions.R#L75) *style:* **Put spaces around all infix operators.**\n```r\n​  .Call(\"lz4_version\", PACKAGE=\"lz4\")\n                             ~^~\n```\n[R/package.R:10:3:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/R/package.R#L10) *style:* **Trailing whitespace is superfluous.**\n```r\n​#' \n  ^\n```\n[tests/inmemory.R:6:29:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L6) *style:* **Commas should always have a space after.**\n```r\n​y <- lzCompress(serialize(x,NULL))\n                            ^\n```\n[tests/inmemory.R:8:3:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L8) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed serialized R object does not match original\")\n  ^\n```\n[tests/inmemory.R:8:24:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L8) *style:* **Commas should always have a space after.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed serialized R object does not match original\")\n                       ^\n```\n[tests/inmemory.R:15:3:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L15) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed text does not match original\")\n  ^\n```\n[tests/inmemory.R:15:24:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L15) *style:* **Commas should always have a space after.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed text does not match original\")\n                       ^\n```\n[tests/inmemory.R:20:21:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L20) *style:* **Commas should always have a space after.**\n```r\n​ans <- lapply(seq(0,9), function(j)\n                    ^\n```\n[tests/inmemory.R:27:29:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L27) *style:* **Commas should always have a space after.**\n```r\n​y <- lzCompress(serialize(x,NULL), type=\"lz4\")\n                            ^\n```\n[tests/inmemory.R:27:40:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L27) *style:* **Put spaces around all infix operators.**\n```r\n​y <- lzCompress(serialize(x,NULL), type=\"lz4\")\n                                      ~^~\n```\n[tests/inmemory.R:28:38:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L28) *style:* **Put spaces around all infix operators.**\n```r\n​z <- unserialize(lzDecompress(y, type=\"lz4\"))\n                                    ~^~\n```\n[tests/inmemory.R:29:3:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed serialized R object does not match original\")\n  ^\n```\n[tests/inmemory.R:29:24:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L29) *style:* **Commas should always have a space after.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed serialized R object does not match original\")\n                       ^\n```\n[tests/inmemory.R:35:61:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L35) *style:* **Put spaces around all infix operators.**\n```r\n​z <- readLines(textConnection(rawToChar(lzDecompress(y, type=\"lz4\"))))\n                                                           ~^~\n```\n[tests/inmemory.R:36:3:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L36) *style:* **Place a space before left parenthesis, except in a function call.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed text does not match original\")\n  ^\n```\n[tests/inmemory.R:36:24:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L36) *style:* **Commas should always have a space after.**\n```r\n​if(!isTRUE(all.equal(x,z))) stop(\"decompressed text does not match original\")\n                       ^\n```\n[tests/inmemory.R:41:21:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L41) *style:* **Commas should always have a space after.**\n```r\n​ans <- lapply(seq(0,9), function(j)\n                    ^\n```\n[tests/inmemory.R:42:39:](https://github.com/bwlewis/lz4/blob/e8a1b5bae1138d69fd2eb4ca12296a1e6cb77b2b/tests/inmemory.R#L42) *style:* **Put spaces around all infix operators.**\n```r\n​    object.size(lzCompress(eu, j, type=\"lz4\"))\n                                     ~^~\n```"}}
{"actor":{"display_login":"lintr-bot"}}