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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

^~
```
[R/helper_funs.R:312:46:](https://github.com/pat-s/sperrorest/blob/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/R/helper_funs.R#L329) *style:* **Trailing whitespace is superfluous.**
```r
    }
     ^
```
[R/helper_funs.R:330:5:](https://github.com/pat-s/sperrorest/blob/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/R/helper_funs.R#L335) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

^~
```
[R/sperrorest_error.R:75:25:](https://github.com/pat-s/sperrorest/blob/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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/3a93b2669bdbf77cc1d0f2da684044476f094918/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)
                                                  ^
```


What happens if the map has enderchests in it? This code would disable enderchests.


>Perhaps leave /ns status for servers that don't support IRCv3 capabilities and message tags?

The IRCv3 feature in question is [`account-notify`](http://ircv3.net/specs/extensions/account-notify-3.1.html) which is seven years old. If your IRCd doesn't support a seven year old feature then maybe you should consider upgrading rather than expecting other people to maintain workarounds.


Done. 😀

https://github.com/palcu/fmi/blob/master/oop.md


Tomando el curso ;) Menos mal que te diste cuenta que faltaba esa línea.


@szymczdm @JacquesCarette This change is causing a lot of lines to be added to the Examples' logs; is this change that fixes #225 worth the change?


This should check if the ender chest is part of the mutation. If the map had an ender chest in the spawn kit, placing it would open the team inventory, when it should place down an ender chest.


Чат Бот Секретарь. Интеграция вспомогательных элементов.


Yea, know that it's just a comment but want to replace it. I will change it to "shipkit.org@gmail.com"


greetings @buddhi1980

I see a kernel render time of <.006 on windows for CPU and GPU.
However, it takes >90 seconds to render the kernel for Xeon PHI or FPGA.

This makes the custom accelerators useless if they constantly require re-compilation.
We require expansion of SetParameters--> modifies constantInBuffer --> sClInConstants --> device queue specific.

We require cRenderJob mode == cRenderJob::flightAnimRecord for the 'live' gameplay.
This 'live' gameplay requires (1) kernel compilation.


It was still too slow and it didn't solve the issue with the macros in there.
I guess if commiter does not review them when they are put now one bellow other he deserves a bit of suffering :)


Btw, I've re-enabled all major version  4+ as it seems to work well and I cannot reproduce the issues in the link.


se han aceptado los cambios


ezan/README.md


Hey @huevoncito,

sorry that this change breaks your app. I'm really interested to address your problems. Please file an issue.

The idea behind this update is fixing how Navigo handles routes. There was a case which was obviously wrong. For example `/save` matches `/results/something/save/42` while it shouldn't.

```
The user expects http://myapp.com/about but instead they get http://myapp.com/^/about
```
Is that after calling the `generate` function?


all pkgconfig style deps now are considered rpmrequirestoken, there should be none left as strings. Thus speedup by ignoring all the others.
The BR itself should be added later on only in case we are in main scope (eg root preamble) and there is no BR for pkgconfig. If no normal dep pulled in pkgconfig on its own notion then it would fail to build.


You should use continuation tasks here.


Theoretically good, but fails tests due to "TypeError: Cannot match against 'undefined' or 'null'." when no options are passed in at all.


Probably.  I think all of the return codes for the sjp_* functions can.


> 0x0000 - 0x0000	Reserved
0x0001 - 0x0001	IPDC SPP Open Security Framework Generic Roaming (IPDC SPP (TS 102 474) Annex A)
0x0002 - 0x0002	18Crypt (IPDC SPP (TS 102 474) Annex B)
0x0004 - 0x0004	OMA DRM Content Format – MPEG-2 TS Profile: MDCF - see OMA-TS-SCE_MDCF-V1_0
0x0005 - 0x0005	OMA BCAST 1.0 (U)SIM Smartcard Profile using 3GPP GBA_U (OMA-TS-BCAST_SvcCntProtection-V1_0 section 6)
0x0006 - 0x0006	OMA BCAST 1.0 (U)SIM Smartcard Profile using 3GPP GBA_ME (OMA-TS-BCAST_SvcCntProtection-V1_0 section 6)
0x0007 - 0x0007	(Reserved for Open IPTV Forum)
0x0008 - 0x0008	Open Mobile Alliance
0x0009 - 0x00FF	reserved for future use by standardized systems
0x0100 - 0x01FF	Canal Plus
0x0200 - 0x02FF	CCETT
0x0300 - 0x03FF	Kabel Deutschland
0x0400 - 0x04FF	Eurodec
0x0500 - 0x05FF	France Telecom
0x0600 - 0x06FF	Irdeto
0x0700 - 0x07FF	Jerrold/GI/Motorola
0x0800 - 0x08FF	Matra Communication
0x0900 - 0x09FF	News Datacom
0x0A00 - 0x0AFF	Nokia
0x0B00 - 0x0BFF	Conax AS
0x0C00 - 0x0CFF	NTL
0x0D00 - 0x0DFF	CrytoWorks (Irdeto)
0x0E00 - 0x0EFF	Scientific Atlanta
0x0F00 - 0x0FFF	Sony
0x1000 - 0x10FF	Tandberg Television
0x1100 - 0x11FF	Thomson
0x1200 - 0x12FF	TV/Com
0x1300 - 0x13FF	HPT - Croatian Post and Telecommunications
0x1400 - 0x14FF	HRT - Croatian Radio and Television
0x1500 - 0x15FF	IBM
0x1600 - 0x16FF	Nera
0x1700 - 0x17FF	Verimatrix GmbH
0x1800 - 0x18FF	Kudelski SA
0x1900 - 0x19FF	Titan Information Systems
0x1E00 - 0x1E07	Alticast
0x1EA0 - 0x1EA0	Protac
0x1EB0 - 0x1EB0	TELECAST TECHNOLOGY CO., LTD.
0x1EC0 - 0x1EC0	Cryptoguard AB
0x1ED0 - 0x1ED1	MM Comunicaciones S.A.
0x2000 - 0x20FF	Telefonica Servicios Audiovisuales
0x2100 - 0x21FF	STENTOR (France Telecom, CNES and DGA)
0x2200 - 0x22FF	Harmonic
0x2300 - 0x23FF	BARCO AS
0x2400 - 0x24FF	StarGuide Digital Networks
0x2500 - 0x25FF	Mentor Data System, Inc.
0x2600 - 0x26FF	European Broadcasting Union
0x2700 - 0x270F	PolyCipher (NGNA, LLC)
0x2710 - 0x2711	Extended Secure Technologies B.V.
0x2712 - 0x2712	Derincrypt
0x2713 - 0x2714	Wuhan Tianyu Information Industry Co., Ltd
0x2715 - 0x2715	Network Broadcast
0x2716 - 0x2716	Bromteck
0x2717 - 0x2718	LOGIWAYS
0x2719 - 0x2719	S-Curious Research and Technology Private Limited
0x27A0 - 0x27A4	ByDesign India Private Limited
0x2800 - 0x2809	LCS LLC
0x2810 - 0x2810	MULTIKOM DELTASAT GMBH KG
0x4347 - 0x4347	Crypton
0x4700 - 0x47FF	General Instrument (Motorola)
0x4825 - 0x4825	ChinaEPG (Beijing) Technology Co., Ltd.
0x4800 - 0x48FF	Telemann
0x4900 - 0x49FF	CrytoWorks (China) (Irdeto)
0x4A10 - 0x4A1F	Easycas
0x4A20 - 0x4A2F	AlphaCrypt
0x4A30 - 0x4A3F	DVN Holdings
0x4A40 - 0x4A4F	Shanghai Advanced Digital Technology Co. Ltd. (ADT)
0x4A50 - 0x4A5F	Shenzhen Kingsky Company (China) Ltd.
0x4A60 - 0x4A6F	NEOTION SA
0x4A70 - 0x4A7F	Dreamcrypt
0x4A80 - 0x4A8F	THALESCrypt
0x4A90 - 0x4A9F	Runcom Technologies
0x4AA0 - 0x4AAF	SIDSA
0x4AB0 - 0x4ABF	Beijing Compunicate Technology Inc.
0x4AC0 - 0x4ACF	Latens Systems Ltd
0x4AD0 - 0x4AD1	XCrypt Inc.
0x4AD2 - 0x4AD3	Beijing Digital Video Technology Co., Ltd.
0x4AD4 - 0x4AD5	Widevine Technologies, Inc.
0x4AD6 - 0x4AD7	SK Telecom Co., Ltd.
0x4AD8 - 0x4AD9	Enigma Systems
0x4ADA - 0x4ADA	Wyplay SAS
0x4ADB - 0x4ADB	Jinan Taixin Electronics, Co., Ltd.
0x4ADC - 0x4ADC	LogiWays
0x4ADD - 0x4ADD	ATSC System Renewability Message (SRM)
0x4ADE - 0x4ADE	CerberCrypt
0x4ADF - 0x4ADF	Caston Co., Ltd.
0x4AE0 - 0x4AE1	Cifra LLC
0x4AE2 - 0x4AE3	Microsoft Corp.
0x4AE4 - 0x4AE4	Coretrust, Inc.
0x4AE5 - 0x4AE5	IK SATPROF
0x4AE6 - 0x4AE6	SypherMedia International
0x4AE7 - 0x4AE7	Guangzhou Ewider Technology Corporation Limited
0x4AE8 - 0x4AE8	FG DIGITAL Ltd.
0x4AE9 - 0x4AE9	Dreamer-i Co., Ltd.
0x4AEA - 0x4AEA	Cryptoguard AB
0x4AEB - 0x4AEB	Abel DRM Systems AS
0x4AEC - 0x4AEC	FTS DVL SRL
0x4AED - 0x4AED	Unitend Technologies, Inc.
0x4AEE - 0x4AEE	Deltacom Electronics OOD
0x4AEF - 0x4AEF	NetUP Inc.
0x4AF0 - 0x4AF0	ABV International
0x4AF1 - 0x4AF1	China DTV Media Inc., Ltd. #1
0x4AF2 - 0x4AF2	China DTV Media Inc., Ltd. #2
0x4AF3 - 0x4AF3	Baustem Information Technologies, Ltd.
0x4AF4 - 0x4AF4	Marlin Developer Community, LLC
0x4AF5 - 0x4AF5	SecureMedia
0x4AF6 - 0x4AF6	Tongfang CAS
0x4AF7 - 0x4AF7	MSA
0x4AF8 - 0x4AF8	Griffin CAS
0x4AF9 - 0x4AFA	Beijing Topreal Technologies Co., Ltd
0x4AFB - 0x4AFB	NST
0x4AFC - 0x4AFC	Panaccess Systems GmbH
0x4AFD - 0x4AFD	Comteza SIA
0x4B00 - 0x4B02	Tongfang CAS
0x4B03 - 0x4B03	DuoCrypt
0x4B04 - 0x4B04	Great Wall CAS
0x4B05 - 0x4B06	DIGICAP
0x4B07 - 0x4B07	Wuhan Reikost Technology Co., Ltd.
0x4B08 - 0x4B08	Philips
0x4B09 - 0x4B09	Ambernetas
0x4B0A - 0x4B0B	Beijing Sumavision Technologies CO. LTD.
0x4B0C - 0x4B0F	Sichuan changhong electric co.,ltd.
0x4B10 - 0x4B10	Exterity Limited
0x4B11 - 0x4B12	Advanced Digital Platform Technologies
0x4B13 - 0x4B14	Microsoft Corporation
0x4B19 - 0x4B19	RIDSYS
0x4B20 - 0x4B22	MULTIKOM DELTASAT GmbH Co KG
0x4B23 - 0x4B23	SkyNLand Video Networks Pvt Ltd
0x4B24 - 0x4B24	Prowill AB
0x4B25 - 0x4B25	SURESOFT SYSTEMS PVT LTD
0x4B26 - 0x4B26	Unitend Technologies, Inc.
0x4B30 - 0x4B30	Vietnam Multimedia Corporation (VTC)
0x4B31 - 0x4B31	Vietnam Multimedia Corporation (VTC)
0x4B3A - 0x4B3A	ipanel
0x4B3B - 0x4B3B	Jinggangshan Electric Co., Ltd
0x4B40 - 0x4B41	EXCAF TELECOM
0x4B42 - 0x4B43	CI Plus LLP
0x4B4A - 0x4B4A	TOPWELL INTERNATIONAL HOLDINGS LIMITED
0x4B4B - 0x4B4D	ABV International Pte Ltd
0x4B50 - 0x4B53	Safeview India
0x5347 - 0x5347	GkWare e.K.
0x5601 - 0x5601	Verimatrix, Inc. #1
0x5602 - 0x5602	Verimatrix, Inc. #2
0x5603 - 0x5603	Verimatrix, Inc. #3
0x5604 - 0x5604	Verimatrix, Inc. #4
0x5605 - 0x5606	Sichuan Juizhou Electronic Co. Ltd
0x5607 - 0x5608	Viewscenes
0x5609 - 0x5609	Power On s.r.l
0x56A0 - 0x56A0	laxmi remote india private limited
0x7BE0 - 0x7BE1	OOO
0xAA00 - 0xAA00	Best CAS Ltd
0xAA01 - 0xAA01	BestCAS Ltd


Zajtra zavolám, pretože todo nerozumiem a dosť čudne sa mi to celé správa (ukladanie firiem)


@nfeske I have notes for the sessions marked with my name.


Just FYI I realized all the video issues I was having were because of GLideN64. I tested CXD4-HLE video + Glide64, and both Resident Evil 2 and Pokemon Puzzle League work properly there, even with the dynarec.

But I was able to confirm that CountPerOp=1 makes the audio out of sync, even on Android. CountPerOp=2 (the default) and CountPerScanline=2200 give the correct result.


Is this supposed to be something like this?
```
LET IsEven(x) == LET Two == 2
                    Zero == 0
                 IN x % Two = Zero
    Five == 5
IN  IsEven(Five)
```


Overbodig?


je wil ook [de `kotlin-spring` plugin](https://kotlinlang.org/docs/reference/compiler-plugins.html), zie bijv. de `build.gradle` die door https://start.spring.io/ wordt gebouwd


![](https://github.trello.services/images/mini-trello-icon.png) [BUG - Contact form not sending email (probably wrong dataset)](https://trello.com/c/uoX6JWG6/19-bug-contact-form-not-sending-email-probably-wrong-dataset)


... except the bug you noted above for borg mount.

if it caches data chunks due to that, chunks can be arbitrarily small, thus file count (only limited by overall cache size) could be as large as 2^31 for the worst case (although likely it would first run out of memory for the id set).


The problem is that the lexer returns SJP_MORE value, and the validator punts, waiting for the lexer to tell it that the token is fully lexed instead of partially lexed.  If the value is adjacent to the end of the stream, the lexer on knows this when you close it, which we do via jvst_validator_close().  This leaves the validator in a weird state.  The hack is to add an extra whitespace at the end to let the validator unwind from this state before we close.

A better sequence would be to inform the lexer of the end-of-stream, tell the validator to continue, let the lexer issue the information that the token is complete so the validator can unwind its state, and then close everything.  I'm still thinking through how best to do that.

So, this works for now.  It could only interfere with an unclosed string, but that's an invalid state on close with or without the extra space.


@bonnedav regardless this is in the branch for 2.1, not 2.0. 2.0 will continue as it is for some time.


constructor injection gebruiken:
> The Spring team generally advocates constructor injection as it enables one to implement application components

van http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-setter-injection


Merge pull request [Objetos](https://quire.io/w/e8vpqKytsn8Z7I2f-Oekc9cN/Objetos) from vectoritcgroup/livro

Inicialização do livro
via [Quire](https://quire.io/u/quire)


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-205539 "deploy-ibm-yp-us-south-snorthov-ca.ibm.com-prod-20170529-205539") 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


Do we want to do that here instead of returning with an error?  I'll xmalloc for now.