[R/as.compressed.matrix.R:1:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L6) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/maxent.R:7:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r

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

^~
```
[R/maxent.R:13:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/maxent.R:15:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r

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

^
```
[R/maxent.R:16:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/maxent.R:20:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r

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

^
```
[R/maxent.R:21:38:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L25) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:32:11:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L38) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:39:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r

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

^
```
[R/maxent.R:41:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/R/maxent.R#L44) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/maxent.R:47:1:](https://github.com/vsimko/maxent/blob/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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/aa78c215b4893794f09ca11b7eacc214a8455e50/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); }
             ^
```


I started on a commit linter tool but haven't had any time to finish it up. I'll be trying to get back to it here in the next week or two.


* This feels like it isn't complete. Maybe I'm wrong and it will be fine when all the other pieces are in place. What do you think?


All settings retrieved globally should be retrieved per meshgroup. This should be done by setting the parent of fffProcessor etc to the meshgroup rather than the global settings.


You can remove:

public const string EAGameID = "x-ea-game-id";
public const string EAGameType = "x-ea-game-type";
public const string EATaxV = "x-ea-taxv";

These will be used for Pin Requests in the next pull.


Yes IDisposable would not be enough: you need to open the file handle with "DeleteOnClose" access. File handles are automatically closed when a process dies, so using this option guarantees that the file gets deleted.


Ah. Yes, submodules are awkward if the directory structure is being shifted up.
The /.gitmodules file will need to be kept, and edited at some point (if moving the directories up as part of the filter-branch, edited at the point it gets first committed) to make sure the paths inside are correct.

I'd probably do this using:
`git filter-branch --tree-filter 'if [ -f .gitmodules ]; then cp -f /tmp/new.gitmodules .gitmodules; fi'`
Where /tmp/new.gitmodules is a fixed up version for the new tree structure.

The actual commit version of the submodule is stored in the destination location in the tree as a normal file, so that'll be moved around with everything else.


On Ubuntu 14, `Package libopenblas-dev is not available`.
It should be replaced with `libblas-dev`.
Then, I don't know about Ubuntu 15.


InitialCommit


I'd suggest to add some comments here why uses this value. Basically if the underlying type is `bytes`, the precision is unbound. I think it's ok here to limit the max to 2^31 -1 (although it's probably can increased in Python 3).


The comment is correct in that they cannot have two different values but they can have different metadata.

It's possible for a column to be referred to twice in an entity, once as the target of a relation field and once as the target of a relation that is also part of the `@Id`

In hydrating the results, if the result column that is not part of the identifier is processed first, then this change (an early exit when the value is non-null) will cause it to not process `isIdentifier` on the second occurrence of the column, resulting in the `$nonemptyComponents` entry not being set.

This results in the result being discarded.

Is this intentional?  I agree that design of the entity could probably be changed but since this update said it was for "readability" I wondered if it might be important to highlight the change in behavior.


This didn't work with a Saitek game controller. getSource() returns 257 for this controller (http://developer.android.com/reference/android/view/InputDevice.html#SOURCE_KEYBOARD).


I don't get it.


Yes, it what I have done. But the version is still 2.5.1...
Le 11 mars 2016 10:16 PM, "Alessio Sergi" <notifications@github.com> a
écrit :

> 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
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/nicolargo/glances/commit/be16b9992b79b11f56fff4019879cfef5bbeec24#commitcomment-16655192>
> .
>


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18929](https://teamcity.mesosphere.io/viewLog.html?buildId=161660&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 254 Build time: 00:05:57


Hay que hacer dos cosas:

1. Correr `rubocop --auto-correct` en la receta de `cleanup` que arregla la mayoría de problemas de rubocop. Uno de los que no es el de las líneas.
2. En el mismo [cleanup](https://github.com/platanus/potassium/blob/master/lib/potassium/templates/application/recipes/cleanup.rb) hay una llamada a una función llamada `cut_comments` que corta los comentarios. La idea sería que cortasen los comentarios de devise por ejemplo.


What? Did you mean to tag someone else?


Sure this will work? i have tried something like this and it didnt


nevermind, checked a brand new app package structure. I guess the upgrade documents on the ember-cli site are just not completely up to date :+1:


LGTM, hallelujah.