[R/helper_funs.R:2:77:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
#' @description Runs model fitting, error estimation and variable importance
                                                                            ^
```
[R/helper_funs.R:4:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/helper_funs.R:10:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L10) *style:* **Trailing whitespace is superfluous.**
```r
                     formula = NULL, model_args = NULL, par_cl = NULL,
                                                                      ^
```
[R/helper_funs.R:12:73:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
                     do_try = NULL, model_fun = NULL, error_fold = NULL,
                                                                        ^
```
[R/helper_funs.R:16:77:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
                     current_impo = NULL, pred_args = NULL, progress = NULL,
                                                                            ^
```
[R/helper_funs.R:17:70:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L17) *style:* **Trailing whitespace is superfluous.**
```r
                     pooled_obs_train = NULL, pooled_obs_test = NULL,
                                                                     ^
```
[R/helper_funs.R:18:64:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
                     pooled_pred_train = NULL, response = NULL,
                                                               ^
```
[R/helper_funs.R:21:75:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L21) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
                     do_gc = NULL, test_param = NULL, train_param = NULL) {
                                                                          ^
```
[R/helper_funs.R:21:76:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
                     do_gc = NULL, test_param = NULL, train_param = NULL) {
                                                                           ^
```
[R/helper_funs.R:22:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L22) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:24:59:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
    if (par_mode == "foreach" | par_mode == "sequential" |
                                                          ^
```
[R/helper_funs.R:29:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L29) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:34:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L34) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:37:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L37) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:39:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L39) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/helper_funs.R:41:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L41) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:44:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L44) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    {
    ^
```
[R/helper_funs.R:47:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L47) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/helper_funs.R:49:9:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L49) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        {
        ^
```
[R/helper_funs.R:56:9:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L56) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
        {
        ^
```
[R/helper_funs.R:64:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L64) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:66:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L66) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/helper_funs.R:69:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:74:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L74) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    {
    ^
```
[R/helper_funs.R:75:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L75) *style:* **Variable or function name should be snake_case.**
```r
      pred.train <- do.call(predict, args = pargs)
      ^~~~~~~~~~
```
[R/helper_funs.R:77:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L77) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    {
    ^
```
[R/helper_funs.R:78:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L78) *style:* **Variable or function name should be snake_case.**
```r
      pred.train <- do.call(pred_fun, args = pargs)
      ^~~~~~~~~~
```
[R/helper_funs.R:81:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L81) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:85:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L85) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      {
      ^
```
[R/helper_funs.R:86:9:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L86) *style:* **Variable or function name should be snake_case.**
```r
        err.try <- try(err_fun(nd[, response], pred.train))
        ^~~~~~~
```
[R/helper_funs.R:88:11:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L88) *style:* **Variable or function name should be snake_case.**
```r
          err.try <- NULL
          ^~~~~~~
```
[R/helper_funs.R:92:70:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L92) *style:* **Trailing whitespace is superfluous.**
```r
        current_res[[j]]$train <- err_fun(nd[, response], pred.train)
                                                                     ^~
```
[R/helper_funs.R:105:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L105) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:113:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L113) *style:* **Variable or function name should be snake_case.**
```r
    nd.bak <- nd
    ^~~~~~
```
[R/helper_funs.R:118:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L118) *style:* **Variable or function name should be snake_case.**
```r
    pred.test <- do.call(predict, args = pargs)
    ^~~~~~~~~
```
[R/helper_funs.R:120:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L120) *style:* **Variable or function name should be snake_case.**
```r
    pred.test <- do.call(pred_fun, args = pargs)
    ^~~~~~~~~
```
[R/helper_funs.R:123:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L123) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:127:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L127) *style:* **Variable or function name should be snake_case.**
```r
      err.try <- try(err_fun(nd[, response], pred.test))
      ^~~~~~~
```
[R/helper_funs.R:129:9:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L129) *style:* **Variable or function name should be snake_case.**
```r
        err.try <- NULL
        ^~~~~~~
```
[R/helper_funs.R:133:66:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L133) *style:* **Trailing whitespace is superfluous.**
```r
      current_res[[j]]$test <- err_fun(nd[, response], pred.test)
                                                                 ^~
```
[R/helper_funs.R:143:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L143) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:155:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L155) *style:* **Variable or function name should be snake_case.**
```r
      imp.temp <- imp_one_rep
      ^~~~~~~~
```
[R/helper_funs.R:156:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L156) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/helper_funs.R:169:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L169) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/helper_funs.R:179:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L179) *style:* **Variable or function name should be snake_case.**
```r
            pred.test <- do.call(predict, args = pargs)
            ^~~~~~~~~
```
[R/helper_funs.R:181:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L181) *style:* **Variable or function name should be snake_case.**
```r
            pred.test <- do.call(pred_fun, args = pargs)
            ^~~~~~~~~
```
[R/helper_funs.R:184:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L184) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~~~
```
[R/helper_funs.R:187:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L187) *style:* **Variable or function name should be snake_case.**
```r
            permut.err <- try(err_fun(nd[, response], pred.test))
            ^~~~~~~~~~
```
[R/helper_funs.R:193:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L193) *style:* **Lines should not be more than 80 characters.**
```r
              # as.list( unlist(res[[i]][[j]]$test) - unlist(permut.err) ) (apply '-' to
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:194:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L194) *style:* **Lines should not be more than 80 characters.**
```r
              # corresponding list elements; only works if all list elements are scalars)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:197:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L197) *style:* **Variable or function name should be snake_case.**
```r
            permut.err <- err_fun(nd[, response], pred.test)
            ^~~~~~~~~~
```
[R/helper_funs.R:200:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L200) *style:* **Lines should not be more than 80 characters.**
```r
            # as.list( unlist(res[[i]][[j]]$test) - unlist(permut.err) ) (apply '-' to
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:201:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L201) *style:* **Lines should not be more than 80 characters.**
```r
            # corresponding list elements; only works if all list elements are scalars)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:206:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L206) *style:* **Trailing whitespace is superfluous.**
```r
      current_impo[[j]] <- as.data.frame(t(sapply(imp.temp, function(y)
                                                                       ^
```
[R/helper_funs.R:207:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L207) *style:* **Trailing whitespace is superfluous.**
```r
        sapply(as.data.frame(t(sapply(y, as.data.frame))), function(x)
                                                                      ^
```
[R/helper_funs.R:212:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L212) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:215:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L215) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:222:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L222) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:226:77:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L226) *style:* **Trailing whitespace is superfluous.**
```r
#' @description Runs model fitting, error estimation and variable importance
                                                                            ^
```
[R/helper_funs.R:233:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L233) *style:* **Trailing whitespace is superfluous.**
```r
runreps <- function(current_sample = NULL, data = NULL, formula = NULL,
                                                                       ^
```
[R/helper_funs.R:234:68:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L234) *style:* **Trailing whitespace is superfluous.**
```r
                    model_args = NULL, par_cl = NULL, do_gc = NULL,
                                                                   ^
```
[R/helper_funs.R:236:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L236) *style:* **Trailing whitespace is superfluous.**
```r
                    do_try = NULL, model_fun = NULL, error_fold = NULL,
                                                                       ^
```
[R/helper_funs.R:240:76:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L240) *style:* **Trailing whitespace is superfluous.**
```r
                    current_impo = NULL, pred_args = NULL, progress = NULL,
                                                                           ^
```
[R/helper_funs.R:241:69:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L241) *style:* **Trailing whitespace is superfluous.**
```r
                    pooled_obs_train = NULL, pooled_obs_test = NULL,
                                                                    ^
```
[R/helper_funs.R:242:46:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L242) *style:* **Commas should always have a space after.**
```r
                    pooled_pred_train = NULL,response = NULL,
                                             ^
```
[R/helper_funs.R:242:62:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L242) *style:* **Trailing whitespace is superfluous.**
```r
                    pooled_pred_train = NULL,response = NULL,
                                                             ^
```
[R/helper_funs.R:248:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L248) *style:* **Variable or function name should be snake_case.**
```r
  currentPooled.err <- NULL
  ^~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:249:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L249) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:256:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L256) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:262:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L262) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:263:65:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L263) *style:* **Trailing whitespace is superfluous.**
```r
  # this ensures that runfolds finds all objects which have been
                                                                ^
