[R/as.compressed.matrix.R:1:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L1) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
as.compressed.matrix <- function(DocumentTermMatrix) {
^~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:1:34:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L1) *style:* **Variable and function names should be all lowercase.**
```r
as.compressed.matrix <- function(DocumentTermMatrix) {
                                 ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:2:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Use two spaces to indent, never tabs.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
^
```
[R/as.compressed.matrix.R:2:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **lines should not be more than 80 characters.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:2:12:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
           ^
```
[R/as.compressed.matrix.R:2:39:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                      ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:2:66:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Put spaces around all infix operators.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                ~^
```
[R/as.compressed.matrix.R:2:70:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Put spaces around all infix operators.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                     ^~
```
[R/as.compressed.matrix.R:2:75:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                          ^
```
[R/as.compressed.matrix.R:2:84:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:2:99:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Use two spaces to indent, never tabs.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                                ^
```
[R/as.compressed.matrix.R:2:99:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                                ^
```
[R/as.compressed.matrix.R:2:105:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L2) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	if (pmatch("matrix.csr",class(DocumentTermMatrix),nomatch=0) > 0) { return(DocumentTermMatrix); }
                                                                                ^
```
[R/as.compressed.matrix.R:3:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
^
```
[R/as.compressed.matrix.R:3:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **lines should not be more than 80 characters.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:3:17:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                ^
```
[R/as.compressed.matrix.R:3:52:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Variable and function names should be all lowercase.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                   ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:3:79:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Put spaces around all infix operators.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                             ~^
```
[R/as.compressed.matrix.R:3:83:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Put spaces around all infix operators.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ^~
```
[R/as.compressed.matrix.R:3:88:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ^
```
[R/as.compressed.matrix.R:3:90:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Variable and function names should be all lowercase.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:3:109:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Put spaces around all infix operators.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ~^~~
```
[R/as.compressed.matrix.R:3:114:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Variable and function names should be all lowercase.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:3:135:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L3) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	else if (pmatch("TermDocumentMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { DocumentTermMatrix <- t(DocumentTermMatrix); }
                                                                                ^
```
[R/as.compressed.matrix.R:4:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **lines should not be more than 80 characters.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:4:42:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                         ^
```
[R/as.compressed.matrix.R:4:48:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                               ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:4:68:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                                                   ^
```
[R/as.compressed.matrix.R:4:75:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Put spaces around all infix operators.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                                                         ~^~
```
[R/as.compressed.matrix.R:4:84:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                                                                ^
```
[R/as.compressed.matrix.R:4:86:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *warning:* **local variable ‘flag’ assigned but may not be used**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                                                                ^~~~
```
[R/as.compressed.matrix.R:4:100:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L4) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    else if (pmatch("DocumentTermMatrix",class(DocumentTermMatrix),nomatch=0) > 0) { flag <- TRUE; }
                                                                                ^
```
[R/as.compressed.matrix.R:5:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **lines should not be more than 80 characters.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:5:30:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                             ^
```
[R/as.compressed.matrix.R:5:41:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                        ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:5:61:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                            ^
```
[R/as.compressed.matrix.R:5:72:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                       ^
```
[R/as.compressed.matrix.R:5:79:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Put spaces around all infix operators.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                             ~^~
```
[R/as.compressed.matrix.R:5:88:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^
```
[R/as.compressed.matrix.R:5:97:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:5:97:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *warning:* **no visible global function definition for ‘as.matrix.csr’**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:5:111:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:5:133:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L5) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    else if (pmatch("Matrix",attr(class(DocumentTermMatrix),"package"),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^
```
[R/as.compressed.matrix.R:6:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **lines should not be more than 80 characters.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:6:34:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                 ^
```
[R/as.compressed.matrix.R:6:40:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                       ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:6:60:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                           ^
```
[R/as.compressed.matrix.R:6:67:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Put spaces around all infix operators.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                 ~^~
```
[R/as.compressed.matrix.R:6:76:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                           ^
```
[R/as.compressed.matrix.R:6:85:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:6:85:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *warning:* **no visible global function definition for ‘as.matrix.csr’**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:6:109:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:6:132:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L6) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    else if (pmatch("data.frame",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(as.matrix(DocumentTermMatrix))); }
                                                                                ^
```
[R/as.compressed.matrix.R:7:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **lines should not be more than 80 characters.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:7:30:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                             ^
```
[R/as.compressed.matrix.R:7:36:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                   ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:7:56:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Commas should always have a space after.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                       ^
```
[R/as.compressed.matrix.R:7:63:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Put spaces around all infix operators.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                             ~^~
```
[R/as.compressed.matrix.R:7:72:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                       ^
```
[R/as.compressed.matrix.R:7:81:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:7:81:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *warning:* **no visible global function definition for ‘as.matrix.csr’**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:7:95:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Variable and function names should be all lowercase.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:7:117:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L7) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    else if (pmatch("matrix",class(DocumentTermMatrix),nomatch=0) > 0) { return(as.matrix.csr(DocumentTermMatrix)); }
                                                                                ^
```
[R/as.compressed.matrix.R:9:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *style:* **lines should not be more than 80 characters.**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:9:21:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
                    ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:9:21:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *warning:* **no visible global function definition for ‘as.matrix.csr’**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
                    ^~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:9:45:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *style:* **Variable and function names should be all lowercase.**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
                                            ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:9:67:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *style:* **Commas should always have a space after.**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
                                                                  ^
```
[R/as.compressed.matrix.R:9:72:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L9) *style:* **Put spaces around all infix operators.**
```r
    tryCatch(return(as.matrix.csr(as.matrix(DocumentTermMatrix))),error=function(e) stop("Data must be encapsulated using one of the following classes: DocumentTermMatrix or TermDocumentMatrix (package tm), Matrix (package Matrix), matrix.csr (SparseM), data.frame, or matrix"));
                                                                      ~^~
```
[R/as.compressed.matrix.R:11:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L11) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/as.compressed.matrix.R:12:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
	ia <- c(1);
^
```
[R/as.compressed.matrix.R:12:12:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L12) *style:* **Put spaces around all infix operators.**
```r
	ia <- c(1);
          ~^~~
```
[R/as.compressed.matrix.R:13:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	for (n in 1:dim(DocumentTermMatrix)[1]) {
^
```
[R/as.compressed.matrix.R:13:13:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L13) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for (n in 1:dim(DocumentTermMatrix)[1]) {
            ^
```
[R/as.compressed.matrix.R:13:25:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L13) *style:* **Variable and function names should be all lowercase.**
```r
	for (n in 1:dim(DocumentTermMatrix)[1]) {
                        ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:14:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
		el <- sum(DocumentTermMatrix$i == n)+ia[length(ia)];
^~
```
[R/as.compressed.matrix.R:14:20:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L14) *style:* **Put spaces around all infix operators.**
```r
		el <- sum(DocumentTermMatrix$i == n)+ia[length(ia)];
                  ~^~~
```
[R/as.compressed.matrix.R:14:27:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
		el <- sum(DocumentTermMatrix$i == n)+ia[length(ia)];
                          ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:14:48:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L14) *style:* **Put spaces around all infix operators.**
```r
		el <- sum(DocumentTermMatrix$i == n)+ia[length(ia)];
                                              ~^~~
```
[R/as.compressed.matrix.R:14:53:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L14) *style:* **Put spaces around all infix operators.**
```r
		el <- sum(DocumentTermMatrix$i == n)+ia[length(ia)];
                                                   ~^~
```
[R/as.compressed.matrix.R:15:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
		ia <- append(ia,el);
^~
```
[R/as.compressed.matrix.R:15:20:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L15) *style:* **Put spaces around all infix operators.**
```r
		ia <- append(ia,el);
                  ~^~~
```
[R/as.compressed.matrix.R:16:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/as.compressed.matrix.R:17:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/as.compressed.matrix.R:17:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L17) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/as.compressed.matrix.R:18:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
^
```
[R/as.compressed.matrix.R:18:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **lines should not be more than 80 characters.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:18:12:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
           ^~~
```
[R/as.compressed.matrix.R:18:16:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Put spaces around all infix operators.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
              ~^~~
```
[R/as.compressed.matrix.R:18:38:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Put spaces around all infix operators.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                    ~^~
```
[R/as.compressed.matrix.R:18:50:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Variable and function names should be all lowercase.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                 ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:18:74:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Put spaces around all infix operators.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                                        ~^~
```
[R/as.compressed.matrix.R:18:75:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Variable and function names should be all lowercase.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                                          ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:18:98:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Put spaces around all infix operators.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                                                ~^~
```
[R/as.compressed.matrix.R:18:123:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Put spaces around all infix operators.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                                                ~^~
```
[R/as.compressed.matrix.R:18:128:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L18) *style:* **Variable and function names should be all lowercase.**
```r
	matrix <- new("matrix.csr",ra=as.numeric(DocumentTermMatrix$v),ja=DocumentTermMatrix$j,ia=as.integer(ia),dimension=dim(DocumentTermMatrix));
                                                                                ^~~~~~~~~~~~~~~~~~
```
[R/as.compressed.matrix.R:19:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/as.compressed.matrix.R:19:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L19) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/as.compressed.matrix.R:20:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/as.compressed.matrix.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	return(matrix);
^
```
[R/load.model.R:3:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r
	name <- load(file=file);
^
```
[R/load.model.R:3:14:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L3) *style:* **Put spaces around all infix operators.**
```r
	name <- load(file=file);
            ~^~~
```
[R/load.model.R:3:26:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L3) *style:* **Put spaces around all infix operators.**
```r
	name <- load(file=file);
                        ~^~
```
[R/load.model.R:4:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L4) *style:* **Use two spaces to indent, never tabs.**
```r
	model <- get(name);
^
```
[R/load.model.R:4:15:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L4) *style:* **Put spaces around all infix operators.**
```r
	model <- get(name);
             ~^~~
```
[R/load.model.R:5:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/load.model.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	return(model);
^
```
[R/maxent.R:2:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **lines should not be more than 80 characters.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:2:25:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                        ^
```
[R/maxent.R:2:37:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                    ^
```
[R/maxent.R:2:56:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                       ^
```
[R/maxent.R:2:75:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                          ^
```
[R/maxent.R:2:89:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                                ^
```
[R/maxent.R:2:103:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Commas should always have a space after.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                                ^
```
[R/maxent.R:2:118:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                                ^
```
[R/maxent.R:2:119:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Use two spaces to indent, never tabs.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                                ^
```
[R/maxent.R:2:119:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,set_heldout=0,verbose=FALSE) {
                                                                                ^
```
[R/maxent.R:4:23:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    feature_matrix <- as.compressed.matrix(feature_matrix);
                      ^~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:4:23:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L4) *warning:* **no visible global function definition for ‘as.compressed.matrix’**
```r
    feature_matrix <- as.compressed.matrix(feature_matrix);
                      ^~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:5:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	train_maxent <- function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,sgd_iter=30,sgd_eta0=1.0,sgd_alpha=0.85,set_heldout=0) {
^
```
[R/maxent.R:5:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L5) *style:* **lines should not be more than 80 characters.**
```r
	train_maxent <- function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,sgd_iter=30,sgd_eta0=1.0,sgd_alpha=0.85,set_heldout=0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:5:22:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L5) *style:* **Put spaces around all infix operators.**
```r
	train_maxent <- function(feature_matrix,code_vector,l1_regularizer=0.0,l2_regularizer=0.0,use_sgd=FALSE,sgd_iter=30,sgd_eta0=1.0,sgd_alpha=0.85,set_heldout=0) {
                    ~^~~
```
[R/maxent.R:6:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L6) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/maxent.R:7:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L7) *style:* **lines should not be more than 80 characters.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:7:52:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L7) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                   ^
```
[R/maxent.R:7:85:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L7) *style:* **Commas should always have a space after.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                                                ^
```
[R/maxent.R:7:96:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L7) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                                                ^
```
[R/maxent.R:8:14:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L8) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        else { ja <- sapply(feature_matrix@ra,toString); }
             ^
```
[R/maxent.R:8:47:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L8) *style:* **Commas should always have a space after.**
```r
        else { ja <- sapply(feature_matrix@ra,toString); }
                                              ^
```
[R/maxent.R:8:58:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L8) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        else { ja <- sapply(feature_matrix@ra,toString); }
                                                         ^
```
[R/maxent.R:9:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
		code_vector <- sapply(code_vector,toString);
^~
```
[R/maxent.R:9:29:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L9) *style:* **Put spaces around all infix operators.**
```r
		code_vector <- sapply(code_vector,toString);
                           ~^~~
```
[R/maxent.R:10:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
		maximumentropy$add_samples(as.integer(feature_matrix@dimension[1]),as.integer(feature_matrix@dimension[2]),code_vector,feature_matrix@ia,ja,feature_matrix@ra);
^~
```
[R/maxent.R:10:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L10) *style:* **lines should not be more than 80 characters.**
```r
		maximumentropy$add_samples(as.integer(feature_matrix@dimension[1]),as.integer(feature_matrix@dimension[2]),code_vector,feature_matrix@ia,ja,feature_matrix@ra);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:10:3:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L10) *warning:* **no visible binding for global variable ‘maximumentropy’**
```r
		maximumentropy$add_samples(as.integer(feature_matrix@dimension[1]),as.integer(feature_matrix@dimension[2]),code_vector,feature_matrix@ia,ja,feature_matrix@ra);
  ^~~~~~~~~~~~~~
```
[R/maxent.R:11:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
		model <- maximumentropy$train_model(l1_regularizer,l2_regularizer,use_sgd,sgd_iter,sgd_eta0,sgd_alpha,set_heldout);
^~
```
[R/maxent.R:11:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L11) *style:* **lines should not be more than 80 characters.**
```r
		model <- maximumentropy$train_model(l1_regularizer,l2_regularizer,use_sgd,sgd_iter,sgd_eta0,sgd_alpha,set_heldout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:11:12:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L11) *warning:* **no visible binding for global variable ‘maximumentropy’**
```r
		model <- maximumentropy$train_model(l1_regularizer,l2_regularizer,use_sgd,sgd_iter,sgd_eta0,sgd_alpha,set_heldout);
           ^~~~~~~~~~~~~~
```
[R/maxent.R:11:23:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L11) *style:* **Put spaces around all infix operators.**
```r
		model <- maximumentropy$train_model(l1_regularizer,l2_regularizer,use_sgd,sgd_iter,sgd_eta0,sgd_alpha,set_heldout);
                     ~^~~
```
[R/maxent.R:12:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r

^~
```
[R/maxent.R:12:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L12) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/maxent.R:13:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
		return(model);
^~
```
[R/maxent.R:14:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/maxent.R:15:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/maxent.R:15:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L15) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/maxent.R:16:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	if (l1_regularizer > 0 && l2_regularizer > 0) {
^
```
[R/maxent.R:16:12:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L16) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if (l1_regularizer > 0 && l2_regularizer > 0) {
           ^
```
[R/maxent.R:16:28:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L16) *style:* **Put spaces around all infix operators.**
```r
	if (l1_regularizer > 0 && l2_regularizer > 0) {
                           ^~
```
[R/maxent.R:16:32:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L16) *style:* **Put spaces around all infix operators.**
```r
	if (l1_regularizer > 0 && l2_regularizer > 0) {
                              ~^~~
```
[R/maxent.R:17:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		print("ERROR: L1 and L2 regularization cannot be used together.");
^~
```
[R/maxent.R:18:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
		return(NULL);
^~
```
[R/maxent.R:19:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/maxent.R:20:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/maxent.R:20:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L20) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/maxent.R:21:38:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L21) *style:* **Put spaces around all infix operators.**
```r
    if (l2_regularizer > 0 && use_sgd==TRUE) {
                                    ~^~~
```
[R/maxent.R:22:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L22) *style:* **lines should not be more than 80 characters.**
```r
        print("ERROR: L2 regularization is currently not supported in SGD mode.");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:23:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		return(NULL);
^~
```
[R/maxent.R:25:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L25) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:32:11:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L32) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(.Platform$OS.type == "unix") {
          ^
```
[R/maxent.R:33:19:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L33) *warning:* **Do not use absolute paths.**
```r
            sink("/dev/null")
                  ^~~~
```
[R/maxent.R:38:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L38) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:39:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **lines should not be more than 80 characters.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/maxent.R:39:42:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **Commas should always have a space after.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
                                         ^
```
[R/maxent.R:39:54:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **Commas should always have a space after.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
                                                     ^
```
[R/maxent.R:39:69:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **Commas should always have a space after.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
                                                                    ^
```
[R/maxent.R:39:84:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **Commas should always have a space after.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
                                                                                ^
```
[R/maxent.R:39:92:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L39) *style:* **Commas should always have a space after.**
```r
    model <- train_maxent(feature_matrix,code_vector,l1_regularizer,l2_regularizer,use_sgd,set_heldout);
                                                                                ^
```
[R/maxent.R:40:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/maxent.R:40:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L40) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/maxent.R:41:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
	weights <- as.data.frame(cbind(model[[2]],model[[3]],model[[4]]));
^
```
[R/maxent.R:41:17:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L41) *style:* **Put spaces around all infix operators.**
```r
	weights <- as.data.frame(cbind(model[[2]],model[[3]],model[[4]]));
               ~^~~
```
[R/maxent.R:42:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L42) *style:* **Use two spaces to indent, never tabs.**
```r
	colnames(weights) <- c("Weight","Label","Feature");
^
```
[R/maxent.R:42:27:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L42) *style:* **Put spaces around all infix operators.**
```r
	colnames(weights) <- c("Weight","Label","Feature");
                         ~^~~
```
[R/maxent.R:43:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L43) *style:* **Use two spaces to indent, never tabs.**
```r
	container <- new("maxent", model=model[[1]], weights=weights);
^
```
[R/maxent.R:43:15:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L43) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
	container <- new("maxent", model=model[[1]], weights=weights);
              ^~~
```
[R/maxent.R:43:19:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L43) *style:* **Put spaces around all infix operators.**
```r
	container <- new("maxent", model=model[[1]], weights=weights);
                 ~^~~
```
[R/maxent.R:43:41:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L43) *style:* **Put spaces around all infix operators.**
```r
	container <- new("maxent", model=model[[1]], weights=weights);
                                       ~^~
```
[R/maxent.R:43:61:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L43) *style:* **Put spaces around all infix operators.**
```r
	container <- new("maxent", model=model[[1]], weights=weights);
                                                           ~^~
```
[R/maxent.R:44:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L44) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:47:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/maxent.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	return(container);
^
```
[R/predict.maxent.R:4:23:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
    feature_matrix <- as.compressed.matrix(feature_matrix);
                      ^~~~~~~~~~~~~~~~~~~~
```
[R/predict.maxent.R:4:23:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L4) *warning:* **no visible global function definition for ‘as.compressed.matrix’**
```r
    feature_matrix <- as.compressed.matrix(feature_matrix);
                      ^~~~~~~~~~~~~~~~~~~~
```
[R/predict.maxent.R:5:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	classify_maxent <-
^
```
[R/predict.maxent.R:6:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	function(feature_matrix,model) {
^
```
[R/predict.maxent.R:7:1:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L7) *style:* **lines should not be more than 80 characters.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/predict.maxent.R:7:52:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L7) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                   ^
```
[R/predict.maxent.R:7:85:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L7) *style:* **Commas should always have a space after.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                                                ^
```
[R/predict.maxent.R:7:96:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L7) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        if (length(unique(feature_matrix@ja)) > 1) { ja <- sapply(feature_matrix@ja,toString); }
                                                                                ^
```
[R/predict.maxent.R:8:14:](https://github.com/vsimko/maxent/blob/1748d60b527bdd85fd4b37f56144bd15a5db6c82/R/predict.maxent.R#L8) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        else { ja <- sapply(feature_matrix@ra,toString); }
             ^
```


@DjalmaPessoa this is really smart! i like how you implemented

    nattr <- length(names(attributes(x)))
    if (nattr>5) {


All settings which are retrieved globally can be retrieved per meshgroup. This is fixed in another issue.


87382760-VAVTerminalUnitSchedule-Issue4285 (mjwitte) - x86_64-MacOS-10.9-clang: OK (2122 of 2131 tests passed, 19 test warnings)

 * 18 tests had: AUD diffs.
 * 11 tests had: RDD diffs.
 * 10 tests had: EIO diffs.
 * 6 tests had: ERR diffs.
 * 9 tests had: ESO big diffs.
 * 2 tests had: MDD diffs.
 * 2 tests had: MTD diffs.
 * 7 tests had: Table big diffs.
 * 3 tests had: ESO small diffs.
 * 3 tests had: MTR small diffs.
 * 1 test had: Table small diffs.
 * 4 tests had: MTR big diffs.

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.58%25-yellow.svg)


The main reason behind this choice was to avoif making `path` a top-level option, and this sounded nicer when compared to `nixpkgs`.


ok


Это же стоит проделать со всеми строковыми константами.


Par "entrée" je veux dire entrée dans le readme bien sûr.
@omar94250 @Christofrage @SasquatchYuja


the chance means the percentage (0.00 = 0%, 1.00 = 100%) of cases in that the action should be done. So 1.5 is not a valid number.
And as I know interval = 1.8 is wrong too. (I think thats an int (0, 1, 2, ... 65 536) and 1.8 is an float so it'll be converted to an int)


Please do not update the doc or man page manually.
You need to use Sphinx now. It takes the version automagically (within the doc dir):
```
make man
rm man/glances.1
cp _build/man/glances.1 man/glances.1
```


Strike the period. Also, all mentions of NuGet (except for in a command line, of course) should use cap N and G.


I can't, sorry. This has already been discussed:

https://github.com/dchest/tweetnacl-js/issues/85#issuecomment-180475852
https://github.com/dchest/tweetnacl-js/issues/93
https://github.com/dchest/tweetnacl-js/pull/94


And please name your commits and don't leave them as they're by default.


Since you are not simply copy and pasting, it should be accepted.


@eeckstein Yes, that works too. I don't know if they're slower. I just tend to find it convenient to use the command-line for this.


Речь шла не о том, чтобы убрать обработку, потому что неизвестно, как код может поменяться со временем, а о том, чтобы изменить ее. Потому что вряд ли вы хотите просто напечатать стэктрейс.