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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


You know when you cherry pick something it is right to not remove the commit message of the original commiter because therefore if someone will cherry pick it from you it will continue in the same way and no one will exactly know the original message...


Hi JeremyFxx,

I also tried to merge the code back to the current YOLO-version. It seems not too hard.
But I couldn't get it working.
Could you post your merged code somewhere?

Would be really appreciated
Stefan


yeah, thats better 👍


добавил строку эту! но в Опере все равно не работает


The change were not reflected on the docs page.


I had some issues pulling and hacked my way through it. Sorry about that. It should be fixed now.


Cool, thanks


Turns out that did not work for me either... I'm not sure why.  I tried to get the list of allowed locales by using locale_alias, and it gave me a list, but I now find some indications that locale_alias doesn't work right on Windows.  For now I will just comment your line out to make forward progress.  But eventually I will want to figure out how to make this work on (my) Windows systems.


Hey @brendo would you mind not committing in `2.7.x` directly please ? I try to not do it myself and always go via PRs... Thanks!


Also, I try to avoid merging PRs with a 'merge' it's better for the history to use 'squash' or 'rebase'


any reason why this is no longer in active development?


https://todoman.readthedocs.io/en/latest/install.html

You're probably looking at an older version (note that no stable releases have been made since this change).


![](https://github.trello.services/images/mini-trello-icon.png) [Grid components](https://trello.com/c/XY4DUz1B/33-grid-components)


estas segura?


HTML includes Boootstrap Modal for the Terminal state message of the game.
All the borad DOM is created on the fly with Jquery because in lated release there will be option to v=change the dimentions of the board by user selection.


Maybe it needs Product definition explicitly in `Package.swift` of SourceKitten.


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


The **README.rst** has to be updated with the proper link.