```
[R/helper_funs.R:266:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L266) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:267:58:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L267) *style:* **Trailing whitespace is superfluous.**
```r
  if (par_mode == "foreach" | par_mode == "sequential" &&
                                                         ^
```
[R/helper_funs.R:271:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L271) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:272:47:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L272) *style:* **Trailing whitespace is superfluous.**
```r
  map(seq_along(current_sample), function(rep)
                                              ^
```
[R/helper_funs.R:276:61:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L276) *style:* **Trailing whitespace is superfluous.**
```r
             error_fold = error_fold, error_rep = error_rep,
                                                            ^
```
[R/helper_funs.R:277:50:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L277) *style:* **Trailing whitespace is superfluous.**
```r
             imp_permutations = imp_permutations,
                                                 ^
```
[R/helper_funs.R:278:44:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L278) *style:* **Trailing whitespace is superfluous.**
```r
             imp_variables = imp_variables,
                                           ^
```
[R/helper_funs.R:280:61:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L280) *style:* **Trailing whitespace is superfluous.**
```r
             err_train = err_train, importance = importance,
                                                            ^
```
[R/helper_funs.R:281:40:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L281) *style:* **Trailing whitespace is superfluous.**
```r
             current_res = current_res,
                                       ^
```
[R/helper_funs.R:282:74:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L282) *style:* **Trailing whitespace is superfluous.**
```r
             pred_args = pred_args, response = response, par_cl = par_cl,
                                                                         ^
```
[R/helper_funs.R:283:51:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L283) *style:* **Trailing whitespace is superfluous.**
```r
             coords = coords, progress = progress,
                                                  ^
```
[R/helper_funs.R:284:50:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L284) *style:* **Trailing whitespace is superfluous.**
```r
             pooled_obs_train = pooled_obs_train,
                                                 ^
```
[R/helper_funs.R:285:48:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L285) *style:* **Trailing whitespace is superfluous.**
```r
             pooled_obs_test = pooled_obs_test,
                                               ^
```
[R/helper_funs.R:287:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L287) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:289:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L289) *style:* **Lines should not be more than 80 characters.**
```r
  # http://stackoverflow.com/questions/32557131/adding-a-vector-to-each-sublist-within-a-list-r
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:290:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L290) *style:* **Lines should not be more than 80 characters.**
```r
  # http://stackoverflow.com/questions/43963683/r-flexible-passing-of-sublists-to-following-function
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:292:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L292) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:296:52:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L296) *style:* **Trailing whitespace is superfluous.**
```r
    ### get mean from all impo results of all folds
                                                   ^
```
[R/helper_funs.R:298:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L298) *style:* **Lines should not be more than 80 characters.**
```r
    ### http://stackoverflow.com/questions/18371187/element-wise-mean-for-a-list-of-dataframes-with-na
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:302:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L302) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:303:41:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L303) *style:* **Trailing whitespace is superfluous.**
```r
  pooled_only <- runfolds_merged[c(1:4)]
                                        ^
```
[R/helper_funs.R:304:64:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L304) *style:* **Trailing whitespace is superfluous.**
```r
  pooled_only <- sapply(unique(names(pooled_only)), function(x)
                                                               ^
```
[R/helper_funs.R:305:76:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L305) *style:* **Trailing whitespace is superfluous.**
```r
    unname(unlist(pooled_only[names(pooled_only) == x])), simplify = FALSE)
                                                                           ^~~
```
[R/helper_funs.R:306:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L306) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:312:46:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L312) *style:* **Trailing whitespace is superfluous.**
```r
        lev[pooled_only$pooled_obs_train] %>%
                                             ^
```
[R/helper_funs.R:314:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L314) *style:* **Lines should not be more than 80 characters.**
```r
        # pooled_only$pooled_obs_train <- factor(lev[pooled_only$pooled_obs_train], levels = lev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:316:43:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L316) *style:* **Trailing whitespace is superfluous.**
```r
      lev[pooled_only$pooled_obs_test] %>%
                                          ^
