[R/helper_funs.R:28:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L28) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

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

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

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

^~~~
```
[R/helper_funs.R:83:70:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L83) *style:* **Trailing whitespace is superfluous.**
```r
        current_res[[j]]$train <- err_fun(nd[, response], pred_train)
                                                                     ^~
```
[R/helper_funs.R:96:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L96) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/helper_funs.R:124:66:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L124) *style:* **Trailing whitespace is superfluous.**
```r
      current_res[[j]]$test <- err_fun(nd[, response], pred_test)
                                                                 ^~
```
[R/helper_funs.R:134:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L134) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

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

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

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

^~
```
[R/helper_funs.R:213:77:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L213) *style:* **Trailing whitespace is superfluous.**
```r
#' @description Runs model fitting, error estimation and variable importance
                                                                            ^
```
[R/helper_funs.R:220:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L220) *style:* **Trailing whitespace is superfluous.**
```r
runreps <- function(current_sample = NULL, data = NULL, formula = NULL,
                                                                       ^
```
[R/helper_funs.R:221:68:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L221) *style:* **Trailing whitespace is superfluous.**
```r
                    model_args = NULL, par_cl = NULL, do_gc = NULL,
                                                                   ^
```
[R/helper_funs.R:223:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L223) *style:* **Trailing whitespace is superfluous.**
```r
                    do_try = NULL, model_fun = NULL, error_fold = NULL,
                                                                       ^
```
[R/helper_funs.R:227:76:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L227) *style:* **Trailing whitespace is superfluous.**
```r
                    current_impo = NULL, pred_args = NULL, progress = NULL,
                                                                           ^
```
[R/helper_funs.R:228:69:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L228) *style:* **Trailing whitespace is superfluous.**
```r
                    pooled_obs_train = NULL, pooled_obs_test = NULL,
                                                                    ^
```
[R/helper_funs.R:229:63:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L229) *style:* **Trailing whitespace is superfluous.**
```r
                    pooled_pred_train = NULL, response = NULL,
                                                              ^
```
[R/helper_funs.R:236:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L236) *style:* **Trailing whitespace is superfluous.**
```r

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

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

^~
```
[R/helper_funs.R:250:65:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L250) *style:* **Trailing whitespace is superfluous.**
```r
  # this ensures that runfolds finds all objects which have been
                                                                ^
```
[R/helper_funs.R:253:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L253) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:254:58:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L254) *style:* **Trailing whitespace is superfluous.**
```r
  if (par_mode == "foreach" | par_mode == "sequential" &&
                                                         ^
```
[R/helper_funs.R:258:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L258) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:259:47:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L259) *style:* **Trailing whitespace is superfluous.**
```r
  map(seq_along(current_sample), function(rep)
                                              ^
```
[R/helper_funs.R:263:61:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L263) *style:* **Trailing whitespace is superfluous.**
```r
             error_fold = error_fold, error_rep = error_rep,
                                                            ^
```
[R/helper_funs.R:264:50:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L264) *style:* **Trailing whitespace is superfluous.**
```r
             imp_permutations = imp_permutations,
                                                 ^
```
[R/helper_funs.R:265:44:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L265) *style:* **Trailing whitespace is superfluous.**
```r
             imp_variables = imp_variables,
                                           ^
```
[R/helper_funs.R:267:61:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L267) *style:* **Trailing whitespace is superfluous.**
```r
             err_train = err_train, importance = importance,
                                                            ^
```
[R/helper_funs.R:268:40:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L268) *style:* **Trailing whitespace is superfluous.**
```r
             current_res = current_res,
                                       ^
```
[R/helper_funs.R:269:74:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L269) *style:* **Trailing whitespace is superfluous.**
```r
             pred_args = pred_args, response = response, par_cl = par_cl,
                                                                         ^
```
[R/helper_funs.R:270:51:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L270) *style:* **Trailing whitespace is superfluous.**
```r
             coords = coords, progress = progress,
                                                  ^
```
[R/helper_funs.R:271:50:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L271) *style:* **Trailing whitespace is superfluous.**
```r
             pooled_obs_train = pooled_obs_train,
                                                 ^
```
[R/helper_funs.R:272:48:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L272) *style:* **Trailing whitespace is superfluous.**
```r
             pooled_obs_test = pooled_obs_test,
                                               ^
```
[R/helper_funs.R:274:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L274) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:276:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L276) *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:277:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L277) *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:279:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L279) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:283:52:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L283) *style:* **Trailing whitespace is superfluous.**
```r
    ### get mean from all impo results of all folds
                                                   ^
```
[R/helper_funs.R:285:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L285) *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:289:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L289) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:290:41:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L290) *style:* **Trailing whitespace is superfluous.**
```r
  pooled_only <- runfolds_merged[c(1:4)]
                                        ^
```
[R/helper_funs.R:291:64:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L291) *style:* **Trailing whitespace is superfluous.**
```r
  pooled_only <- sapply(unique(names(pooled_only)), function(x)
                                                               ^
```
[R/helper_funs.R:293:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L293) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/helper_funs.R:312:6:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L312) *style:* **Trailing whitespace is superfluous.**
```r
    }
     ^
```
[R/helper_funs.R:318:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L318) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

