[R/helper_funs.R:43:36:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/helper_funs.R#L43) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (class(fit) == "try-error") { # nocov start
                                   ^
```
[R/helper_funs.R:99:29:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/helper_funs.R#L99) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (error_fold == TRUE) { # nocov start
                            ^
```
[R/helper_funs.R:148:41:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/helper_funs.R#L148) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (is.null(current_res[[j]]$test)) { # nocov start
                                        ^
```
[R/helper_funs.R:341:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/helper_funs.R#L341) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if ((do_gc >= 1) & (do_gc < 2)) {
      ^
```
[R/resample.R:60:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/resample.R#L60) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("'strat' must either be a vector of factor type, or the name", # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/resample.R:154:27:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/resample.R#L154) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (is.null(param$fac)) { # nocov start
                          ^
```
[R/sperrorest_error.R:3:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_error.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate a variety of accuracy measures from observations and predictions
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_error.R:96:18:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_error.R#L96) *warning:* **no visible global function definition for ‘prediction’**
```r
      predobj <- prediction(pred, obs)
                 ^~~~~~~~~~
```
[R/sperrorest_error.R:97:16:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_error.R#L97) *warning:* **no visible global function definition for ‘performance’**
```r
      auroc <- performance(predobj, measure = "auc")@y.values[[1]]
               ^~~~~~~~~~~
```
[R/sperrorest_error.R:147:28:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_error.R#L147) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                mse = mean((obs - pred) ^ 2), mad = mad(obs - pred),
                           ^
```
[R/sperrorest_misc.R:470:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_misc.R#L470) *warning:* **no visible global function definition for ‘validate.resampling’**
```r
  stopifnot(validate.resampling(object))
            ^~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_misc.R:575:27:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_misc.R#L575) *warning:* **no visible binding for global variable ‘validate.resampling’**
```r
  valid <- sapply(object, validate.resampling)
                          ^~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:68:20:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L68) *warning:* **no visible global function definition for ‘as.resampling’**
```r
      resampler <- as.resampling(resampler)
                   ^~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:73:19:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L73) *warning:* **no visible global function definition for ‘as.represampling’**
```r
    resampling <- as.represampling(resampling)
                  ^~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:150:15:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L150) *warning:* **no visible global function definition for ‘as.represampling’**
```r
    repres <- as.represampling(repres)
              ^~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:198:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L198) *warning:* **no visible global function definition for ‘as.resampling’**
```r
    fac <- as.resampling(fac)
           ^~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:205:17:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L205) *warning:* **no visible global function definition for ‘as.represampling’**
```r
    represmp <- as.represampling(represmp)
                ^~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:248:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L248) *style:* **Lines should not be more than 80 characters.**
```r
    warning("'nfold' should be <= nlevels(fac); using nfold=nlevels(fac)\n") # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:391:36:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L391) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  } else if (rotation == "random") { # nocov start
                                   ^
```
[R/sperrorest_resampling.R:444:30:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L444) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (length(dsplit) == 1) { # nocov start
                             ^
```
[R/sperrorest_resampling.R:459:40:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L459) *style:* **Put spaces around all infix operators.**
```r
      r <- phi[as.character(cnt)] * 180/pi # nocov start
                                      ~^~
```
[R/sperrorest_resampling.R:472:31:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L472) *style:* **Put spaces around all infix operators.**
```r
      x_delta <- diff(x_range)/nsplit[1]
                             ~^~
```
[R/sperrorest_resampling.R:473:31:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L473) *style:* **Put spaces around all infix operators.**
```r
      y_delta <- diff(y_range)/nsplit[2]
                             ~^~
```
[R/sperrorest_resampling.R:494:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L494) *style:* **Variable or function name should be snake_case.**
```r
      x.split <- seq(x_range[1], x_range[2], length = my_nsplit[1] + 1)
      ^~~~~~~
```
[R/sperrorest_resampling.R:495:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L495) *style:* **Variable or function name should be snake_case.**
```r
      y.split <- seq(y_range[1], y_range[2], length = my_nsplit[2] + 1)
      ^~~~~~~
```
[R/sperrorest_resampling.R:497:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L497) *style:* **Lines should not be more than 80 characters.**
```r
      x.split <- seq(x_range[1], x_range[2] + x_delta, by = x_delta) # nocov start
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:497:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L497) *style:* **Variable or function name should be snake_case.**
```r
      x.split <- seq(x_range[1], x_range[2] + x_delta, by = x_delta) # nocov start
      ^~~~~~~
```
[R/sperrorest_resampling.R:498:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L498) *style:* **Variable or function name should be snake_case.**
```r
      y.split <- seq(y_range[1], y_range[2] + y_delta, by = y_delta)
      ^~~~~~~
```
[R/sperrorest_resampling.R:520:47:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L520) *warning:* **no visible global function definition for ‘as.tilename’**
```r
          tile[sel_x & sel_y] <- as.character(as.tilename(c(ix, iy)))
                                              ^~~~~~~~~~~
```
[R/sperrorest_resampling.R:527:16:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L527) *warning:* **no visible global function definition for ‘get_small_tiles’**
```r
    s_tiles <- get_small_tiles(tile, min_n = min_n, min_frac = min_frac)
               ^~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:530:21:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L530) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      if (reassign) { # nocov start
                    ^
```
[R/sperrorest_resampling.R:559:15:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L559) *warning:* **no visible global function definition for ‘as.resampling’**
```r
      tile <- as.resampling(tile)
              ^~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:648:18:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L648) *style:* **Put spaces around all infix operators.**
```r
      p <- x$size/sum(x$size)
                ~^~
```
[R/sperrorest_resampling.R:649:23:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L649) *style:* **Put spaces around all infix operators.**
```r
      return(1 - sum(p^2))
                     ~^~
```
[R/sperrorest_resampling.R:662:15:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L662) *warning:* **no visible global function definition for ‘as.resampling’**
```r
      tile <- as.resampling(tile)
              ^~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:667:19:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L667) *warning:* **no visible global function definition for ‘as.represampling’**
```r
    resampling <- as.represampling(resampling)
                  ^~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:799:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L799) *style:* **Lines should not be more than 80 characters.**