```
[R/helper_funs.R:318:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L318) *style:* **Lines should not be more than 80 characters.**
```r
      # pooled_only$pooled_obs_test <- factor(lev[pooled_only$pooled_obs_test], levels = lev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:321:49:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L321) *style:* **Trailing whitespace is superfluous.**
```r
          lev[pooled_only$pooled_pred_train] %>%
                                                ^
```
[R/helper_funs.R:323:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L323) *style:* **Lines should not be more than 80 characters.**
```r
          # pooled_only$pooled_pred_train <- factor(lev[pooled_only$pooled_pred_train], levels = lev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:325:45:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L325) *style:* **Trailing whitespace is superfluous.**
```r
        lev[pooled_only$pooled_obs_test] %>%
                                            ^
```
[R/helper_funs.R:327:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L327) *style:* **Lines should not be more than 80 characters.**
```r
        # pooled_only$pooled_pred_test <- factor(lev[pooled_only$pooled_pred_test], levels = lev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:329:6:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L329) *style:* **Trailing whitespace is superfluous.**
```r
    }
     ^
```
[R/helper_funs.R:330:5:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L330) *style:* **Variable or function name should be snake_case.**
```r
    pooled.err_train <- NULL
    ^~~~~~~~~~~~~~~~
```
[R/helper_funs.R:332:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L332) *style:* **Variable or function name should be snake_case.**
```r
      pooled.err_train <- err_fun(pooled_only$pooled_obs_train,
      ^~~~~~~~~~~~~~~~
```
[R/helper_funs.R:332:64:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L332) *style:* **Trailing whitespace is superfluous.**
```r
      pooled.err_train <- err_fun(pooled_only$pooled_obs_train,
                                                               ^
```
[R/helper_funs.R:335:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L335) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:336:35:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L336) *style:* **Trailing whitespace is superfluous.**
```r
    list(train = pooled.err_train,
                                  ^
```
[R/helper_funs.R:338:59:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L338) *style:* **Trailing whitespace is superfluous.**
```r
                        pooled_only$pooled_pred_test)) %>%
                                                          ^
```
[R/helper_funs.R:339:19:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L339) *style:* **Trailing whitespace is superfluous.**
```r
      unlist() %>%
                  ^
```
[R/helper_funs.R:340:14:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L340) *style:* **Variable or function name should be snake_case.**
```r
      t() -> currentPooled.err
             ^~~~~~~~~~~~~~~~~
```
[R/helper_funs.R:341:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L341) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:346:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L346) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:347:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L347) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if ((do_gc >= 1) & (do_gc < 2)) {
      ^
```
[R/helper_funs.R:350:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L350) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:351:80:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L351) *style:* **Trailing whitespace is superfluous.**
```r
  # set current_impo to NULL to prevent false importance output (resamp object)
                                                                               ^
```
[R/helper_funs.R:352:19:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L352) *style:* **Trailing whitespace is superfluous.**
```r
  # if not desired
                  ^
```
[R/helper_funs.R:356:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L356) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:357:51:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L357) *style:* **Trailing whitespace is superfluous.**
```r
  return(list(error = runfolds_merged$current_res,
                                                  ^
```
[R/helper_funs.R:366:38:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L366) *style:* **Variable or function name should be snake_case.**
```r
transfer_parallel_output <- function(myRes = NULL, res = NULL, impo = NULL,
                                     ^~~~~
```
[R/helper_funs.R:367:38:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L367) *style:* **Variable or function name should be snake_case.**
```r
                                     pooled.err = NULL) {
                                     ^~~~~~~~~~
```
[R/helper_funs.R:368:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L368) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:371:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L371) *style:* **Variable or function name should be snake_case.**
```r
      pooled.err <- myRes[[i]]$pooled.error
      ^~~~~~~~~~
```
[R/helper_funs.R:375:7:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L375) *style:* **Variable or function name should be snake_case.**
```r
      pooled.err <- rbind(pooled.err, myRes[[i]]$pooled.error)
      ^~~~~~~~~~
```
[R/helper_funs.R:380:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/helper_funs.R#L380) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:3:61:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L3) *style:* **Trailing whitespace is superfluous.**
```r
#' `resample_strat_uniform` draws a stratified random sample
                                                            ^
```
[R/resample.R:4:61:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#' (with or without replacement) from the samples in `data`.
                                                            ^
```
[R/resample.R:5:65:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
#' Stratification is over the levels of `data[,param$response]`.
                                                                ^
```
[R/resample.R:7:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L7) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:9:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L9) *style:* **Trailing whitespace is superfluous.**
```r
#' @param param a list with the following components: `strat` is either
                                                                       ^
```
[R/resample.R:11:64:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
#'  levels, or a vector of type factor and length `nrow(data)`;
                                                               ^
```
[R/resample.R:12:65:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
#'  `n` is a numeric value specifying the size of the subsample;
                                                                ^
```
[R/resample.R:14:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L14) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^~
```
[R/resample.R:16:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:17:58:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L17) *style:* **Trailing whitespace is superfluous.**
```r
#' @details If `param$replace=FALSE`, a subsample of size
                                                         ^
```
[R/resample.R:18:56:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
#' `min(param$n,nrow(data))` will be drawn from `data`.
                                                       ^
```
[R/resample.R:20:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:22:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:25:40:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
#' d <- resample_strat_uniform(ecuador,
                                       ^
```
[R/resample.R:29:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L29) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:31:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L31) *style:* **Trailing whitespace is superfluous.**
```r
resample_strat_uniform <- function(data, param = list(strat = "class",
                                                                      ^
```
[R/resample.R:32:68:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
                                                      nstrat = Inf,
                                                                   ^
```
[R/resample.R:34:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L34) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
{
^
```
[R/resample.R:37:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L37) *style:* **Lines should not be more than 80 characters.**
```r
    warning(paste0("'param$response' argument in 'resample_strat_uniform' ", # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/resample.R:38:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L38) *style:* **Lines should not be more than 80 characters.**
```r
                   "renamed to 'strat';\n modify your code accordingly")) # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/resample.R:41:4:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  }
   ^
```
[R/resample.R:42:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L42) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:53:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L53) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:54:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L54) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  stopifnot((length(param$strat) == 1) | (length(param$strat) == nrow(data)))
            ^
```
[R/resample.R:61:73:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L61) *style:* **Trailing whitespace is superfluous.**
```r
    stop("'strat' must either be a vector of factor type, or the name of
                                                                        ^
```
[R/resample.R:64:79:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L64) *style:* **Trailing whitespace is superfluous.**
```r
  # Each factor level must have at least one sample, otherwise sampling within
                                                                              ^
```
[R/resample.R:69:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:73:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L73) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:77:59:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L77) *style:* **Trailing whitespace is superfluous.**
```r
    wh <- sample(which(strat == lev), size = param$nstrat,
                                                          ^
```
[R/resample.R:87:49:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L87) *style:* **Trailing whitespace is superfluous.**
```r
#' `resample_uniform` draws a random (sub)sample
                                                ^
```
[R/resample.R:89:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L89) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:90:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L90) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:92:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L92) *style:* **Trailing whitespace is superfluous.**
```r
#' @param param a list with the following components: `n` is a numeric
                                                                      ^
```
[R/resample.R:93:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L93) *style:* **Trailing whitespace is superfluous.**
```r
#' value specifying the size of the subsample; `replace` determines if
                                                                      ^
```
[R/resample.R:95:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L95) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:97:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L97) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:98:58:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L98) *style:* **Trailing whitespace is superfluous.**
```r
#' @details If `param$replace=FALSE`, a subsample of size
                                                         ^
```
[R/resample.R:99:56:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L99) *style:* **Trailing whitespace is superfluous.**
```r
#' `min(param$n,nrow(data))` will be drawn from `data`.
                                                       ^
```
[R/resample.R:101:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L101) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:103:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L103) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:109:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L109) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:119:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L119) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:123:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L123) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:126:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L126) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/resample.R:132:48:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L132) *style:* **Trailing whitespace is superfluous.**
```r
#' `resample_factor` draws a random (sub)sample
                                               ^
```
[R/resample.R:133:73:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L133) *style:* **Trailing whitespace is superfluous.**
```r
#' (with or without replacement) of the groups or clusters identified by
                                                                        ^
```
[R/resample.R:135:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L135) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:137:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L137) *style:* **Trailing whitespace is superfluous.**
```r
#' @param param a list with the following components: `fac` is a factor
                                                                       ^
```
[R/resample.R:138:68:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L138) *style:* **Trailing whitespace is superfluous.**
```r
#' variable of length `nrow(data)` or the name of a factor variable
                                                                   ^
```
[R/resample.R:139:64:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L139) *style:* **Trailing whitespace is superfluous.**
```r
#' in `data`; `n` is a numeric value specifying the size of the
                                                               ^
```
[R/resample.R:140:74:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L140) *style:* **Trailing whitespace is superfluous.**
```r
#' subsample (in terms of groups, not observations); `replace` determines
                                                                         ^
```
[R/resample.R:142:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L142) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:144:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L144) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:145:53:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L145) *style:* **Trailing whitespace is superfluous.**
```r
#' @details If `param$replace=FALSE`, a subsample of
                                                    ^
```
[R/resample.R:146:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L146) *style:* **Trailing whitespace is superfluous.**
```r
#' `min(param$n,nlevel(data[,fac]))` groups will be drawn from `data`.
                                                                      ^
```
[R/resample.R:148:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L148) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:150:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L150) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:156:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L156) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:158:71:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L158) *style:* **Trailing whitespace is superfluous.**
```r
resample_factor <- function(data, param = list(fac = "class", n = Inf,
                                                                      ^
```
[R/resample.R:166:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L166) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  stopifnot((length(param$fac) == 1) || (length(param$fac) == nrow(data)))
            ^