^~
```
[R/helper_funs.R:334:80:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L334) *style:* **Trailing whitespace is superfluous.**
```r
  # set current_impo to NULL to prevent false importance output (resamp object)
                                                                               ^
```
[R/helper_funs.R:335:19:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L335) *style:* **Trailing whitespace is superfluous.**
```r
  # if not desired
                  ^
```
[R/helper_funs.R:339:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/helper_funs.R#L339) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

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

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

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

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

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

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

^~
```
[R/resample.R:132:48:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L135) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:137:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L142) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:144:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L144) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:145:53:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L145) *style:* **Trailing whitespace is superfluous.**
```r
#' @details If `param$replace=FALSE`, a subsample of
                                                    ^
```
[R/resample.R:148:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L148) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:150:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L150) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:156:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L156) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/resample.R:158:71:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/resample.R#L166) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  stopifnot( (length(param$fac) == 1) || (length(param$fac) == nrow(data)))
            ^
```
[R/sperrorest_data.R:5:74:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_data.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:16:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_data.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:18:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_data.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:19:62:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_data.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_data.R:22:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_data.R#L43) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:4:78:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:10:79:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:14:78:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:17:75:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:28:65:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:32:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:42:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_error.R:47:24:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L56) *style:* **Trailing whitespace is superfluous.**
```r

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

^~
```
[R/sperrorest_error.R:75:25:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/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/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L87) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        } else err$kappa <- (err$accuracy - pexp)/(1 - pexp)
                                                  ^
```
[R/sperrorest_error.R:91:18:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L91) *warning:* **no visible global function definition for ‘prediction’**
```r
      predobj <- prediction(pred, obs)
                 ^~~~~~~~~~
```
[R/sperrorest_error.R:92:16:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L92) *warning:* **no visible global function definition for ‘performance’**
```r
      auroc <- performance(predobj, measure = "auc")@y.values[[1]]
               ^~~~~~~~~~~
```
[R/sperrorest_error.R:94:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L94) *style:* **Trailing whitespace is superfluous.**
```r

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

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

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

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

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

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

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

^~~~~~
```
[R/sperrorest_error.R:127:76:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L127) *style:* **Trailing whitespace is superfluous.**
```r
      thr <- mmin(thrs[sapply(thrs, function(x) fpr(obs == pos, pred, nneg,
                                                                           ^
```
[R/sperrorest_error.R:130:76:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L130) *style:* **Trailing whitespace is superfluous.**
```r
      thr <- mmin(thrs[sapply(thrs, function(x) fpr(obs == pos, pred, nneg,
                                                                           ^
```
[R/sperrorest_error.R:133:76:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L133) *style:* **Trailing whitespace is superfluous.**
```r
      thr <- mmin(thrs[sapply(thrs, function(x) fpr(obs == pos, pred, nneg,
                                                                           ^
```
[R/sperrorest_error.R:139:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L139) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/sperrorest_error.R:141:66:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L141) *style:* **Trailing whitespace is superfluous.**
```r
    err <- list(bias = mean(obs - pred), stddev = sd(obs - pred),
                                                                 ^
```
[R/sperrorest_error.R:142:28:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L142) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                mse = mean((obs - pred)^2), mad = mad(obs - pred),
                           ^
```
[R/sperrorest_error.R:142:40:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L142) *style:* **Put spaces around all infix operators.**
```r
                mse = mean((obs - pred)^2), mad = mad(obs - pred),
                                      ~^~
```
[R/sperrorest_error.R:142:67:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L142) *style:* **Trailing whitespace is superfluous.**
```r
                mse = mean((obs - pred)^2), mad = mad(obs - pred),
                                                                  ^