```r
        warning(paste0("empty training set in 'partition_disc': 'buffer'", # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest_resampling.R:1109:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L1109) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (oob) { # nocov start
           ^
```
[R/sperrorest_resampling.R:1198:22:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest_resampling.R#L1198) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (missing(data)) { # nocov start
                     ^
```
[R/sperrorest.R:315:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L315) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("variable importance assessment currently only supported", # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:350:48:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L350) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (class(par_args$par_mode) == "numeric") { # nocov start
                                               ^
```
[R/sperrorest.R:445:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L445) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    } else { # nocov end
           ^
```
[R/sperrorest.R:472:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L472) *style:* **Lines should not be more than 80 characters.**
```r
        message(sprintf("Using 'parApply' parallel mode with %s cores.", # nocov start
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:540:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L540) *style:* **Lines should not be more than 80 characters.**
```r
            stop(paste0("No output was received from sperrorest.\n", # nocov start
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:552:9:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L552) *warning:* **no visible global function definition for ‘plan’, Did you mean 'lag'?**
```r
        plan(par_args$par_option, workers = par_args$par_units)
        ^~~~
```
[R/sperrorest.R:555:9:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L555) *warning:* **no visible global function definition for ‘plan’, Did you mean 'lag'?**
```r
        plan(par_args$par_option, workers = par_args$par_units)
        ^~~~
```
[R/sperrorest.R:600:5:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L600) *warning:* **no visible global function definition for ‘registerDoFuture’**
```r
    registerDoFuture()
    ^~~~~~~~~~~~~~~~
```
[R/sperrorest.R:609:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L609) *warning:* **no visible global function definition for ‘makeCluster’**
```r
      cl <- makeCluster(par_args$par_units, outfile = out_progress, ...)
            ^~~~~~~~~~~
```
[R/sperrorest.R:610:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L610) *warning:* **no visible global function definition for ‘plan’, Did you mean 'lag'?**
```r
      plan(cluster, workers = cl)
      ^~~~
```
[R/sperrorest.R:610:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L610) *warning:* **no visible binding for global variable ‘cluster’**
```r
      plan(cluster, workers = cl)
           ^~~~~~~
```
[R/sperrorest.R:616:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L616) *style:* **Lines should not be more than 80 characters.**
```r
        message(paste0("Please see 'sperrorest_progress' in your current", # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:617:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L617) *style:* **Lines should not be more than 80 characters.**
```r
                       " working directory for progress output on Windows.")) # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:621:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L621) *warning:* **no visible global function definition for ‘registerDoFuture’**
```r
      registerDoFuture()
      ^~~~~~~~~~~~~~~~
```
[R/sperrorest.R:622:7:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L622) *warning:* **no visible global function definition for ‘plan’, Did you mean 'lag'?**
```r
      plan(sequential)
      ^~~~
```
[R/sperrorest.R:622:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L622) *warning:* **no visible binding for global variable ‘sequential’**
```r
      plan(sequential)
           ^~~~~~~~~~
```
[R/sperrorest.R:633:47:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L633) *warning:* **local variable ‘pooled_pred_train’ assigned but may not be used**
```r
                          pooled_obs_train <- pooled_pred_train <- c()
                                              ^~~~~~~~~~~~~~~~~
```
[R/sperrorest.R:634:46:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L634) *warning:* **local variable ‘pooled_pred_test’ assigned but may not be used**
```r
                          pooled_obs_test <- pooled_pred_test <- c()
                                             ^~~~~~~~~~~~~~~~
```
[R/sperrorest.R:638:25:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L638) *warning:* **local variable ‘current_impo’ assigned but may not be used**
```r
                        current_impo <- resamp[[i]]
                        ^~~~~~~~~~~~
```
[R/sperrorest.R:643:42:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L643) *warning:* **no visible global function definition for ‘map’, Did you mean 'mad'?**
```r
                          current_res <- map(resamp[[i]], unclass)
                                         ^~~
```
[R/sperrorest.R:767:17:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/sperrorest.R#L767) *warning:* **no visible global function definition for ‘transfer_parallel_output’**
```r
  my_res_mod <- transfer_parallel_output(my_res, res, impo, pooled_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:52:37:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L52) *style:* **Variable or function name should be snake_case.**
```r
                                    na.rm = TRUE, ...) {
                                    ^~~~~
```
[R/summary_functions.R:56:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L56) *style:* **Lines should not be more than 80 characters.**
```r
      err <- lapply(err, function(x) t(sapply(x, function(y) data.frame(train = y$train,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:57:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L57) *style:* **Lines should not be more than 80 characters.**
```r
        test = y$test, distance = ifelse(any(names(y) == "distance"), y$distance,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:71:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L71) *style:* **Lines should not be more than 80 characters.**
```r
      err <- data.frame(mean = apply(err, 2, function(y) mean(unlist(y), na.rm = na.rm)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:72:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L72) *style:* **Lines should not be more than 80 characters.**
```r
        sd = apply(err, 2, function(y) sd(unlist(y), na.rm = na.rm)), median = apply(err,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:78:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L78) *style:* **Lines should not be more than 80 characters.**
```r
      err <- lapply(err, function(x) t(sapply(x, function(y) data.frame(train = y$train,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:79:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L79) *style:* **Lines should not be more than 80 characters.**
```r
        test = y$test, distance = ifelse(any(names(y) == "distance"), y$distance,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:84:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L84) *style:* **Lines should not be more than 80 characters.**
```r
      err <- lapply(err, function(x) apply(x, 2, function(y) weighted.mean(unlist(y),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:91:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L91) *style:* **Lines should not be more than 80 characters.**
```r
      err <- data.frame(mean = sapply(err, mean), sd = sapply(err, sd), median = sapply(err,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:103:59:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L103) *style:* **Variable or function name should be snake_case.**
```r
summary.sperrorestreperror <- function(object, level = 0, na.rm = TRUE, ...) {
                                                          ^~~~~
```
[R/summary_functions.R:130:61:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L130) *style:* **Variable or function name should be snake_case.**
```r
summary.sperrorestimportance <- function(object, level = 0, na.rm = TRUE,
                                                            ^~~~~
```
[R/summary_functions.R:133:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L133) *style:* **Lines should not be more than 80 characters.**
```r
  arrdimnames <- list(names(object), names(object[[1]]), rownames(object[[1]][[1]]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:146:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L146) *style:* **Lines should not be more than 80 characters.**
```r
      arr <- data.frame(mean = apply(arr, c(2, 3), mean, na.rm = na.rm), sd = apply(arr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:149:12:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L149) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    } else { # when does this happen?
           ^
```
[R/summary_functions.R:151:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L151) *style:* **Lines should not be more than 80 characters.**
```r
      arr <- data.frame(mean = apply(arr, 2, mean, na.rm = na.rm), sd = apply(arr, # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:152:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L152) *style:* **Lines should not be more than 80 characters.**
```r
        2, sd, na.rm = na.rm), median = apply(arr, 2, median, na.rm = na.rm), # nocov
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/summary_functions.R:236:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L236) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/summary_functions.R:237:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L237) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/summary_functions.R:238:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/R/summary_functions.R#L238) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[tests/testthat/test-helper-funs.R:18:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L18) *style:* **Lines should not be more than 80 characters.**
```r
  runfolds_single <- runfolds(j = 1, data = ecuador, current_sample = current_sample,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:19:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L19) *style:* **Lines should not be more than 80 characters.**
```r
                              formula = slides ~ dem + slope + hcurv + vcurv + log.carea + cslope,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:20:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L20) *style:* **Lines should not be more than 80 characters.**
```r
                              model_args = list(family = "binomial"), do_try = FALSE, model_fun = glm,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:21:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
                              error_fold = TRUE, error_rep = TRUE, imp_permutations = 2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:22:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
                              imp.variables = c("dem", "slope", "hcurv", "vcurv", "log.carea", "cslope"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:23:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L23) *style:* **Lines should not be more than 80 characters.**
```r
                              err_train = TRUE, importance = TRUE, current_res = current_res,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:24:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L24) *style:* **Lines should not be more than 80 characters.**
```r
                              pred.args = list(type = "response"), response = "slides", par_cl = 2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:25:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L25) *style:* **Lines should not be more than 80 characters.**
```r
                              coords = c("x", "y"), progress = 1, pooled_obs_train = c(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:44:11:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L44) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
          ^
```
[tests/testthat/test-helper-funs.R:44:22:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L44) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                     ^
```
[tests/testthat/test-helper-funs.R:44:39:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L44) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                      ^
```
[tests/testthat/test-helper-funs.R:44:50:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L44) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                                 ^
```
[tests/testthat/test-helper-funs.R:50:63:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L50) *style:* **Commas should always have a space after.**
```r
    if (!is.null(fac)) pred <- majority_filter(pred, newdata[,fac])
                                                              ^
```
[tests/testthat/test-helper-funs.R:58:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L58) *style:* **Lines should not be more than 80 characters.**
```r
  runfolds_single <- runfolds(j = 1, data = maipo, current_sample = current_sample,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:60:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L60) *style:* **Lines should not be more than 80 characters.**
```r
                              do_try = FALSE, model_fun = lda, pred_fun = lda_predfun,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:61:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L61) *style:* **Lines should not be more than 80 characters.**
```r
                              error_fold = TRUE, error_rep = TRUE, pred.args = list(fac = "field"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:62:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L62) *style:* **Lines should not be more than 80 characters.**
```r
                              err_train = TRUE, importance = FALSE, current_res = current_sample,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:64:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L64) *style:* **Lines should not be more than 80 characters.**
```r
                              coords = c("x", "y"), progress = 1, pooled_obs_train = c(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:80:71:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L80) *style:* **Commas should always have a space after.**
```r
  mypred_rpart <- function(object, newdata) predict(object, newdata)[,2]
                                                                      ^
```
[tests/testthat/test-helper-funs.R:82:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L82) *style:* **Lines should not be more than 80 characters.**
```r
  runfolds_single <- runfolds(j = 1, data = ecuador, current_sample = current_sample,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:83:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L83) *style:* **Lines should not be more than 80 characters.**
```r
                              formula = slides ~ dem + slope + hcurv + vcurv + log.carea + cslope,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:85:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L85) *style:* **Lines should not be more than 80 characters.**
```r
                              error_fold = TRUE, error_rep = TRUE, imp_permutations = 2, pred_fun = mypred_rpart,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:87:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L87) *style:* **Lines should not be more than 80 characters.**
```r
                              imp.variables = c("dem", "slope", "hcurv", "vcurv", "log.carea", "cslope"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:88:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L88) *style:* **Lines should not be more than 80 characters.**
```r
                              err_train = TRUE, importance = TRUE, current_res = current_res,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:90:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L90) *style:* **Lines should not be more than 80 characters.**
```r
                              coords = c("x", "y"), progress = 1, pooled_obs_train = c(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:121:63:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L121) *style:* **Commas should always have a space after.**
```r
    if (!is.null(fac)) pred <- majority_filter(pred, newdata[,fac])
                                                              ^
```
[tests/testthat/test-helper-funs.R:142:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L142) *style:* **Variable or function name should be snake_case.**
```r
  imp.one.rep <- readRDS("inst/test-objects/imp.one.rep.rda")
  ^~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:165:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L165) *style:* **Variable or function name should be snake_case.**
```r
  imp.one.rep <- readRDS("inst/test-objects/imp.one.rep.rda")
  ^~~~~~~~~~~
```
[tests/testthat/test-helper-funs.R:184:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-helper-funs.R#L184) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[tests/testthat/test-resample.R:10:52:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-resample.R#L10) *style:* **Only use double-quotes.**
```r
                              param = list(strat = 'slides', nstrat = 100))
                                                   ^~~~~~~~
```
[tests/testthat/test-resample.R:12:32:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-resample.R#L12) *style:* **Only use double-quotes.**
```r
  expect_equal(sum(d$slides == 'TRUE'), 100) # == 100
                               ^~~~~~
```
[tests/testthat/test-resample.R:20:55:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-resample.R#L20) *style:* **Only use double-quotes.**
```r
  d <- resample_uniform(ecuador, param = list(strat = 'slides', n = 400))
                                                      ^~~~~~~~
```
[tests/testthat/test-resample.R:25:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-resample.R#L25) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[tests/testthat/test-sperrorest-resampling.R:17:48:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L17) *style:* **Only use double-quotes.**
```r
  parti <- partition_cv_strat(ecuador, strat = 'slides', nfold = 5,
                                               ^~~~~~~~
```
[tests/testthat/test-sperrorest-resampling.R:28:44:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L28) *style:* **Only use double-quotes.**
```r
  parti <- partition_factor(ecuador, fac = 'zclass')
                                           ^~~~~~~~
```
[tests/testthat/test-sperrorest-resampling.R:37:47:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L37) *style:* **Only use double-quotes.**
```r
  parti <- partition_factor_cv(ecuador, fac = 'zclass', nfold = 5)
                                              ^~~~~~~~
```
[tests/testthat/test-sperrorest-resampling.R:98:63:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L98) *style:* **Commas should always have a space after.**
```r
  parti <- represampling_tile_bootstrap(ecuador, nsplit = c(4,2),
                                                              ^
```
[tests/testthat/test-sperrorest-resampling.R:107:65:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L107) *style:* **Commas should always have a space after.**
```r
  parti <- represampling_kmeans_bootstrap(ecuador, nsplit = c(4,2),
                                                                ^
```
[tests/testthat/test-sperrorest-resampling.R:133:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L133) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[tests/testthat/test-sperrorest-resampling.R:134:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-resampling.R#L134) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[tests/testthat/test-sperrorest-summary.R:213:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L213) *style:* **Variable or function name should be snake_case.**
```r
  smry.out <- summary(out)
  ^~~~~~~~
```
[tests/testthat/test-sperrorest-summary.R:231:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L231) *style:* **Variable or function name should be snake_case.**
```r
  smry.out <- summary(out)
  ^~~~~~~~
```
[tests/testthat/test-sperrorest-summary.R:241:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L241) *style:* **Variable or function name should be snake_case.**
```r
  lda.predfun <- function(object, newdata, fac = NULL) {
  ^~~~~~~~~~~
```
[tests/testthat/test-sperrorest-summary.R:247:5:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L247) *style:* **Variable or function name should be snake_case.**
```r
    majority.filter <- function(x, fac) {
    ^~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest-summary.R:249:11:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L249) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
          ^
```
[tests/testthat/test-sperrorest-summary.R:249:22:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L249) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                     ^
```
[tests/testthat/test-sperrorest-summary.R:249:39:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L249) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                      ^
```
[tests/testthat/test-sperrorest-summary.R:249:50:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L249) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                                 ^
```
[tests/testthat/test-sperrorest-summary.R:271:57:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L271) *style:* **Commas should always have a space after.**
```r
  out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                        ^
```
[tests/testthat/test-sperrorest-summary.R:279:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest-summary.R#L279) *style:* **Variable or function name should be snake_case.**
```r
  smry.out <- summary(out)
  ^~~~~~~~
```
[tests/testthat/test-sperrorest.R:46:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L46) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:60:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L60) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:74:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L74) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:95:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L95) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object,
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:101:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L101) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object,
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:102:73:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L102) *style:* **Commas should always have a space after.**
```r
                                                              newdata)[,2]
                                                                        ^
```
[tests/testthat/test-sperrorest.R:103:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L103) *style:* **Variable or function name should be snake_case.**
```r
            par.nsp.res <- sperrorest(data = ecuador, formula = fo,
            ^~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:135:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L135) *style:* **Lines should not be more than 80 characters.**
```r
                                 par_args = list(par_mode = "foreach", par_units = 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:141:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L141) *style:* **Lines should not be more than 80 characters.**
```r
test_that("sperrorest() variable importance with error_rep = F and error_fold = T", {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:226:21:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L226) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                  x[ fac == lev ] <- majority(x[ fac == lev ])
                    ^
```
[tests/testthat/test-sperrorest.R:226:32:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L226) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                  x[ fac == lev ] <- majority(x[ fac == lev ])
                               ^
```
[tests/testthat/test-sperrorest.R:226:49:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L226) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                  x[ fac == lev ] <- majority(x[ fac == lev ])
                                                ^
```
[tests/testthat/test-sperrorest.R:226:60:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L226) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                  x[ fac == lev ] <- majority(x[ fac == lev ])
                                                           ^
```
[tests/testthat/test-sperrorest.R:232:73:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L232) *style:* **Commas should always have a space after.**
```r
              if (!is.null(fac)) pred <- majority_filter(pred, newdata[,fac])
                                                                        ^
```
[tests/testthat/test-sperrorest.R:247:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L247) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:260:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L260) *style:* **Lines should not be more than 80 characters.**
```r
            expect_equal(names(out$error_rep)[[1]], "train.error") # check for train.error existence
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:263:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L263) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:268:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L268) *style:* **Lines should not be more than 80 characters.**
```r
                              par_args = list(par_mode = "future", par_units = 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:276:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L276) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:281:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L281) *style:* **Lines should not be more than 80 characters.**
```r
                              par_args = list(par_mode = "future", par_units = 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:304:11:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L304) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
          ^
```
[tests/testthat/test-sperrorest.R:304:22:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L304) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                     ^
```
[tests/testthat/test-sperrorest.R:304:39:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L304) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                      ^
```
[tests/testthat/test-sperrorest.R:304:50:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L304) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                                 ^
```
[tests/testthat/test-sperrorest.R:310:63:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L310) *style:* **Commas should always have a space after.**
```r
    if (!is.null(fac)) pred <- majority_filter(pred, newdata[,fac])
                                                              ^
```
[tests/testthat/test-sperrorest.R:324:57:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L324) *style:* **Commas should always have a space after.**
```r
  out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                        ^
```
[tests/testthat/test-sperrorest.R:336:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L336) *style:* **Lines should not be more than 80 characters.**
```r
  expect_equal(names(out$error_rep)[[1]], "train.error") # check for train.error existence
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:340:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L340) *style:* **Lines should not be more than 80 characters.**
```r
test_that("output length of list is correct for error_rep = TRUE and error_fold  = TRUE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:349:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L349) *style:* **Lines should not be more than 80 characters.**
```r
            mypred.rpart <- function(object, newdata) predict(object, newdata)[, 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:349:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L349) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object, newdata)[, 2]
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:354:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L354) *style:* **Lines should not be more than 80 characters.**
```r
            mypred.rpart <- function(object, newdata) predict(object, newdata)[,2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:354:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L354) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object, newdata)[,2]
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:354:81:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L354) *style:* **Commas should always have a space after.**
```r
            mypred.rpart <- function(object, newdata) predict(object, newdata)[,2]
                                                                                ^
```
[tests/testthat/test-sperrorest.R:355:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L355) *style:* **Variable or function name should be snake_case.**
```r
            par.nsp.res <- sperrorest(data = ecuador, formula = fo,
            ^~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:356:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L356) *style:* **Lines should not be more than 80 characters.**
```r
                                      model_fun = rpart, model_args = list(control = ctrl),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:360:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L360) *style:* **Lines should not be more than 80 characters.**
```r
                                      smp_args = list(repetition = 1:2, nfold = 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:361:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L361) *style:* **Lines should not be more than 80 characters.**
```r
                                      par_args = list(par_mode = "future", par_units = 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:367:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L367) *style:* **Lines should not be more than 80 characters.**
```r
# par_mode = "apply" variable importance Tue Feb 21 22:15:41 2017 ------------------------------
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:388:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L388) *style:* **Lines should not be more than 80 characters.**
```r
  expect_equal(names(nspres$error_rep)[[1]], "train.auroc") # check for train.auroc for binary response
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:389:1:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L389) *style:* **Lines should not be more than 80 characters.**
```r
  expect_equal(class(nspres$importance[[1]][[1]]), "data.frame") # check for importance object
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:461:11:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L461) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
          ^
```
[tests/testthat/test-sperrorest.R:461:22:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L461) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                     ^
```
[tests/testthat/test-sperrorest.R:461:39:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L461) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                      ^
```
[tests/testthat/test-sperrorest.R:461:50:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L461) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        x[ fac == lev ] <- majority(x[ fac == lev ])
                                                 ^