```
[R/resample.R:173:73:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/resample.R#L173) *style:* **Trailing whitespace is superfluous.**
```r
    stop("'fac' must either be a vector of factor type, or the name of a
                                                                        ^
```
[R/sperrorest_data.R:5:74:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
#' Data set created by Jannes Muenchow, University of Erlangen-Nuremberg,
                                                                         ^
```
[R/sperrorest_data.R:7:79:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L7) *style:* **Trailing whitespace is superfluous.**
```r
#' These data should be cited as Muenchow et al. (2012) (see reference below).
                                                                              ^
```
[R/sperrorest_data.R:8:80:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
#' This publication also contains additional information on data collection and
                                                                               ^
```
[R/sperrorest_data.R:9:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' the geomorphology of the area. The data set provded here is (a subset of) the
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_data.R:9:81:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L9) *style:* **Trailing whitespace is superfluous.**
```r
#' the geomorphology of the area. The data set provded here is (a subset of) the
                                                                                ^
```
[R/sperrorest_data.R:10:77:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L10) *style:* **Trailing whitespace is superfluous.**
```r
#' one from the 'natural' part of the RBSF area and corresponds to landslide
                                                                            ^
```
[R/sperrorest_data.R:13:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:16:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:18:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:19:62:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
#' @format a `data.frame` with point samples of landslide and
                                                             ^
```
[R/sperrorest_data.R:21:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:22:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
#' @references Muenchow, J., Brenning, A., Richter, M., 2012. Geomorphic process
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_data.R:22:81:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
#' @references Muenchow, J., Brenning, A., Richter, M., 2012. Geomorphic process
                                                                                ^
```
[R/sperrorest_data.R:23:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
#' rates of landslides along a humidity gradient in the tropical Andes.
                                                                       ^
```
[R/sperrorest_data.R:26:72:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L26) *style:* **Trailing whitespace is superfluous.**
```r
#' Brenning, A., 2005. Spatial prediction models for landslide hazards:
                                                                       ^
```
[R/sperrorest_data.R:27:38:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
#' review, comparison and evaluation.
                                     ^
```
[R/sperrorest_data.R:30:13:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#' @examples
            ^
```
[R/sperrorest_data.R:35:55:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L35) *style:* **Trailing whitespace is superfluous.**
```r
#' fit <- rpart(slides ~ dem + slope + hcurv + vcurv +
                                                      ^
```
[R/sperrorest_data.R:43:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_data.R#L43) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:4:78:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#' Calculate a variety of accuracy measures from observations and predictions
                                                                             ^
```
[R/sperrorest_error.R:8:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:10:79:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L10) *style:* **Trailing whitespace is superfluous.**
```r
#' @param pred factor, logical, or numeric vector with predictions. Must be of
                                                                              ^
```
[R/sperrorest_error.R:11:68:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
#' same type as `obs` with the exception that `pred` may be numeric
                                                                   ^
```
[R/sperrorest_error.R:13:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:14:78:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L14) *style:* **Trailing whitespace is superfluous.**
```r
#' @return A list with (currently) the following components, depending on the
                                                                             ^
```
[R/sperrorest_error.R:16:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:17:75:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L17) *style:* **Trailing whitespace is superfluous.**
```r
#' \item{'hard' classification}{misclassification error, overall accuracy;
                                                                          ^
```
[R/sperrorest_error.R:18:78:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
#' if two classes, sensitivity, specificity, positive predictive value (PPV),
                                                                             ^
```
[R/sperrorest_error.R:20:77:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
#' \item{'soft' classification}{area under the ROC curve, error and accuracy
                                                                            ^
```
[R/sperrorest_error.R:21:74:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
#' at a obs>0.5 dichotomization, false-positive rate (FPR; 1-specificity)
                                                                         ^
```
[R/sperrorest_error.R:22:74:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
#' at 70, 80 and 90 percent sensitivity, true-positive rate (sensitivity)
                                                                         ^
```
[R/sperrorest_error.R:24:67:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
#' \item{regression}{bias, standard deviation, mean squared error,
                                                                  ^
```
[R/sperrorest_error.R:25:56:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
#' MAD ([mad()]), median, interquartile range ([IQR()])
                                                       ^
```
[R/sperrorest_error.R:27:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:28:65:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
#' @note `NA` values are currently not handled by this function,
                                                                ^
```
[R/sperrorest_error.R:30:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:32:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:42:3:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:47:24:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L47) *style:* **Trailing whitespace is superfluous.**
```r
    if (length(x) == 0)
                       ^
```
[R/sperrorest_error.R:52:24:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L52) *style:* **Trailing whitespace is superfluous.**
```r
    if (length(x) == 0)
                       ^
```
[R/sperrorest_error.R:56:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L56) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/sperrorest_error.R:64:1:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L64) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/sperrorest_error.R:75:25:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L75) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        ntruepos <- sum((obs == levels(obs)[2]) & (pred == levels(obs)[2]))
                        ^
```
[R/sperrorest_error.R:76:25:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L76) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        ntrueneg <- sum((obs == levels(obs)[1]) & (pred == levels(obs)[1]))
                        ^
```
[R/sperrorest_error.R:77:36:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L77) *style:* **Put spaces around all infix operators.**
```r
        err$sensitivity <- ntruepos/npos
                                  ~^~
```
[R/sperrorest_error.R:78:36:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L78) *style:* **Put spaces around all infix operators.**
```r
        err$specificity <- ntrueneg/nneg
                                  ~^~
```
[R/sperrorest_error.R:84:22:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L84) *style:* **Put spaces around all infix operators.**
```r
        pexp <- (npos/n) * (npospred/n) + (nneg/n) * (nnegpred/n)
                    ~^~
```
[R/sperrorest_error.R:84:37:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L84) *style:* **Put spaces around all infix operators.**
```r
        pexp <- (npos/n) * (npospred/n) + (nneg/n) * (nnegpred/n)
                                   ~^~
```
[R/sperrorest_error.R:84:48:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L84) *style:* **Put spaces around all infix operators.**
```r
        pexp <- (npos/n) * (npospred/n) + (nneg/n) * (nnegpred/n)
                                              ~^~
```
[R/sperrorest_error.R:84:63:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L84) *style:* **Put spaces around all infix operators.**
```r
        pexp <- (npos/n) * (npospred/n) + (nneg/n) * (nnegpred/n)
                                                             ~^~
```
[R/sperrorest_error.R:87:50:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L87) *style:* **Put spaces around all infix operators.**
```r
        } else err$kappa <- (err$accuracy - pexp)/(1 - pexp)
                                                ~^~
```
[R/sperrorest_error.R:87:51:](https://github.com/pat-s/sperrorest/blob/94e4af6ca3e14d340a67a0bc72d58ca0fbc9096a/R/sperrorest_error.R#L87) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        } else err$kappa <- (err$accuracy - pexp)/(1 - pexp)
                                                  ^
```


Just use `max()` and `min()` here? 😄


весь контент внутри каждого подблока (тип, цвет, фио и тд в центровщик)
и можно сделать эти подблоки бэм блоками, а не элементами
блок type
внутри центровщик, далее заголовок и инпуты с лейблами
и, скорее всего для инпутов и лейблов понадобится доб обертка - для флексов. Можешь пока не делать, а потом добавить ее.

Сделать эти блочки элементами от формы это не ошибка. Просто придется стилизовать все в одном файле, а он тогда будет адово длинный..спагетти код))
Но можно и как ты сделала оставить, порешай..тогда надо будет названия переделать немного, например -form__type, form__color и тд


local variable


doesn't belong here, probably exist elsewhere


should be in it's own commit


separate commit?


@peterhoeg: if we're speaking of ffmpeg-full, I see no change in the URL scheme for a year at least.  Also, the current hash is correct, I believe, as of 9b605ca04.


I'm pretty sure it can be removed, I don't see any reason why would we need it. I also searched the code for `signin` and it seems that we only use a `signin` template, no redirects etc.


[R/RLearner_oneclass_ksvm.R:8:75:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/R/RLearner_oneclass_ksvm.R#L8) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
      makeDiscreteLearnerParam(id = "type", default = "one-svc", values = c("one-svc")),
                                                                          ^
```
[R/RLearner_oneclass_ksvm.R:23:28:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/R/RLearner_oneclass_ksvm.R#L23) *style:* **Only use double-quotes.**
```r
    par.vals = list(type = 'one-svc'),
                           ^~~~~~~~~
```
[inst/makeData.R:39:1:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/inst/makeData.R#L39) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[inst/makeData.R:45:34:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/inst/makeData.R#L45) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/helper_objects.R:60:1:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/helper_objects.R#L60) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[tests/testthat/helper_objects.R:66:34:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/helper_objects.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/test_base_checkData.R:53:60:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L53) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", negative = "FALSE")$task.desc$positive, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:54:60:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L54) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", positive = "FALSE")$task.desc$negative, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:55:64:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L55) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                               ^~
```
[tests/testthat/test_base_checkData.R:55:108:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L55) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:63:3:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L63) *style:* **Variable or function name should be dotted.case.**
```r
  oneclass.df.TRUE = oneclass.df[oneclass.df$normal == "TRUE", , drop = TRUE]
  ^~~~~~~~~~~~~~~~
```
[tests/testthat/test_base_checkData.R:65:76:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L65) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:65:143:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L65) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:66:65:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_error(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "TRUE"), "Cannot add second class level when 'negative' is equal to the only class level and no 'positive' is specified!")
                                                                ^~
```
[tests/testthat/test_base_checkData.R:67:76:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L67) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "FALSE")$env$data$normal), c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:68:76:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_checkData.R#L68) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "Anomaly")$env$data$normal), c("TRUE", "Anomaly"))
                                                                           ^~
```
[tests/testthat/test_base_oneclass.R:5:40:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_base_oneclass.R#L5) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
  expect_equal(getTaskTargetNames(oc), c("normal"))
                                       ^
```
[tests/testthat/test_oneclass_ksvm.R:18:47:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_oneclass_ksvm.R#L18) *style:* **Commas should always have a space after.**
```r
    pars = list(x = as.matrix(oneclass.train[,1:4]))
                                              ^
```
[tests/testthat/test_oneclass_ksvm.R:25:66:](https://github.com/mlr-org/mlr/blob/65507640b4000b10f23cc7ea878c9387aa618fdb/tests/testthat/test_oneclass_ksvm.R#L25) *style:* **Commas should always have a space after.**
```r
    old.predicts.list[[i]] = kernlab::predict(m1, oneclass.test[,1:4], type = "response")
                                                                 ^
```


[inst/makeData.R:39:1:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/inst/makeData.R#L39) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[inst/makeData.R:45:34:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/inst/makeData.R#L45) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/helper_objects.R:60:1:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/helper_objects.R#L60) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[tests/testthat/helper_objects.R:66:34:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/helper_objects.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/test_base_checkData.R:53:60:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L53) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", negative = "FALSE")$task.desc$positive, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:54:60:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L54) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", positive = "FALSE")$task.desc$negative, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:55:64:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L55) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                               ^~
```
[tests/testthat/test_base_checkData.R:55:108:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L55) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:63:3:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L63) *style:* **Variable or function name should be dotted.case.**
```r
  oneclass.df.TRUE = oneclass.df[oneclass.df$normal == "TRUE", , drop = TRUE]
  ^~~~~~~~~~~~~~~~
```
[tests/testthat/test_base_checkData.R:65:76:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L65) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:65:143:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L65) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:66:65:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_error(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "TRUE"), "Cannot add second class level when 'negative' is equal to the only class level and no 'positive' is specified!")
                                                                ^~
```
[tests/testthat/test_base_checkData.R:67:76:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L67) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "FALSE")$env$data$normal), c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:68:76:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_checkData.R#L68) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "Anomaly")$env$data$normal), c("TRUE", "Anomaly"))
                                                                           ^~
```
[tests/testthat/test_base_oneclass.R:5:40:](https://github.com/mlr-org/mlr/blob/859522cd902add5e8f72ea546b58aa5c87a6cac4/tests/testthat/test_base_oneclass.R#L5) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
  expect_equal(getTaskTargetNames(oc), c("normal"))
                                       ^
```


any reason we are making this change?


абзац и кнопку в обертку-блок, внутри центровщик еще


[inst/makeData.R:39:1:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/inst/makeData.R#L39) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[inst/makeData.R:45:34:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/inst/makeData.R#L45) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/helper_objects.R:60:1:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/helper_objects.R#L60) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[tests/testthat/helper_objects.R:66:34:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/helper_objects.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/test_base_checkData.R:53:60:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L53) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", negative = "FALSE")$task.desc$positive, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:54:60:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L54) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", positive = "FALSE")$task.desc$negative, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:55:64:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L55) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                               ^~
```
[tests/testthat/test_base_checkData.R:55:108:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L55) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:63:3:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L63) *style:* **Variable or function name should be dotted.case.**
```r
  oneclass.df.TRUE = oneclass.df[oneclass.df$normal == "TRUE", , drop = TRUE]
  ^~~~~~~~~~~~~~~~
```
[tests/testthat/test_base_checkData.R:65:76:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L65) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:65:143:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L65) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:66:65:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_error(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "TRUE"), "Cannot add second class level when 'negative' is equal to the only class level and no 'positive' is specified!")
                                                                ^~