```
[R/sperrorest_error.R:147:1:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_error.R#L147) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/sperrorest_misc.R:4:71:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#' `dataset_distance` calculates Euclidean nearest-neighbour distances
                                                                      ^
```
[R/sperrorest_misc.R:5:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
#' between two point datasets and summarizes these distances using some
                                                                       ^
```
[R/sperrorest_misc.R:8:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
#' @param d1 a `data.frame` with (at least) columns with names given by
                                                                       ^
```
[R/sperrorest_misc.R:9:65:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L9) *style:* **Trailing whitespace is superfluous.**
```r
#' `x.name` and `y.name`; these contain the x and y coordinates,
                                                                ^
```
[R/sperrorest_misc.R:12:66:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
#' @param x.name name of column in `d1` and `d2` containing the x
                                                                 ^
```
[R/sperrorest_misc.R:15:71:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L15) *style:* **Trailing whitespace is superfluous.**
```r
#' @param fun function to be applied to the vector of nearest-neighbor
                                                                      ^
```
[R/sperrorest_misc.R:17:72:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L17) *style:* **Trailing whitespace is superfluous.**
```r
#' @param method type of distance metric to be used; only `'euclidean'`
                                                                       ^
```
[R/sperrorest_misc.R:20:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:23:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:24:73:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
#' @details Nearest-neighbour distances are calculated for each point in
                                                                        ^
```
[R/sperrorest_misc.R:25:63:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
#' `d1`, resulting in a vector of length `nrow(d1)`, and `fun`
                                                              ^
```
[R/sperrorest_misc.R:27:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:31:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L31) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:33:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:35:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L35) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:37:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L37) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:39:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:40:38:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L40) *style:* **Variable or function name should be snake_case.**
```r
dataset_distance <- function(d1, d2, x.name = "x", y.name = "y", fun = mean,
                                     ^~~~~~
```
[R/sperrorest_misc.R:40:52:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L40) *style:* **Variable or function name should be snake_case.**
```r
dataset_distance <- function(d1, d2, x.name = "x", y.name = "y", fun = mean,
                                                   ^~~~~~
```
[R/sperrorest_misc.R:40:77:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L40) *style:* **Trailing whitespace is superfluous.**
```r
dataset_distance <- function(d1, d2, x.name = "x", y.name = "y", fun = mean,
                                                                            ^
```
[R/sperrorest_misc.R:53:25:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L53) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  for (i in 1:nrow(d1)) {
                        ^
```
[R/sperrorest_misc.R:53:26:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L53) *style:* **Trailing whitespace is superfluous.**
```r
  for (i in 1:nrow(d1)) {
                         ^
```
[R/sperrorest_misc.R:54:23:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L54) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    di[i] <- min(sqrt((d2[, x.name] - d1[i, x.name])^2 +
                      ^
```
[R/sperrorest_misc.R:54:53:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L54) *style:* **Put spaces around all infix operators.**
```r
    di[i] <- min(sqrt((d2[, x.name] - d1[i, x.name])^2 +
                                                   ~^~
```
[R/sperrorest_misc.R:54:57:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L54) *style:* **Trailing whitespace is superfluous.**
```r
    di[i] <- min(sqrt((d2[, x.name] - d1[i, x.name])^2 +
                                                        ^
```
[R/sperrorest_misc.R:55:55:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L55) *style:* **Put spaces around all infix operators.**
```r
                        (d2[, y.name] - d1[i, y.name])^2))
                                                     ~^~
```
[R/sperrorest_misc.R:67:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L67) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:69:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L69) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:71:61:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L71) *style:* **Trailing whitespace is superfluous.**
```r
#' @param ... Additional arguments to [dataset_distance] and
                                                            ^
```
[R/sperrorest_misc.R:73:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L73) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:74:52:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L74) *style:* **Trailing whitespace is superfluous.**
```r
#' @return A [resampling] or [represampling] object
                                                   ^
```
[R/sperrorest_misc.R:76:54:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L76) *style:* **Trailing whitespace is superfluous.**
```r
#' `$distance` component in each [resampling] object.
                                                     ^
```
[R/sperrorest_misc.R:77:70:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L77) *style:* **Trailing whitespace is superfluous.**
```r
#' The `distance` component is a single numeric value indicating, for
                                                                     ^
```
[R/sperrorest_misc.R:78:54:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L78) *style:* **Trailing whitespace is superfluous.**
```r
#' each `train` / `test` pair, the (by default, mean)
                                                     ^
```
[R/sperrorest_misc.R:80:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L80) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:81:78:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L81) *style:* **Trailing whitespace is superfluous.**
```r
#' @details Nearest-neighbour distances are calculated for each sample in the
                                                                             ^
```
[R/sperrorest_misc.R:82:73:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L82) *style:* **Trailing whitespace is superfluous.**
```r
#' test set. These `nrow(???$test)` nearest-neighbour distances are then
                                                                        ^
```
[R/sperrorest_misc.R:83:71:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L83) *style:* **Trailing whitespace is superfluous.**
```r
#' averaged. Aggregation methods other than `mean` can be chosen using
                                                                      ^
```
[R/sperrorest_misc.R:84:50:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L84) *style:* **Trailing whitespace is superfluous.**
```r
#' the `fun` argument, which will be passed on to
                                                 ^
```
[R/sperrorest_misc.R:86:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L86) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```
[R/sperrorest_misc.R:87:47:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L87) *style:* **Trailing whitespace is superfluous.**
```r
#' @seealso [dataset_distance] [represampling]
                                              ^
```
[R/sperrorest_misc.R:89:3:](https://github.com/pat-s/sperrorest/blob/f060e1c324a9f8a882cd999ae7899473ed6e7b50/R/sperrorest_misc.R#L89) *style:* **Trailing whitespace is superfluous.**
```r
#'
  ^
```


Woops. TIL how the lables on those bottles in my kitchen are pronounced properly. I blame those tiny fragments of Spanish knowledge in the back of my head. :P


很好


Ah, ok. The the `{c}` vs `{u}` thing wasn't the problem. Both lines were wrong. Line 439 is for `{u}` and line 442 for `{c}` type pointer. But you're right about marking the arguments of all jump instructions correctly as code pointers.


Worked on as seen on commit 3ec0af7.
@JacquesCarette Can the "purpose of **this** document" be changed to "purpose of **the** document" to follow the pattern?


Adding `| any` here, whilst technically true removes all use of the typings provided by JoiValidationOptions.  In my opinion it's best to type assert the arbitrary object to any when you use the definition so that if you did want to instead pass JoiValidationOptions you get that type checking for free.  Laxer types are good unless they're any in which case they're pointless.  ... In my opinion :)


![](https://github.trello.services/images/mini-trello-icon.png) [Should take one tap on "Edit" to access edit it date-time](https://trello.com/c/fQpk3xcI/69-should-take-one-tap-on-edit-to-access-edit-it-date-time)


Hello @clakech

J'ai fait la relecture des premiers chapitres. Attention au style, on écrit pas toujours comme on parle, surtout pour un magazine papier ;)
Dis moi ce que tu en penses ?

Sinon on se remet peut être sur la branche gh-pages ?


Hash=128 nodestime=600 must be used for both new_options and base_options, I assume.


Included "characteristics of the intended reader" in SSP and GlassBR examples because changes will be implemented as discussed in issue #228.


suggestion !string.IsNullOrEmpty


Oh! So excited for this.


Video


Same comment re having a link to docs or to code (the tagged version of the code).  I don't remember seeing where this is documented.  Thanks.


Puzzle `39-e7c34bd5` discovered in [`src/main/java/org/cactoos/list/IterableAsList.java`](https://github.com/yegor256/cactoos/blob/master/src/main/java/org/cactoos/list/IterableAsList.java) and submitted as #53.


Yes, that was it.


Chapter 2 Application Layer/TCP Client.py

# port number


You sure about this?  If so we should submit a PR to the hapi docs with these change (unless they're already in there?  I can't check them easily atm) and link to the PR here saying "docs pending update" or something.


Fixed bizarre formatting issues.


Is this ready to merge? Passes all of the test and I really like what you've done.


just  a thought, I wonder if Preferences/class/track overrides should be handled inside of GlobalBehaviourSettings class, so that callsites don't have to handle that, and all logic is in one place.


@theShrike760 Can you test this latest commit and tell me if you get crashes with texture packs with GLideN64?


Why don't you configure the loginname_attribute to be the ``userPrincipalName``?
This is not necessary.


sogar


Cool. So I simply leave the password empty, if I want to login as another user!?


win7x64 --vs2015
run MoveMapGen.exe ,
when Building map 000, tile[29,47]  Crashes allways.
![image](https://cloud.githubusercontent.com/assets/24733023/26562806/808a98f0-44fc-11e7-912f-cd56792be9f3.png)