[R/helper_funs.R:2:77:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/helper_funs.R:10:71:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L22) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:24:59:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L29) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/helper_funs.R:39:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L41) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:44:5:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L64) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:66:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:74:5:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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:77:5:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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:81:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L81) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:85:7:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L105) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:113:5:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L123) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:127:7:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L143) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:155:7:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L156) *style:* **Trailing whitespace is superfluous.**
```r

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

^~~~~~~~
```
[R/helper_funs.R:179:13:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L184) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~~~
```
[R/helper_funs.R:187:13:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L212) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/helper_funs.R:226:77:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L242) *style:* **Trailing whitespace is superfluous.**
```r
                    pooled_pred_train = NULL,response = NULL,
                                                             ^
```
[R/helper_funs.R:249:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L249) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/helper_funs.R:263:65:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L266) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:267:58:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L271) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:272:47:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L287) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:289:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L292) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:296:52:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L302) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:303:41:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L306) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:312:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L312) *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:314:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L314) *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:317:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L317) *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:319:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L319) *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:321:6:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L321) *style:* **Trailing whitespace is superfluous.**
```r
    }
     ^
```
[R/helper_funs.R:324:64:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L324) *style:* **Trailing whitespace is superfluous.**
```r
      pooled_err_train <- err_fun(pooled_only$pooled_obs_train,
                                                               ^
```
[R/helper_funs.R:327:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L327) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/helper_funs.R:328:35:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L328) *style:* **Trailing whitespace is superfluous.**
```r
    list(train = pooled_err_train,
                                  ^
```
[R/helper_funs.R:330:59:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L330) *style:* **Trailing whitespace is superfluous.**
```r
                        pooled_only$pooled_pred_test)) %>%
                                                          ^
```
[R/helper_funs.R:331:19:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L331) *style:* **Trailing whitespace is superfluous.**
```r
      unlist() %>%
                  ^
```
[R/helper_funs.R:333:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L333) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/helper_funs.R:343:80:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L343) *style:* **Trailing whitespace is superfluous.**
```r
  # set current_impo to NULL to prevent false importance output (resamp object)
                                                                               ^
```
[R/helper_funs.R:344:19:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L344) *style:* **Trailing whitespace is superfluous.**
```r
  # if not desired
                  ^
```
[R/helper_funs.R:348:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L348) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:349:51:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L349) *style:* **Trailing whitespace is superfluous.**
```r
  return(list(error = runfolds_merged$current_res,
                                                  ^
```
[R/helper_funs.R:360:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/helper_funs.R#L360) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/resample.R:3:61:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#' (with or without replacement) from the samples in `data`.
                                                            ^
```
[R/resample.R:5:66:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L7) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:9:72:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L14) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^~
```
[R/resample.R:16:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:17:58:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:22:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L22) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:25:40:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L29) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:31:71:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
                                                      nstrat = Inf,
                                                                   ^
```
[R/resample.R:34:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  }
   ^
```
[R/resample.R:42:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L42) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/resample.R:54:13:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/resample.R:77:59:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L89) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:90:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L90) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:92:71:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L95) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:97:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L97) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:98:58:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L101) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:103:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L103) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:109:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L109) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:119:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L119) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/resample.R:132:48:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L135) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:137:72:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L142) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:144:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L144) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:145:53:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L148) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:150:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L150) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:156:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/resample.R#L156) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:158:71:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_data.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:16:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_data.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:18:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_data.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:19:62:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_data.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:22:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_data.R#L43) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:4:78:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:10:79:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:14:78:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:17:75:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
#' \item{regression}{bias, standard deviation, mean squared error,
                                                                  ^
```
[R/sperrorest_error.R:25:52:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:28:65:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:32:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:42:3:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:47:24:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L56) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/sperrorest_error.R:75:25:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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/db9701fdeb169df5d3519479d2c4a1e33910d84a/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)
                                                  ^
```
[R/sperrorest_error.R:91:18:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L91) *warning:* **no visible global function definition for ‘prediction’**
```r
      predobj <- prediction(pred, obs)
                 ^~~~~~~~~~
```
[R/sperrorest_error.R:92:16:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L92) *warning:* **no visible global function definition for ‘performance’**
```r
      auroc <- performance(predobj, measure = "auc")@y.values[[1]]
               ^~~~~~~~~~~
```
[R/sperrorest_error.R:94:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L94) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/sperrorest_error.R:96:7:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L96) *warning:* **local variable ‘neg’ assigned but may not be used**
```r
      neg <- levels(obs)[1]
      ^~~
```
[R/sperrorest_error.R:97:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L97) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/sperrorest_error.R:98:25:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L98) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      err$error <- mean((obs == pos) != (pred >= 0.5))
                        ^
```
[R/sperrorest_error.R:100:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L100) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/sperrorest_error.R:101:79:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L101) *style:* **Trailing whitespace is superfluous.**
```r
      # internal functions for calculating false positive rate (1-specificity)
                                                                              ^
```
[R/sperrorest_error.R:105:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L105) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~~~~~
```
[R/sperrorest_error.R:114:30:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L114) *style:* **Trailing whitespace is superfluous.**
```r
      if (length(thrs) > 500)
                             ^