```
[tests/testthat/test_base_checkData.R:67:76:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L67) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "FALSE")$env$data$normal), c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:68:76:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_checkData.R#L68) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "Anomaly")$env$data$normal), c("TRUE", "Anomaly"))
                                                                           ^~
```
[tests/testthat/test_base_oneclass.R:5:40:](https://github.com/mlr-org/mlr/blob/66c42e2f6878c1390f63897b88b6be9e054abe4b/tests/testthat/test_base_oneclass.R#L5) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
  expect_equal(getTaskTargetNames(oc), c("normal"))
                                       ^
```


oh, I forgot to remove that


This removed most of my changes with the map.Why?!!


TeamCity OTA+ :: libats :: ci [Build 83](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=33196&buildTypeId=libats_Ci) is now running


`import csv`


Добавил ссылки логотипа страниц "catalog", "form" на главную index.html.
Добавил обертки блокам на страницах "catalog", "form".


Fix


:+1:

Il faut mettre `newline=''` pour laisser `csv` s'en occuper (voir la doc)


메인에 함수 SetBlockInternetFromRegistry 주석처리 되있는 부분 해제 부탁드립니다.

감사합니다.


java


`int()` est mieux que `math.floor()` car ce dernier retourne un nombre flottant.


Bluemix [toolchain](https://dev-console.stage1.bluemix.net/devops/toolchains/e43f0a94-0ba9-4360-a192-098e33f0a0d0 "UI-ys1dev-SimpleTC0529T050746"): [Delivery Pipeline](https://dev-console.stage1.bluemix.net/devops/pipelines/8c20adc6-1d77-45e5-a7d1-b23c35bf40ed "UI-ys1dev-SimpleTC0529T050746") deployed [UI-ys1dev-SimpleTC0529T050746](https://github.com/idsb3t1/UI-ys1dev-SimpleTC0529T050746/releases/tag/deploy-ibm-ys1-us-south-idsb3t3-us.ibm.com-dev-20170529-091315 "deploy-ibm-ys1-us-south-idsb3t3-us.ibm.com-dev-20170529-091315") to [dev](https://console.stage1.bluemix.net/apps/2586b03d-2109-4828-a621-f2f33328e63a?env_id=ibm:ys1:us-south "ibm:ys1:us-south:idsb3t3@us.ibm.com:dev"), including this commit


No worries 😀 let me know if it works for you


Done, thanks :)


Quel est l'intérêt de passer par un `dict` ici?


TeamCity OTA+ :: libats :: ci [Build 83](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=33196&buildTypeId=libats_Ci) outcome was **SUCCESS**
Summary: Running Build time: 00:07:53


In any case, if one is overriding someone's code (like reverting etc.), it's certainly good to let the person know about it at least, especially if there's only short time between those changes.

The amount of time to wait (if any) depends on the particular situation, I believe.


@cpg I wanted to understand what exactly does `Server.create()` do? And what was the problem that this commit is trying to fix?


linting


csv?


j'ai essayé et ça n'a pas marché c'est la raison pour laquelle j'ai rajouter le \n


va-t-il également faire un arrondi vers le bas ?


删除仓库


You can rewrite the comments as following:
```
; multiply: (-2) * (2)
; multiply: (-2) * (-40)


[R/RLearner_oneclass_ksvm.R:8:75:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/R/RLearner_oneclass_ksvm.R#L8) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
      makeDiscreteLearnerParam(id = "type", default = "one-svc", values = c("one-svc")),
                                                                          ^
```
[R/RLearner_oneclass_ksvm.R:23:28:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/R/RLearner_oneclass_ksvm.R#L23) *style:* **Only use double-quotes.**
```r
    par.vals = list(type = 'one-svc'),
                           ^~~~~~~~~
```
[inst/makeData.R:39:1:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/inst/makeData.R#L39) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[inst/makeData.R:45:34:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/inst/makeData.R#L45) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/helper_objects.R:60:1:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/helper_objects.R#L60) *style:* **Variable or function name should be dotted.case.**
```r
Sigma = matrix(c(2, 0, 0, 5, 0, 0), 2, 2)
^~~~~
```
[tests/testthat/helper_objects.R:66:34:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/helper_objects.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
anomaly = matrix(sample(size = 50*2, x = 20:100, replace = TRUE), 50, 2)
                                ~^~
```
[tests/testthat/test_base_checkData.R:53:60:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L53) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", negative = "FALSE")$task.desc$positive, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:54:60:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L54) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_equal(makeOneClassTask(data = oneclass.df, target ="normal", positive = "FALSE")$task.desc$negative, "TRUE")
                                                           ^~
```
[tests/testthat/test_base_checkData.R:55:64:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L55) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                               ^~
```
[tests/testthat/test_base_checkData.R:55:108:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L55) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(makeOneClassTask(data = oneclass.df, target ="normal")$task.desc$class.levels, c("TRUE","FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:63:3:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L63) *style:* **Variable or function name should be dotted.case.**
```r
  oneclass.df.TRUE = oneclass.df[oneclass.df$normal == "TRUE", , drop = TRUE]
  ^~~~~~~~~~~~~~~~
```
[tests/testthat/test_base_checkData.R:65:76:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L65) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:65:143:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L65) *style:* **Commas should always have a space after.**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "FALSE")$env$data$normal),c("TRUE", "FALSE"))
                                                                                ^