```
[tests/testthat/test-sperrorest.R:467:63:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L467) *style:* **Commas should always have a space after.**
```r
    if (!is.null(fac)) pred <- majority_filter(pred, newdata[,fac])
                                                              ^
```
[tests/testthat/test-sperrorest.R:477:3:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L477) *style:* **Variable or function name should be snake_case.**
```r
  res.lda.sp.par <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
  ^~~~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:477:68:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L477) *style:* **Commas should always have a space after.**
```r
  res.lda.sp.par <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                   ^
```
[tests/testthat/test-sperrorest.R:529:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L529) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:544:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L544) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:557:67:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L557) *style:* **Commas should always have a space after.**
```r
            out <- sperrorest(fo, data = maipo, coords = c("utmx","utmy"),
                                                                  ^
```
[tests/testthat/test-sperrorest.R:579:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L579) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object,
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:585:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L585) *style:* **Variable or function name should be snake_case.**
```r
            mypred.rpart <- function(object, newdata) predict(object,
            ^~~~~~~~~~~~
```
[tests/testthat/test-sperrorest.R:586:73:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L586) *style:* **Commas should always have a space after.**
```r
                                                              newdata)[,2]
                                                                        ^
```
[tests/testthat/test-sperrorest.R:587:13:](https://github.com/pat-s/sperrorest/blob/8aa6afd4c93fab78b183ff0b54d94ed240d75cd9/tests/testthat/test-sperrorest.R#L587) *style:* **Variable or function name should be snake_case.**
```r
            par.nsp.res <- sperrorest(data = ecuador, formula = fo,
            ^~~~~~~~~~~
```


Må tenke litt mer enn det jeg rakk idag på denne. Men det virker som ting er over-spesifisert på ett eller anna vis..


Slowly creeping in - I have commented on that here and there. I like type hints (oh I do), _but_ since they are supported minimally in python 2, there are bugs in IDE support ( for instance two very annoying ones: https://youtrack.jetbrains.com/issue/PY-4813, https://youtrack.jetbrains.com/issue/PY-15743 ) and we are in mid refactoring it isn't something we're focused on. Once we have a cleaner codebase to work with (actually getting there) we should sit down and define a policy - maybe use pyi files etc.

However the ones I introduce (`# type: foo`) are the semi standard syntax for python 2 and new code could benefit from them


@pmoulon  thanks!


Docker - at least two 1.5 GB containers and maybe 3 smaller ones. Plus slow deployment. Plus more money especially if ecs is used instead of just single instance.

As for ansible I prefer predictability of imperative approach here and of already tested deployment.


Resolves #19.


Bewared that this makes background images turn to black when loading a core/content.


Handled in https://github.com/Railcraft/Railcraft/commit/c16317d39ed8543c328cadc8d2ed77eca9ba2357


Indeed, it also points out where a few data structures are lacking / imperfect in their implementations. Hopefully taking another look and cleaning those up will fix some of this mess.


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/2138633b-b637-42e5-a0d3-a7a7c67f4985 "heroScore"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/e2d19d58-c0e3-402c-b6fb-3defb1646f39 "Pipeline") deployed [heroScore](https://github.com/garrettrowe/heroScore/releases/tag/deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-030643 "deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-030643") to [dev](https://console.ng.bluemix.net/apps/44683708-2aad-4ebd-9abf-2db47669c741?env_id=ibm:yp:us-south "ibm:yp:us-south:garrett.rowe@us.ibm.com:dev"), including this commit


Cool.


等等


It looked fine. Apologies if there is a bigger merge process and I missed
it! Just trying to help :)
On Wed, May 31, 2017 at 3:46 AM Justin Dorfman <notifications@github.com>
wrote:

> @RichardLitt <https://github.com/richardlitt> why was this merged?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/sustainers/website/commit/8f28c62d467cf2f3d644fff1f6c008f3ed56bc3f#commitcomment-22337759>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AA3loR8ySEtwx9-QYfrorXtck3naKULdks5r_MZugaJpZM4NrDms>
> .
>


new creat


LGTM.

@abhinandanpb I've confirmed that I now see the IPAM driver in the network inspect of the configOnly network. I can also use IPAM in global mode now.

I'll need to go back and verify if I can use IPAM in global mode without the network.ipamType set. If I can't, then I would recomment this get merged.


Fixed on `0.5.0-rc4`


Oh, nice! Can't wait for this!
Hope you release a new version soon!


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/2138633b-b637-42e5-a0d3-a7a7c67f4985 "heroScore"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/e2d19d58-c0e3-402c-b6fb-3defb1646f39 "Pipeline") deployed [heroScore](https://github.com/garrettrowe/heroScore/releases/tag/deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-031825 "deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-031825") to [dev](https://console.ng.bluemix.net/apps/44683708-2aad-4ebd-9abf-2db47669c741?env_id=ibm:yp:us-south "ibm:yp:us-south:garrett.rowe@us.ibm.com:dev"), including this commit


rc-calendar 不再依赖 hoverValue 计算 onSelect 是第一次点击还是第二次点击。

cc @afc163


tanghouhu


# 2. Sample code for Twitter Sentiment Analysis using tweepy.api and textblob


The lastest version of Nop is MVC 5 ?


没升版本直接改用例会挂的吧。


when you said "Paused" i was thinking it was when you press P hotkey.

is this expected to happen if loading a core without content? (load core, press F1, then press F1 again to go back to menu);
![akumajou dracula japan -170531-111406](https://cloud.githubusercontent.com/assets/23315382/26614454/19c1bc6e-45f3-11e7-9b8d-88460681958f.png)


Is there anyway to view output addresses with balances?


What's this for?


In files:
`src/skin/js/FindDepositSlip.js` - Line 26
`src/skin/js/GroupView.js` - Line 240

````
      "url": window.CRM.root + "/skin/locale/dataTables/" + window.CRM.locale + ".json"
````
should be
````
      "url": window.CRM.root + "/skin/locale/datatables/" + window.CRM.locale + ".json"
````
The difference is that `dataTables` should be `datatables`


Actually probedisk is extensively used in the rox desktop and rootfs scripts in general... it also fixed other bugs we don't know about.

I guess mmcblk0p2 should show as the boot partition with the "(un) Mount" button disabled. I think i have to use a full install to see if i hit the same bug. I have to perform a full install. But i guess i'll build a puppy first. I think i read some time ago of someone having problems with pmount and many partitions... after all this time maybe the best solution was keep the dialogs as primitive as possible..


aaa


@pgleeson - replaced these to be more consistent with Neuron notation, and so importFromCell function works. Mentioned in case you have example models outside of this repo that you need to update.


@mainland this never went through a real deprecation cycle...


ERROR: [PMD-CPD] 35 lines duplicated.
app/src/main/java/com/framgia/forder/screen/createProduct/CreateProductPresenter.java


ERROR: [PMD-CPD] 16 lines duplicated.
app/src/main/java/com/framgia/forder/screen/createProduct/CreateProductViewModel.java


ERROR: [PMD-CPD] 27 lines duplicated.
app/src/main/java/com/framgia/forder/screen/createProduct/CreateProductFragment.java


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    #define PRIME_SIZE  100000

    int main(void)
    {
        int i,j=0,k;
        int a[PRIME_SIZE];
        char temp[100] = "";
        FILE*fp=fopen("prime.txt","w");

        a[0]=2;
        j=1;
        sprintf(temp, "%d\n", 2);
        fwrite(temp,1,strlen(temp),fp);

        for(i=3;i<1000000;i+=2)
        {
            for(k=0;k<j;k++)
            {
                if(i%a[k]==0)
                    break;
            }

            if(k >= j)
            {
                //prime number
                a[j]=i;
                j++;
                sprintf(temp, "%d\n", i);
                fwrite(temp,1,strlen(temp),fp);
            }
        }
        fclose(fp);
        printf("DONE!!\n");
        return 0;
    }


@vjeantet Here's a reference I use often while working with git which has been baked into devdocs.io for offline use: https://git-scm.com/.

WRT force pushes [it has this to say](https://git-scm.com/docs/git-push#git-push---force):

> This flag disables these checks, and can cause the remote repository to lose commits; use it with care.

It's generally a good practice to _protect_ your _master_ branch on origin and limit force pushes to topic branches only. In the off chance you push up secrets to your repo and need to clean them out the [BFG Repo Cleaner](https://github.com/rtyley/bfg-repo-cleaner) may be used. It rewrites history, though, but preserves references to rewritten commits.


First of all, stargeo is a monolith application. We need only one container for it. And Nginx container with custom configuration. Why are you talking about 5 containers?

Using Alpine base image can decrease a size of a container to 700 MB.
Anyway, the size is not a point, because this huge amount of data is a project dependency. It will be downloaded once. After that, only last layer of docker image with a new version of source code will update, so it will same fast deployment as current we have.

There is no extra cost of using Docker, the performance will be the same we can use the same instance.
ECS provides a lot of useful stuff, such as monitoring and log management.

>As for ansible I prefer the predictability of imperative approach here and of already tested deployment.
It's a point. You like imperative approach, I don't. We can argue a lot about it. Let' move a conversation about it to offline.


this should be reverted


144488793-Correct-surface-convection-calculation-6037 (mjwitte) - Win64-Windows-7-VisualStudio-14: OK (2498 of 2499 tests passed, 0 test warnings)

Messages:

 * 1 test had: EIO diffs.
 * 1 test had: ESO big diffs.
 * 1 test had: MTR big diffs.
 * 1 test had: Table big diffs.

Failures:

regression Test Summary
 * Passed: 598
 * Failed: 1

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.96%25-yellow.png)


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/2138633b-b637-42e5-a0d3-a7a7c67f4985 "heroScore"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/e2d19d58-c0e3-402c-b6fb-3defb1646f39 "Pipeline") deployed [heroScore](https://github.com/garrettrowe/heroScore/releases/tag/deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-033435 "deploy-ibm-yp-us-south-garrett.rowe-us.ibm.com-dev-20170531-033435") to [dev](https://console.ng.bluemix.net/apps/44683708-2aad-4ebd-9abf-2db47669c741?env_id=ibm:yp:us-south "ibm:yp:us-south:garrett.rowe@us.ibm.com:dev"), including this commit


Puzzle `1-f94e5eee` disappeared in [`MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistCalls.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistCalls.cs), that's why I closed #202.


Puzzle `1-9d715faf` discovered in [`MonoDragons.Core/MouseControls/MouseClicking.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MonoDragons.Core/MouseControls/MouseClicking.cs) and submitted as #203.


Puzzle `1-81795b27` discovered in [`MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistCalls.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistCalls.cs) and submitted as #204.


I wasn't able to retrieve PDD puzzles from the code base (if you think that it's a bug on your our side, please submit it to [yegor256/0pdd](https://github.com/yegor256/0pdd/issues)):

```
Tag "1-94a27929/submit" already exists, won't submit again. This situation most probably means that this puzzle was already seen in the code and you're trying to create it again. We would recommend you to re-phrase the text of the puzzle and push again. If this doesn't work, pleas let us know in GitHub: https://github.com/yegor256/0pdd/issues
/app/objects/logged_tickets.rb:39:in `submit'
/app/objects/commit_tickets.rb:39:in `submit'
/app/objects/emailed_tickets.rb:37:in `submit'
/app/objects/puzzles.rb:86:in `block in submit'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:in `upto'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:in `each'
/app/objects/puzzles.rb:86:in `map'
/app/objects/puzzles.rb:86:in `submit'
/app/objects/puzzles.rb:44:in `deploy'
/app/objects/job.rb:42:in `proceed'
/app/objects/job_starred.rb:35:in `proceed'
/app/objects/job_recorded.rb:33:in `proceed'
/app/objects/job_emailed.rb:36:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:51:in `block in exclusive'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:104:in `timeout'
/app/objects/job_detached.rb:49:in `exclusive'
/app/objects/job_detached.rb:39:in `block in proceed'
/app/objects/job_detached.rb:39:in `fork'
/app/objects/job_detached.rb:39:in `proceed'
/app/0pdd.rb:241:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/logger.rb:15:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/commonlogger.rb:33:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/handler/webrick.rb:88:in `service'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
```


Hello. New to mining and linux for that matter.... having the hardest time getting this shell script to run in the terminal. Entering ./start-bfgminer.sh, and I get nothing.


Really? It doesn't make sense to me :P I don't understand why Go has to dynamically allocate the functions when it's using a type alias here, there's no extra context captured and the type is used in the subroutines and it doesn't cause a memory allocation in those cases... kind of a mystery to me.


We don't have that information. See: https://github.com/QubesOS/qubes-issues/issues/2711


Should we add opt-out instructions somewhere here, or at least link to https://github.com/DoctorMcKay/node-stats-reporter#opting-out?


D'oh - we should probably update the CI to at least build the RPM, even if we're not using the installed version in the integration tests yet.


I forgot to add it to the readme. Added now.


Resolves #10.


copy/paste error? Should be "current listers"?


Executing the daily benchmark build, I will reply here when finished:

@nanosoldier `runbenchmarks(ALL, isdaily = true)`


Do we really need .pro.user in code base? It might be good to update .gitignore


Wow, this looks well thought-out @cpovirk!

At a first glance, I like how `FluentFuture` takes the most-likely-to-be-used aspects of `CompletableFuture` or `CompletableStage`, and turns those aspects into a much smaller, more compact and apparently easier-to-learn API than those other classes provide.

So please do let everyone who worked on this commit know that they get a great big pat on the back from me. :)


# YCTransformCoordinate
当用到CLLocationManager 得到的数据转化为火星坐标, MKMapView不用处理
传到第三方导航需要转换到地图坐标（GPS坐标） 最好以GPS坐标为标准

API                坐标系
百度地图API         百度坐标
腾讯搜搜地图API      火星坐标
搜狐搜狗地图API      搜狗坐标
阿里云地图API       火星坐标
图吧MapBar地图API   图吧坐标
高德MapABC地图API   火星坐标
灵图51ditu地图API   火星坐标

使用方法：
例
CLLocation *location = [[CLLocation alloc] initWithLatitude:45.11111 longitude:121.66666];
CLLocation *trasLocation = [location locationEarthFromMars];


Took another look at ansible. It's use here is just ridiculous: abstracting each line with 2 lines (+ abstaction itself), and less flexibility - can't just use python or shell anywhere, less predictability.

On docker. Python scientific libraries can't be used on alpine in absenсe of glibc. One can use slim, but the majority of space is libs anyway so it maybe 1.3 not 1.5 GB at best.

Packing all processes into single docker is going against docker practices and will cause grief. Also, if going this way we give up everything docker provides but predicatable os/paths. Which we get anyway until we only use EC2 Ubuntu.


希望大家多多支持


Might be a good idea to follow RAII(https://en.wikipedia.org/wiki/Resource_acquisition_is_initialization).


哈哈哈哈哈哈


要不要把spring version 改成4


correct?


TeamCity SayMore :: SayMore pull requests [Build *.*.32.5aeb4f876bbc5363ac21ed91098a9b65e4a8359d](http://build.palaso.org/viewLog.html?buildId=92324&buildTypeId=SayMore_SayMorePullRequests) outcome was **FAILURE**
Summary: Failed to resolve artifact dependency Build time: 00:00:27


It doesn't cause any large errors.

```
 (strpos($content, self::$spoonTxtContent) > -1) && (strrpos($content, "yes") > strrpos($content, "?"))
A && B
>> Simplifying variables
true && B
>> A is always true because strpos always returns greater than 1
B
>> By identity rule (T && x ==> x)
 (strrpos($content, "yes") > strrpos($content, "?"))
>> Replacing B with original variable
```
So effectively the first check has no effect in version `0.0.0` and starts working in `0.0.1`.


WARNING: [UnusedAttribute] Attribute `backgroundTint` is only used in API level 21 and higher (current min is 16)
 This check finds attributes set in XML files that were introduced in a version newer than the oldest version targeted by your application (with the `minSdkVersion` attribute).

This is not an error; the application will simply ignore the attribute. However, if the attribute is important to the appearance of functionality of your application, you should consider finding an alternative way to achieve the same result with only available attributes, and then you can optionally create a copy of the layout in a layout-vNN folder which will be used on API NN or higher where you can take advantage of the newer attribute.

Note: This check does not only apply to attributes. For example, some tags can be unused too, such as the new `<tag>` element in layouts introduced in API 21.


WARNING: [RtlHardcoded] Consider adding `android:layout_marginEnd="@dimen/dp_5"` to better support right-to-left layouts
 Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. *NOTE*: If your `minSdkVersion` is less than 17, you should add *both* the older left/right attributes *as well as* the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)


WARNING: [RtlHardcoded] Consider adding `android:layout_marginStart="@dimen/dp_5"` to better support right-to-left layouts
 Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. *NOTE*: If your `minSdkVersion` is less than 17, you should add *both* the older left/right attributes *as well as* the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)


myDropdownMenu


@luixxiul no- apologies... merging now


I wasn't able to retrieve PDD puzzles from the code base (if you think that it's a bug on your our side, please submit it to [yegor256/0pdd](https://github.com/yegor256/0pdd/issues)):

```
Tag "1-9d715faf/submit" already exists, won't submit again. This situation most probably means that this puzzle was already seen in the code and you're trying to create it again. We would recommend you to re-phrase the text of the puzzle and push again. If this doesn't work, pleas let us know in GitHub: https://github.com/yegor256/0pdd/issues
/app/objects/logged_tickets.rb:39:in `submit'
/app/objects/commit_tickets.rb:39:in `submit'
/app/objects/emailed_tickets.rb:37:in `submit'
/app/objects/puzzles.rb:86:in `block in submit'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:in `upto'
/app/vendor/bundle/ruby/2.2.0/gems/nokogiri-1.7.2/lib/nokogiri/xml/node_set.rb:186:in `each'
/app/objects/puzzles.rb:86:in `map'
/app/objects/puzzles.rb:86:in `submit'
/app/objects/puzzles.rb:44:in `deploy'
/app/objects/job.rb:42:in `proceed'
/app/objects/job_starred.rb:35:in `proceed'
/app/objects/job_recorded.rb:33:in `proceed'
/app/objects/job_emailed.rb:36:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:51:in `block in exclusive'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:104:in `timeout'
/app/objects/job_detached.rb:49:in `exclusive'
/app/objects/job_detached.rb:39:in `block in proceed'
/app/objects/job_detached.rb:39:in `fork'
/app/objects/job_detached.rb:39:in `proceed'
/app/0pdd.rb:241:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/logger.rb:15:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/commonlogger.rb:33:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/handler/webrick.rb:88:in `service'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
```


Doubutsu.pde


TeamCity SayMore :: SayMore pull requests [Build *.*.33.5aeb4f876bbc5363ac21ed91098a9b65e4a8359d](http://build.palaso.org/viewLog.html?buildId=92326&buildTypeId=SayMore_SayMorePullRequests) outcome was **FAILURE**
Summary: Failed to resolve artifact dependency Build time: 00:00:22


TeamCity SayMore :: SayMore pull requests [Build *.*.34.5aeb4f876bbc5363ac21ed91098a9b65e4a8359d](http://build.palaso.org/viewLog.html?buildId=92327&buildTypeId=SayMore_SayMorePullRequests) outcome was **FAILURE**
Summary: Exit code 1 (new) Build time: 00:00:50


机场


They are already named as *.html.template.

The problem here is that there is a feature in resources.get_rendered() that it renders admin.html.template by get_rendered("admin.html"). And the feature is used by some static contents such as home.html.template.


I do not know if it is a wanted behavior, but the index disappeared in a lot of arrays


Thanks!


Error found


Whitelisting is hard because the admin can dynamically add new static pages (stored in the datastore) at /global/admin/resources page.

Anyway this is a temporary fix as I mentioned. So far I believe the right solution is to separate the directories for dynamic and static contents.


@reach2jeyan have a look at this


spells 43685 and 43691 have npc target 24412 in spell_script_target, but this npcs not spawned in DB, so this is not works
24412 checked in tbc-db & wotlk-db


@cristian99garcia, this patch looks interesting, but was never merged.  What can you tell me about it?  What was the plan or task?

I've tested on Ubuntu 16.04 and Fedora 18.  Audio files are played without problem.  Video files don't show moving picture; only audio.


for some reason. This didn't work on my local workspace in Win10. I had to use:

function mvnw() {
	if (isWin()) {
		return 'mvnw.cmd';
	}
	return "./mvnw";
}


Done


no it isnt. Hopefully the OP and @Kivutar can look into this.


@thyarles you need to sign Plone Contributor Agreement in order to merge this pull request.

Learn about the Plone Contributor Agreement: http://docs.plone.org/develop/coredev/docs/contributors_agreement_explained.html


This creates a undesirable/complicated situation for CI/CD and Docker builds.

As the folder by default has a .gitignore (as per docs as well) builds try to create files in `bootstrap/cache` although the dir does not exist...

Forcing devs to place a "placeholder" file so git can track the empty dir...


develop (mjwitte) - x86_64-MacOS-10.9-clang: OK (1897 of 1897 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.png)


I also added a data property to the AppMessage class so that I can pass a payload along with the event name / value pair but I am not sure I like this approach to sharing data between components.  I think it makes more sense to continue to use the service for this.  This will make more sense when I migrate toward using routes instead of using ngSwitch for the various Cellar view states.


yeah i get that, i'm happy with you to make changes as you think is best, but is it possible for you to make a pull request and immediately merge it? pushing directly to master means changes are silent to anyone watching the repo, which is not great for a "significant" change to the home page, and pull requests also help provide a way for others to give feedback even if you don't care to wait before merging the changes.


> Is there a snapshot that this works with

`Package@swift-4.swift` should work with `swift-DEVELOPMENT-SNAPSHOT-2017-05-30-a`.
On `swift-4.0-branch`, it will work after final re-branch. [[swift-dev] final re-branching for Swift 4 is June 1](https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20170417/004405.html)


TeamCity SayMore :: SayMore pull requests [Build *.*.35.01701f96adb1de8444ad24b5d87ff836ba493eff](http://build.palaso.org/viewLog.html?buildId=92328&buildTypeId=SayMore_SayMorePullRequests) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:00:51


If plugins are using spoondetector through virions, declaring the version `^0` or `^0.0` or `^0.0.0`, it should still work.


API 2.0.0 is for PHP 7.0 only anyway ;) When Poggit apply the `php` attribute into plugins, since PocketMine does not provide such attribute, the PocketMine API versions are mapped into PHP the PHP version they require, so if you have `php: [5.6, 7.0]`, PocketMine API versions that don't support either `5.6` or `7.0` will be deleted from the `api` array.


I'm seeing some unexpected NPEs here on 2.2 and 2.4 where, apparently, the DAO is `null`. Any idea what might cause those? Started appearing after I started using `If-None-Exists`, FWIW.

(I'm going to see if I can repro against a recent build, to get the extra error info you've added here.)


This is the fun thing ;) It is actually Now and Here. The reason behind the name is same as that for HereAuth ;)


#6105-HW-supplemental-heating-coil-in-AirloopHVAC-UnitarySystem-not-controlling-to-set-point (mjwitte) - i386-Windows-7-VisualStudio-14: OK (2497 of 2499 tests passed, 4 test warnings)

Messages:

 * 6 tests had: EIO diffs.
 * 2 tests had: ERR diffs.
 * 3 tests had: ESO small diffs.
 * 4 tests had: Table small diffs.
 * 2 tests had: ESO big diffs.
 * 2 tests had: MTR big diffs.
 * 2 tests had: Table big diffs.
 * 1 test had: MTR small diffs.

Failures:

regression Test Summary
 * Passed: 597
 * Failed: 2

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.92%25-yellow.png)


this is third project


Puzzle `1-0f33082f` disappeared in [`MegaBuy/Calls/Conversation Pieces/CallScenario.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MegaBuy/Calls/Conversation Pieces/CallScenario.cs), that's why I closed #166.


Puzzle `1-d9fec21d` disappeared in [`MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistPolicies.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistPolicies.cs), that's why I closed #199.


good kawsu


Puzzle `1-e7a4b25b` disappeared in [`MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistPolicies.cs`](https://github.com/EnigmaDragons/MegaBuy/blob/master/MegaBuy/Jobs/ReturnSpecialist/ReturnSpecialistPolicies.cs), that's why I closed #200.