```
[R/sperrorest_error.R:116:1:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L116) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/sperrorest_error.R:117:76:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L117) *style:* **Trailing whitespace is superfluous.**
```r
      thr <- mmax(thrs[sapply(thrs, function(x) tpr(obs == pos, pred, npos,
                                                                           ^
```
[R/sperrorest_error.R:120:76:](https://github.com/pat-s/sperrorest/blob/db9701fdeb169df5d3519479d2c4a1e33910d84a/R/sperrorest_error.R#L120) *style:* **Trailing whitespace is superfluous.**
```r
      thr <- mmax(thrs[sapply(thrs, function(x) tpr(obs == pos, pred, npos,


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/cb9b4731-f625-49ba-aadf-0a06ec06502e "space-demo"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/27a598fd-a4a4-46f0-bd3b-e6dc488cf90c "space-demo") deployed [space-demo](https://github.com/snorthov/space-demo/releases/tag/deploy-ibm-yp-us-south-snorthov-ca.ibm.com-prod-20170529-211323 "deploy-ibm-yp-us-south-snorthov-ca.ibm.com-prod-20170529-211323") to [prod](https://console.ng.bluemix.net/apps/345f2e69-39b8-4b59-b427-306b523546c2?env_id=ibm:yp:us-south "ibm:yp:us-south:snorthov@ca.ibm.com:prod"), including this commit


great addon !


To use only english: mensaje  - > msg or message


Good catch, added!


Moving to an issue.


In the following lines there are some words in spanish, please use only english


Sorry, but we can't allow code to be injected in strange places like this. Everything that has to do with Python 2 compatibility has to be put in the right place and properly explained.

Please see various dangers and reasons for not using it...

https://stackoverflow.com/a/3828742/405682


re-comment out the test rig


Не, тут нужен Vocabulary (я скидывал его тоже). В нем хранится разметка по рифме, а в LemmatizedVocabulary - разметка по грамматике. Их бы смержить, но я не успел


Merge pull request [Classe](https://quire.io/w/t27gAc-oVhaJCJvzCsHKAKr1/Classe) from vectoritcgroup/livro

Correção de configuração
via [Quire](https://quire.io/u/quire)


Why you removed 'checklist-model' ?


Hi, I'm looking for information on how to control servodrive AX5000, do you have any examples that work ?, thank you


double-qoutes enables php to find variables inside strings without ending the string, e.g.
`$test = 10;
echo "this has $test numbers`;


its still broke though, right?


> what if other users of the API forget to close session?
Nice question. I dunno. At least, there seem to be no way to determine whether user forgot to close connection or really wants to keep connection for too long, right?

> if there are a lot of API users to close session?
I suppose it'll just invoke `disconnectionHandler` soon or later, seems ok.


The Books-for-geeks.com was formed by Group-8 students of BPI (IS684-102) course with a rationale to sell educational supplies and materials to students of all level at an affordable rate.  Books-for-geeks.com is a profit-oriented business and its revenue will be derived from selling various products including educational/informational books, Kindle e-books, textbooks, children's books, and magazines.
The company’s primary strategic focus will be centralized toward students of all level in goal to turn reasonable profits by developing and maintaining a meaningful and sustainable relationship with them to better serve their needs.  The company will be looking to make a difference in student’s life by easing off some of the financial burden. Therefore, company will look to support students with various discounts on all educational books and supplies offered on the website.


Can a PR to resolve the same be of some help ?


You can use text replacements in these, correct?


space above this line.


The Eat well app was made using JUST IN MIND software.


@gorhill Understandable, but regarding that issue about extensions: I noticed default `matrix-off` rule for `chrome-extension-scheme`, maybe same should be with `moz-extension-scheme` for consistency?


I recommend you reverse this


dont indent the if inside as if it's in H3


again you dont indent if lin you only indent the stuff inside the if


For this project, I had made use of technologies like HTML5,CSS3,Bootstrap ,Jquery and  Javascript.


dont indent the p as if it's inside the h5


again dont indent the div line only indent the f. parts


Oh, now I get it what you meant when you've said "spamming an server". Hosting environments usually disallow chat-like applications that hammer the server in fixed intervals (e.g. every 5-10 seconds), because this can create a significant load.

We avoid this by using a default interval that is large enough to avoid any sort of impact on the remote, while still retrieving notifications in a timely fashion to be of any use for the user. When I wrote _Poll every 5 minutes, avoids spamming the server with requests_. I actually meant the aforementioned restrictions and not any sort of ([D]DoS-like) behavior patterns.


arquivos do site


great shange :3


No, the link to the documentation will always point to the latest released/stable version (especially since it's shown in PyPI, etc).

If you're running having installed the latest master from git, then look at the `latest` documentation.
Honestly, anyone proficient enough to have installed the latest git/unreleased version should be able to find the relevant documentation too.


![](https://github.trello.services/images/mini-trello-icon.png) [Page header component](https://trello.com/c/QI9DjnV5/18-page-header-component)


Sure ! Thanks by the way  👍


Make sure I go back and delete these, admin only


Also, consider wear only on outer tires, possibly


SHould return this line


I can confirm, that the torrentsite has limited the use of torrents.php to a degree that prevents SickRage to use it. This commit resolves this by using the prefered solution by the torrentsite.


approval


Please, add a fat comment on what overrides what and how we hope this to interact with Prefences in UI.


Безопасное закрытие файла