```
[tests/testthat/test_base_checkData.R:66:65:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L66) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_error(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "TRUE"), "Cannot add second class level when 'negative' is equal to the only class level and no 'positive' is specified!")
                                                                ^~
```
[tests/testthat/test_base_checkData.R:67:76:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L67) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", negative = "FALSE")$env$data$normal), c("TRUE", "FALSE"))
                                                                           ^~
```
[tests/testthat/test_base_checkData.R:68:76:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_checkData.R#L68) *style:* **Put spaces around all infix operators (except exponentiation).**
```r
  expect_set_equal(levels(makeOneClassTask(data = oneclass.df.TRUE, target ="normal", positive = "TRUE", negative = "Anomaly")$env$data$normal), c("TRUE", "Anomaly"))
                                                                           ^~
```
[tests/testthat/test_base_oneclass.R:5:40:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_base_oneclass.R#L5) *warning:* **Unneded concatenation of a constant. Remove the "c" call.**
```r
  expect_equal(getTaskTargetNames(oc), c("normal"))
                                       ^
```
[tests/testthat/test_oneclass_ksvm.R:17:47:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_oneclass_ksvm.R#L17) *style:* **Commas should always have a space after.**
```r
    pars = list(x = as.matrix(oneclass.train[,-3]))
                                              ^
```
[tests/testthat/test_oneclass_ksvm.R:22:66:](https://github.com/mlr-org/mlr/blob/339df2b99a1c1b245e86315ff0f619fa2f2bf1f2/tests/testthat/test_oneclass_ksvm.R#L22) *style:* **Commas should always have a space after.**
```r
    old.predicts.list[[i]] = kernlab::predict(m1, oneclass.test[,-3], type = "response")
                                                                 ^
```


In face, `addEventListener` has de-duplicated identical event-listeners. So here you just need declare 2 "static" functions:
``` coffeescript
staticHandlers =
    focus: (event) -> handlerStack.bubbleEvent "focus", event
    blur: (event) -> handlerStack.bubbleEvent "blur", event
```
and always use `addEventListener "focus", staticHandlers.focus, true`.

Doc: https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget-addEventListener ; "Multiple identical event listeners" in https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener


This commit broke the location retaining functionality. You can test it out by deploying this version to prod
and then going to the older history and deploying that to prod and you will see that it works fine. @hamir please take a look. "Bug Fixes" seems to introduce bugs ironically :P

![capture](https://cloud.githubusercontent.com/assets/8803127/26544039/20ef4c02-4415-11e7-9c43-ce0db0a3f373.PNG)


Added to #8


ss


Thank you @techAPJ


To have the cached version work on the changelog page as well, change line 429 in the patch with

$t_row = version_cache_row($t_id);
$b_skip = false;
if (!is_null($p_released) && $t_row['released'] != $p_released) $b_skip = true;
if (!is_null($p_obsolete) && $t_row['obsolete'] != $p_obsolete) $b_skip = true;
if (!$b_skip) {
                    $t_versions[] = $t_row;
}


can be done in one line:
`if err :=json.NewDecoder(configFile).Decode(&settings);err!=nil{`


error not handler, see comment above


Error non handled


error non handled


Sisi, ça fonctionne. https://repl.it/IVwj


We will need to rename all these method with proper name.
It was a bug in go-raml that didn't use the displayName when using ressourceType, it has been fixed I think


这里的genetic method指的就是前面一句话 (by collecting all test cases that contribute to coverage into a seed file queue,
 and all the test cases in this queue will be picked up as the template file for a new cycle of mutation)


Тут случайно, у меня просто ключ не определяет, чат из-за этого не работает, поэтому комментирую. в коммит случайно выгрузил.


En informatique, `int` ne fait jamais d'arrondi, il coupe. Mais, rien ne va mieux vous en convaincre qu'un test.


поправил


* `==` fixed in text commit,
* this all about 70a092f5


I do not like that this ID check is needed, I`ll try to get rid of it


тут таблица не так для админа, а как для тех.рука, потому что для него действия кастомны и создаются супер-админом. Поэтому сюда и вписал действия для админа. Так как в доке комментарий, что для админа в будущем могут быть также кастомные действия.


Bluemix [toolchain](https://dev-console.stage1.bluemix.net/devops/toolchains/c0eda2a5-1633-437f-9977-aa0002879483 "UI-ys1dev-KEEP-TC"): [Delivery Pipeline](https://dev-console.stage1.bluemix.net/devops/pipelines/3cd29727-c20a-4a43-b5cd-790be06ecb3e "UI-ys1dev-KEEP-TC") deployed [UI-ys1dev-KEEP-TC](https://github.com/TinaLindhqvist/UI-ys1dev-KEEP-TC/releases/tag/deploy-ibm-ys1-us-south-tinalindhqvist64-gmail.com-dev-20170529-092833 "deploy-ibm-ys1-us-south-tinalindhqvist64-gmail.com-dev-20170529-092833") to [dev](https://console.stage1.bluemix.net/apps/8f8b51c7-b64a-4dbb-892c-9e58701ef739?env_id=ibm:ys1:us-south "ibm:ys1:us-south:tinalindhqvist64@gmail.com:dev"), including this commit


Thanks a lot! The bug cost me several new white hairs


@tgxworld No problem, it was I who broke it while updating translations.

Still looking into why it did not take into account the [lang_map](https://github.com/discourse/discourse/blob/master/.tx/config#L3). 🤔


<!-- PMABOT:SOB -->
This commit is missing Signed-Off-By line to indicate that you agree with phpMyAdmin Developer's Certificate of Origin. Please check [contributing documentation](https://github.com/phpmyadmin/phpmyadmin/blob/master/CONTRIBUTING.md) for more information.


This seems like a good addition