[inst/examples/example_distanceFromEachPoint.R:37:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/inst/examples/example_distanceFromEachPoint.R#L37) *style:* **Commented code should be removed.**
```r
#beginCluster(3) # can do parallel
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/example_distanceFromEachPoint.R:40:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/inst/examples/example_distanceFromEachPoint.R#L40) *style:* **Commented code should be removed.**
```r
#endCluster() # if beginCluster was run
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/example_spread.R:54:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/inst/examples/example_spread.R#L54) *style:* **Commented code should be removed.**
```r
## Interrupt a spread event using iterations - need `returnIndices = TRUE` to
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/example_spread.R:247:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/inst/examples/example_spread.R#L247) *style:* **Commented code should be removed.**
```r
## Note: `neighProbs = c(0,1)` forces each active pixel to move to 2 new pixels
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/example_spread.R:248:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/inst/examples/example_spread.R#L248) *style:* **Commented code should be removed.**
```r
## (`prob = 0` for 1 neighbour, `prob = 1` for 2 neighbours)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:243:3:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L243) *style:* **Commented code should be removed.**
```r
# ### INCORPORATE RELEVANT PARTS OF THIS OLD INIT FUNCTION INTO INITCOORDS()
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:248:3:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L248) *style:* **Commented code should be removed.**
```r
# #'                      (currently only \code{RasterLayer} or
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:249:3:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L249) *style:* **Commented code should be removed.**
```r
# #'                      \code{SpatialPolygonsDataFrame}) accepted.
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:259:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L259) *style:* **Commented code should be removed.**
```r
#     ext <- extent(agentlocation)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:261:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L261) *style:* **Commented code should be removed.**
```r
#       #            nonNAs <- !is.na(getvalue(probinit))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:262:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L262) *style:* **Commented code should be removed.**
```r
#       nonNAs <- !is.na(getValues(probinit))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:263:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L263) *style:* **Commented code should be removed.**
```r
#       wh.nonNAs <- which(nonNAs)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:264:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L264) *style:* **Commented code should be removed.**
```r
#       #            ProbInit.v <- cumsum(getvalue(probinit)[nonNAs])
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:265:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L265) *style:* **Commented code should be removed.**
```r
#       ProbInit.v <- cumsum(getValues(probinit)[nonNAs])
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:267:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L267) *style:* **Commented code should be removed.**
```r
#         ran <- runif(numagents,0,1)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:268:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L268) *style:* **Commented code should be removed.**
```r
#         fI <- findInterval(ran, ProbInit.v)+1
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:269:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L269) *style:* **Commented code should be removed.**
```r
#         fI2 <- wh.nonNAs[fI]
          ^~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:270:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L270) *style:* **Commented code should be removed.**
```r
#         last.ran <- runif(numagents,0,1)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:271:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L271) *style:* **Commented code should be removed.**
```r
#         last.fI <- findInterval(last.ran, ProbInit.v)+1
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:272:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L272) *style:* **Commented code should be removed.**
```r
#         last.fI2 <- wh.nonNAs[last.fI]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:274:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L274) *style:* **Commented code should be removed.**
```r
#         #                va <- getvalue(probinit)[nonNAs]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:275:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L275) *style:* **Commented code should be removed.**
```r
#         va <- getValues(probinit)[nonNAs]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:276:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L276) *style:* **Commented code should be removed.**
```r
#         ran <- runif(length(va), 0, 1)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:277:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L277) *style:* **Commented code should be removed.**
```r
#         fI2 <- wh.nonNAs[ran<va]
          ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:279:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L279) *style:* **Commented code should be removed.**
```r
#         last.ran <- runif(length(fI2), 0, 1)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:280:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L280) *style:* **Commented code should be removed.**
```r
#         last.fI <- findInterval(last.ran, ProbInit.v) + 1
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:281:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L281) *style:* **Commented code should be removed.**
```r
#         last.fI2 <- wh.nonNAs[last.fI]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:283:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L283) *style:* **Commented code should be removed.**
```r
#         #                last.ran <- runif(length(fI2),0,1)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:284:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L284) *style:* **Commented code should be removed.**
```r
#         #                last.fI2 <- wh.nonNAs[last.ran<va]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:287:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L287) *style:* **Commented code should be removed.**
```r
#         position <- xyFromCell(agentlocation,fI2,spatial = TRUE)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:289:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L289) *style:* **Commented code should be removed.**
```r
#         position <- coordinates(agentlocation)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:291:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L291) *style:* **Commented code should be removed.**
```r
#         stop("need raster layer or Spatial Points object")
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:293:9:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L293) *style:* **Commented code should be removed.**
```r
#       numagents <- length(position)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:301:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L301) *style:* **Commented code should be removed.**
```r
#           colnames(xy) = c("x", "y")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:302:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L302) *style:* **Commented code should be removed.**
```r
#           position <- SpatialPoints(xy)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:303:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L303) *style:* **Commented code should be removed.**
```r
#           position <- SpatialPoints(sampleRandom(agentlocation, numagents, xy = TRUE, sp = TRUE))
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:305:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L305) *style:* **Commented code should be removed.**
```r
#           sam <- sample(1:length(agentlocation),numagents)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:306:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L306) *style:* **Commented code should be removed.**
```r
#           position <- SpatialPoints(agentlocation[sam,])
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:308:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L308) *style:* **Commented code should be removed.**
```r
#           stop("need raster layer or Spatial Points object")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:315:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L315) *style:* **Commented code should be removed.**
```r
#           position <- SpatialPoints(agentlocation)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:317:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L317) *style:* **Commented code should be removed.**
```r
#           stop("need raster layer or Spatial Points object")
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:319:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L319) *style:* **Commented code should be removed.**
```r
#         numagents <- length(position)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:327:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L327) *style:* **Commented code should be removed.**
```r
#         numagents <- length(position)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:331:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L331) *style:* **Commented code should be removed.**
```r
#     stop("Need to provide agentlocation, which can be a map layer")
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:333:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L333) *style:* **Commented code should be removed.**
```r
#   heading1 <- runif(numagents, 0, 360)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:334:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L334) *style:* **Commented code should be removed.**
```r
#   distance <- runif(numagents, 0.1, 10)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:336:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L336) *style:* **Commented code should be removed.**
```r
#   .Object@ID <- as.character(1:numagents)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:337:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L337) *style:* **Commented code should be removed.**
```r
#   .Object@spatial <- position
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:338:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L338) *style:* **Commented code should be removed.**
```r
#   .Object@heading <- heading1
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:339:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L339) *style:* **Commented code should be removed.**
```r
#   .Object@distance <- distance
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialize.R:341:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/initialize.R#L341) *style:* **Commented code should be removed.**
```r
#   return(.Object)
    ^~~~~~~~~~~~~~~
```
[R/mapReduce.R:50:38:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/mapReduce.R#L50) *style:* **Variable or function name should be lowerCamelCase.**
```r
  fullRasterVals <- fullRasterVals[, row_number := 1L:.N]
                                     ^~~~~~~~~~
```
[R/mapReduce.R:53:3:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/mapReduce.R#L53) *style:* **Variable or function name should be lowerCamelCase.**
```r
  BsumVec <- reduced[fullRasterVals] # join
  ^~~~~~~
```
[R/neighbourhood.R:112:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L112) *style:* **Variable or function name should be lowerCamelCase.**
```r
adj.raw <- function(x = NULL, cells, directions = 8, sort = FALSE, pairs = TRUE,
^~~~~~~
```
[R/neighbourhood.R:114:21:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L114) *style:* **Variable or function name should be lowerCamelCase.**
```r
                    match.adjacent = FALSE, cutoff.for.data.table = 2e3,
                    ^~~~~~~~~~~~~~
```
[R/neighbourhood.R:114:45:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L114) *style:* **Variable or function name should be lowerCamelCase.**
```r
                    match.adjacent = FALSE, cutoff.for.data.table = 2e3,
                                            ^~~~~~~~~~~~~~~~~~~~~
```
[R/neighbourhood.R:117:3:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L117) *style:* **Variable or function name should be lowerCamelCase.**
```r
  J <- NULL
  ^
```
[R/neighbourhood.R:232:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L232) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
            ^
```
[R/neighbourhood.R:232:14:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L232) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
             ^
```
[R/neighbourhood.R:232:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L232) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
              ^
```
[R/neighbourhood.R:233:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L233) *style:* **Lines should not be more than 100 characters.**
```r
              ((adj[, "from"] %% numCol + adj[, "to"] %% numCol) == 1)) # | #right & left edge cells, with neighbours wrapped
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/neighbourhood.R:233:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L233) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              ((adj[, "from"] %% numCol + adj[, "to"] %% numCol) == 1)) # | #right & left edge cells, with neighbours wrapped
               ^
```
[R/neighbourhood.R:237:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L237) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
            ^
```
[R/neighbourhood.R:237:14:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L237) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
             ^
```
[R/neighbourhood.R:237:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L237) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]) | # top or bottom of raster
              ^
```
[R/neighbourhood.R:238:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L238) *style:* **Lines should not be more than 100 characters.**
```r
              ((adj[, "from"] %% numCol + adj[, "to"] %% numCol) == 1)) # | #right & left edge cells, with neighbours wrapped
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/neighbourhood.R:238:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L238) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              ((adj[, "from"] %% numCol + adj[, "to"] %% numCol) == 1)) # | #right & left edge cells, with neighbours wrapped
               ^
```
[R/neighbourhood.R:248:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L248) *style:* **Put spaces around all infix operators.**
```r
        numCol*(adj[whLefRig, "from"] - adj[whLefRig, "to"])
             ~^~
```
[R/neighbourhood.R:248:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L248) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        numCol*(adj[whLefRig, "from"] - adj[whLefRig, "to"])
               ^
```
[R/neighbourhood.R:249:20:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L249) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      whBotTop <- ((adj[, "to"] - 1) %% numCell + 1) != adj[, "to"]
                   ^
```
[R/neighbourhood.R:296:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L296) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((to - 1) %% numCell + 1) != to) |  #top or bottom of raster
            ^
```
[R/neighbourhood.R:296:14:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L296) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((to - 1) %% numCell + 1) != to) |  #top or bottom of raster
             ^
```
[R/neighbourhood.R:296:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L296) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          !((((to - 1) %% numCell + 1) != to) |  #top or bottom of raster
              ^
```
[R/neighbourhood.R:297:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L297) *style:* **Lines should not be more than 100 characters.**
```r
              ((from %% numCol + to %% numCol) == 1))# | #right & left edge cells, with neighbours wrapped
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/neighbourhood.R:297:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L297) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              ((from %% numCol + to %% numCol) == 1))# | #right & left edge cells, with neighbours wrapped
               ^
```
[R/neighbourhood.R:313:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L313) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
              ^
```
[R/neighbourhood.R:313:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L313) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
               ^
```
[R/neighbourhood.R:313:17:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L313) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
                ^
```
[R/neighbourhood.R:313:52:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L313) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
                                                   ^
```
[R/neighbourhood.R:318:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L318) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
              ^
```
[R/neighbourhood.R:318:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L318) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
               ^
```
[R/neighbourhood.R:318:17:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L318) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
                ^
```
[R/neighbourhood.R:318:52:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L318) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            !((((to - 1) %% numCell + 1) != to) | ((from %% numCol + to %% numCol) == 1))
                                                   ^
```
[R/neighbourhood.R:327:22:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L327) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        whBotTop <- ((adj$to - 1) %% numCell + 1) != adj$to
                     ^
```
[R/neighbourhood.R:342:22:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L342) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        whBotTop <- ((adj$to - 1) %% numCell + 1) != adj$to
                     ^
```
[R/neighbourhood.R:854:29:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L854) *style:* **Variable or function name should be lowerCamelCase.**
```r
setGeneric("wrap", function(X, bounds, withHeading) {
                            ^
```
[R/neighbourhood.R:863:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L863) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/neighbourhood.R:880:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L880) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/neighbourhood.R:890:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L890) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/neighbourhood.R:891:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L891) *style:* **Variable or function name should be lowerCamelCase.**
```r
    X <- wrap(X, bounds = extent(bounds))
    ^
```
[R/neighbourhood.R:900:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L900) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/neighbourhood.R:901:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L901) *style:* **Variable or function name should be lowerCamelCase.**
```r
    X <- wrap(X, bounds = extent(bounds))
    ^
```
[R/neighbourhood.R:910:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L910) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/neighbourhood.R:913:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L913) *style:* **Variable or function name should be lowerCamelCase.**
```r
      X <- wrap(X, bounds = extent(bounds))
      ^
```
[R/neighbourhood.R:925:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L925) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/neighbourhood.R:950:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L950) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/neighbourhood.R:951:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L951) *style:* **Variable or function name should be lowerCamelCase.**
```r
      X <- wrap(X, bounds = extent(bounds), withHeading = withHeading)
      ^
```
[R/neighbourhood.R:960:25:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L960) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/neighbourhood.R:963:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/neighbourhood.R#L963) *style:* **Variable or function name should be lowerCamelCase.**
```r
      X <- wrap(X, bounds = extent(bounds), withHeading = withHeading)
      ^
```
[R/RcppExports.R:67:20:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/RcppExports.R#L67) *style:* **Variable or function name should be lowerCamelCase.**
```r
runifC <- function(N) {
                   ^
```
[R/RcppExports.R:70:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/RcppExports.R#L70) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/SELES.R:53:23:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/SELES.R#L53) *style:* **Variable or function name should be lowerCamelCase.**
```r
numAgents <- function(N, probInit) {
                      ^
```
[R/spread.R:429:13:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L429) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((minValue(spreadProb) > 1L) || (maxValue(spreadProb) < 0L) ||
            ^
```
[R/spread.R:434:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L434) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if (((minValue(spreadProbLater) > 1L) || (maxValue(spreadProbLater) < 0L) ||
              ^
```
[R/spread.R:434:16:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L434) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if (((minValue(spreadProbLater) > 1L) || (maxValue(spreadProbLater) < 0L) ||
               ^
```
[R/spread.R:538:8:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L538) *style:* **Commented code should be removed.**
```r
      #isNASpreadProb <- is.na(spreadProb[])
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread.R:540:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L540) *style:* **Commented code should be removed.**
```r
      #   isNASpreadProb <- is.na(spreadProb[])
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread.R:541:11:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L541) *style:* **Commented code should be removed.**
```r
      #   spreadProb[isNASpreadProb] <- 0L
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread.R:783:43:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L783) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              if (any(circleMaxRadius <= ((n - 1) * res(landscape)[1]))) {
                                          ^
```
[R/spread.R:807:19:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L807) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          if (any((size + len) > maxSize & size <= maxSize)) {
                  ^
```
[R/spread.R:927:75:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L927) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            toKeepSR <- !(eventCells[, "id"] %fin% as.numeric(names(which((shouldStop)))))
                                                                          ^
```
[R/spread.R:937:17:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L937) *style:* **Place a space before left parenthesis, except in a function call.**
```r
            if ((returnDistances | spreadStateExists) & !allowOverlap) {
                ^
```
[R/spread.R:942:41:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread.R#L942) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              notDupsEvents <- notDups[-(1:(nrSpreads - nrPotentials))]
                                        ^
```
[R/spread2.R:532:29:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L532) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        whNeedJump <- which(((clusterDT$numRetries + 1) %% 10) == 0)
                            ^
```
[R/spread2.R:532:30:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L532) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        whNeedJump <- which(((clusterDT$numRetries + 1) %% 10) == 0)
                             ^
```
[R/spread2.R:621:32:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L621) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          effDists <- dists * ((2 - angleQualities[, "angleQuality"]) / 2 *
                               ^
```
[R/spread2.R:699:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L699) *style:* **Commented code should be removed.**
```r
            # colnamesDtPot <- colnames(dtPotential)
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread2.R:700:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L700) *style:* **Commented code should be removed.**
```r
            # ll <-  lapply(colnamesDtPot, function(x) dtPotential[[x]][!spreadProbNA])
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread2.R:701:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L701) *style:* **Commented code should be removed.**
```r
            # names(ll) <- colnamesDtPot
              ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/spread2.R:702:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/R/spread2.R#L702) *style:* **Commented code should be removed.**
```r
            # dtPotential <- as.data.table(ll)
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-adj.R:53:38:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-adj.R#L53) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                             if (sum((adjDT - adj2[, colOrd]) ^ 2) == 0) {
                                     ^
```
[tests/testthat/test-adj.R:57:46:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-adj.R#L57) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                               expect_gt(sum((adjDT - adj2[, colOrd]) ^ 2), 0)
                                             ^
```
[tests/testthat/test-examples.R:2:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-examples.R#L2) *style:* **Commented code should be removed.**
```r
#   fns <- ls("package:SpaDES.tools")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:23:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L23) *style:* **Commented code should be removed.**
```r
  #expect_equal(sort(unique(getValues(biomass))), sort(reducedDT$biomass))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:27:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L27) *style:* **Commented code should be removed.**
```r
#   library(data.table)
    ^~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:28:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L28) *style:* **Commented code should be removed.**
```r
#   library(raster)
    ^~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:31:6:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L31) *style:* **Commented code should be removed.**
```r
#    detach("package:data.table")
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:35:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L35) *style:* **Commented code should be removed.**
```r
#   ras <- raster(extent(0,15,0,15), res=1)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:36:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L36) *style:* **Commented code should be removed.**
```r
#   fullRas <- randomPolygons(ras, numTypes=5, speedup=1, p=0.3)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:37:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L37) *style:* **Commented code should be removed.**
```r
#   names(fullRas) <- "mapcodeAll"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:38:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L38) *style:* **Commented code should be removed.**
```r
#   uniqueComms <- raster::unique(fullRas)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:42:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L42) *style:* **Commented code should be removed.**
```r
#     biomass=rnbinom(length(uniqueComms), mu=4000, 0.4)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:44:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L44) *style:* **Commented code should be removed.**
```r
#   biomass <- rasterizeReduced(reducedDT, fullRas, "biomass")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:46:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L46) *style:* **Commented code should be removed.**
```r
#   expect_equal(sort(unique(getValues(biomass))), sort(reducedDT$biomass))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:47:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L47) *style:* **Commented code should be removed.**
```r
#   expect_equal(length(unique(getValues(biomass))), length(unique(getValues(fullRas))))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:49:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L49) *style:* **Commented code should be removed.**
```r
#   setkey(reducedDT, biomass)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:50:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L50) *style:* **Commented code should be removed.**
```r
#   communities <- rasterizeReduced(reducedDT, fullRas, "communities")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:51:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L51) *style:* **Commented code should be removed.**
```r
#   expect_equal(sort(unique(getValues(communities))), sort(reducedDT$communities))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:52:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L52) *style:* **Commented code should be removed.**
```r
#   expect_equal(length(unique(getValues(communities))), length(unique(getValues(fullRas))))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:56:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L56) *style:* **Commented code should be removed.**
```r
#   library(data.table)
    ^~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:57:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L57) *style:* **Commented code should be removed.**
```r
#   library(raster)
    ^~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:60:6:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L60) *style:* **Commented code should be removed.**
```r
#    detach("package:data.table")
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:64:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L64) *style:* **Commented code should be removed.**
```r
#   ras <- raster(extent(0, 15, 0, 15), res = 1)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:65:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L65) *style:* **Commented code should be removed.**
```r
#   fullRas <- randomPolygons(ras, numTypes = 5, speedup = 1, p = 0.3)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:67:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L67) *style:* **Commented code should be removed.**
```r
#   uniqueComms <- raster::unique(fullRas)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:71:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L71) *style:* **Commented code should be removed.**
```r
#     biomass=rnbinom(length(uniqueComms), mu = 4000, 0.4)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:73:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L73) *style:* **Commented code should be removed.**
```r
#   biomass <- rasterizeReduced(reducedDT, fullRas, "biomass")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:75:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L75) *style:* **Commented code should be removed.**
```r
#   setkey(reducedDT, biomass)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:76:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L76) *style:* **Commented code should be removed.**
```r
#   communities <- rasterizeReduced(reducedDT, fullRas, "communities")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:77:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L77) *style:* **Commented code should be removed.**
```r
#   expect_equal(sort(unique(getValues(communities))), sort(reducedDT$communities))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:81:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L81) *style:* **Commented code should be removed.**
```r
#   library(data.table)
    ^~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:82:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L82) *style:* **Commented code should be removed.**
```r
#   library(raster)
    ^~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:85:6:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L85) *style:* **Commented code should be removed.**
```r
#    detach("package:data.table")
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:89:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L89) *style:* **Commented code should be removed.**
```r
#   ras <- raster(extent(0,15,0,15), res=1)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:90:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L90) *style:* **Commented code should be removed.**
```r
#   fullRas <- randomPolygons(ras, numTypes=5, speedup=1, p=0.3)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:91:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L91) *style:* **Commented code should be removed.**
```r
#   names(fullRas) <- "mapcodeAll"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:92:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L92) *style:* **Commented code should be removed.**
```r
#   uniqueComms <- raster::unique(fullRas)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:96:7:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L96) *style:* **Commented code should be removed.**
```r
#     biomass=rnbinom(length(uniqueComms), mu=4000, 0.4)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:98:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L98) *style:* **Commented code should be removed.**
```r
#   biomass <- rasterizeReduced(reducedDT, fullRas, "biomass")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:100:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L100) *style:* **Commented code should be removed.**
```r
#   setkey(reducedDT, biomass)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:101:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L101) *style:* **Commented code should be removed.**
```r
#   communities <- rasterizeReduced(reducedDT, fullRas, "communities")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mapReduce.R:102:5:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-mapReduce.R#L102) *style:* **Commented code should be removed.**
```r
#   expect_equal(length(unique(getValues(communities))), length(unique(getValues(fullRas))))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-splitRaster.R:151:8:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-splitRaster.R#L151) *style:* **Commented code should be removed.**
```r
      #detach("package:raster")
       ^~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-splitRaster.R:247:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-splitRaster.R#L247) *style:* **Commented code should be removed.**
```r
  #expect_equal(min(values(m)), min(values(r))) ## Error: cannot allocate vector of size 4.8 Gb
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-splitRaster.R:266:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-splitRaster.R#L266) *style:* **Commented code should be removed.**
```r
  #expect_equal(max(values(m1)), max(values(r)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-splitRaster.R:267:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-splitRaster.R#L267) *style:* **Commented code should be removed.**
```r
  #expect_equal(min(values(m1)), min(values(r)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread.R:209:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread.R#L209) *style:* **Lines should not be more than 100 characters.**
```r
    if (interactive()) Plot(circEdge, addTo = "circs", cols = c("transparent", rainbow(numCircs)[whCirc]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread.R:601:15:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread.R#L601) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  expect_true((radius * 1.5) %>=% max(dists[, "dists"]))
              ^
```
[tests/testthat/test-spread2.R:474:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L474) *style:* **Lines should not be more than 100 characters.**
```r
  ##                                    expr       min        lq      mean   median        uq       max neval
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:475:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L475) *style:* **Lines should not be more than 100 characters.**
```r
  ##         iterativeFun(ras, FALSE, n, sp)  3.096979 12.642477  73.02248 35.17520  91.10528  764.4073   300
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:475:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L475) *style:* **Commented code should be removed.**
```r
  ##         iterativeFun(ras, FALSE, n, sp)  3.096979 12.642477  73.02248 35.17520  91.10528  764.4073   300
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:476:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L476) *style:* **Lines should not be more than 100 characters.**
```r
  ##      nonIterativeFun(ras, FALSE, n, sp)  1.509484  6.555565  31.18444 14.91066  42.78317  158.5237   300
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:476:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L476) *style:* **Commented code should be removed.**
```r
  ##      nonIterativeFun(ras, FALSE, n, sp)  1.509484  6.555565  31.18444 14.91066  42.78317  158.5237   300
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:477:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L477) *style:* **Lines should not be more than 100 characters.**
```r
  ##           origSpread(ras, FALSE, n, sp)  5.154006  7.555631  14.87158 11.49005  17.50599  231.5487   300
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:477:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L477) *style:* **Commented code should be removed.**
```r
  ##           origSpread(ras, FALSE, n, sp)  5.154006  7.555631  14.87158 11.49005  17.50599  231.5487   300
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:478:1:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L478) *style:* **Lines should not be more than 100 characters.**
```r
  ## origSpreadIterations(ras, FALSE, n, sp) 10.754669 51.524368 141.48620 93.61996 169.10808 2110.2683   300
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:478:4:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L478) *style:* **Commented code should be removed.**
```r
  ## origSpreadIterations(ras, FALSE, n, sp) 10.754669 51.524368 141.48620 93.61996 169.10808 2110.2683   300
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-spread2.R:702:38:](https://github.com/PredictiveEcology/SpaDES.tools/blob/f12bc741bfd4b94408e511edf162623c4c92f874/tests/testthat/test-spread2.R#L702) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  ciCentre[seq_len(ncell(ciCentre))[-(ncell(ciCentre) / 2 - ncol(ciCentre) / 2)]] <- NA_integer_
                                     ^
```


@graingert The fixes show up in the output for certain formatters (e.g., json). They are not applied to the filesystem at all. The idea is that editors or scripts could use the output and apply the fixes to buffers that are not files.

If you have any thoughts on how the documentation can be improved in light of this information, please feel free to create an issue or PR. Thanks!


@oleavr Isn't this name random? Wouldn't it be clearer to configure a build dir added to gitignore?


yes, but isn't mine correct?


Postv8.8IDDChanges (mjwitte) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (2819 of 2819 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 think you probably want a `CMD` line at the bottom of the `Dockerfile` so it actually runs something, but besides that I think it is good?


@mcmillion do you still hate Facebook?


"полнота списка городов зависит от OpenWeatherMap API, который предоставляет данные о погоде" - это необходимо написать в "предположения и зависимости"


Postv8.8IDDChanges (mjwitte) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1561 of 1561 tests passed, 0 test warnings)

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


nil не нужен, просто в массиве пока 2 элемента


A pipe is a data tunnel. So we don't need intermediate PNGs. (at least on OSX&Linux)


Seems this is causing test failures:
```======================================================================
ERROR: test_run_non_ascii_file (test_cli.CommandLineTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/marvin/pkg/build/yamllint/src/yamllint-1.8.1/tests/test_cli.py", line 302, in test_run_non_ascii_file
    locale.setlocale(locale.LC_ALL, 'C.UTF-8')
  File "/usr/lib/python3.6/locale.py", line 598, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

----------------------------------------------------------------------
Ran 276 tests in 8.206s

FAILED (errors=1)
```

Edit: This passes if it's changed to `en_US.UTF-8`.


Используй метод insert, т.к. в текущей реализации у тебя может быть только 1 промежуточная станция, очевидно, что в маршруте их может быть больше


Лучше сделай так, чтобы метод принимал тип в качестве аргумента и возвращал кол-во только для этого типа


Не нужен puts, нужно просто возвращать кол-во, т.е. число


Этот метод лишний. Нужен один метод, который принимает тип как аргумент


Nice :D


Используй оператор `+=`


As described in #491 the URL preview is kind of useless. Should be able to preview image instead or to simply embed image right away and close the Image dropdown right after.

![screen shot 2017-10-10 at 2 44 38 pm](https://user-images.githubusercontent.com/1565793/31404555-5b55a7dc-adca-11e7-8ef4-4aeab0271566.png)


если вагонов не было, тут будет отрицательное число


Идея верная, но этого не достаточно. Нужно во-первых, проверить, что мы не выйдем за пределы маршрута, во-вторых, отправить поезд с текущей станции и принять на следующей


Added.


sounds good


см. замечания к методу station_forward


how to update trity
where put a code


I'll test it with a CMD as well but it works now with just the entrypoint, e.g. if you have the correct creds in config.env and run `make dev` you'll have a prod-equivalent copy of metabase being served from your vm.


Нужно сделать 3 отдельных метода и без всяких puts - нужно возвращать объекты


Don't you think it will be better to implement all interfaces rather than extend `ThreadPoolTaskExecutor`? I'm afraid if `ThreadPoolTaskExecutor#initializeExecutor` will be called and new dummy `ThreadPoolExecutor` is created.


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/79bd8a4c-04a5-411b-870f-c6f8826d52e2 "weather integration"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/c6c17c25-0e07-4d2e-876b-12e3c7ad0cb6 "weather1") deployed [weather1](https://github.com/gvitiello/weather1/releases/tag/deploy-ibm-yp-us-south-o2tb-dev-20171010-185407 "deploy-ibm-yp-us-south-o2tb-dev-20171010-185407") to [dev](https://console.bluemix.net/apps/58d32edc-47a8-4887-902d-4baf5dfc0dc6?env_id=ibm:yp:us-south "ibm:yp:us-south:o2tb:dev"), including this commit


User could be removed from study, so need to check link status also


Вони мали б повернути мін або мах серед цифр a, b, c


Hi @danielmotaleite,

Thank you for letting me know. Would you tell me how long you will take to fix this issue?


Removed and parentheses added in equations.


NICE


Puzzle `40-5225b520` discovered in [`tb/sources/cpu.py`](https://github.com/DronMDF/telebot/blob/master/tb/sources/cpu.py) and submitted as #42.


Puzzle `40-b7de133b` discovered in [`tb/sources/syslog.py`](https://github.com/DronMDF/telebot/blob/master/tb/sources/syslog.py) and submitted as #43.


powinno byc `./public/index.html`


Chhanged.


Added database


co tu sie wydarzylo? :)
Ten plik to powinien byc zwykly html z divem o id `root`


Changed.


This is the location of the "to dos" we wrote this morning -- the following should be a section called "New feature proposal process" or something like that, and before this section, we should describe the state of the test262
(1) not completely comprehensive but pretty comprehensive
(2) aims to test every "observable" behavior identified in ECMAScript
(3) contributions to make existing test of existing features more comprehensive are welcome and encouraged

You probably still have these edits open in a file but I thought I'd doc them here while it's on my mind :)


Thanks!


Here is a comment about a commit


Even though it's not a good practise to directly push from local to remote "Development" branch, these particular changes were breaking the code literally.


Yeah, with React 16 we don't need to wrap anymore.


дійсно працює коли просто x=a;
але в кінці все одно потрібно  return x;


@cproc: done, thx


Added.


// ==UserScript==
// @name        Slither.io Invincible HackBot
// @namespace   http://slither.io/
// @description Slither.io Invincible HackBot by CTHack
// @include     http://slither.io/
// @version     1.0
// @grant       none
// ==/UserScript==
window.log = function() {
    if (window.logDebugging) {
        console.log.apply(console, arguments);
    }
};
// Appends divs to the page - used to display things on the screen
window.appendDiv = function(id, className, style) {
    // Create a div
    var div = document.createElement('div');
    // Check for id
    if (id) {
        // Set the id
        div.id = id;
    }
    // Check for class name
    if (className) {
        // Set the class name
        div.className = className;
    }
    // Check for css styles
    if (style) {
        // Set the css styles
        div.style = style;
    }
    // Append the div to the page
    document.body.appendChild(div);
};

// Saves username when you click on "Play" button
window.play_btn.btnf.addEventListener('click', function() {
    window.saveNick();
});
// Save nickname when you press "Enter"
window.nick_holder.addEventListener('keypress', function(e) {
    if (e.keyCode == 13) {
        window.saveNick();
    }
});
// Save nickname
window.saveNick = function() {
    var nick = {'Slither Invincible Hack'}
    window.savePreference('savedNick', nick);
};

// Set fake mouse coordinates
window.setMouseCoordinates = function(x, y) {
    window.xm = x;
    window.ym = y;
};
// Coordinates relative to the center (snake position).
window.mouseRelativeToCenter = function(x, y) {
    var mapX = x - window.getWidth() / 2;
    var mapY = y - window.getHeight() / 2;
    return [mapX, mapY];
};
// Mouse coordinates to screen coordinates
window.mouseToScreen = function(x, y) {
    var screenX = x + (window.getWidth() / 2);
    var screenY = y + (window.getHeight() / 2);
    return [screenX, screenY];
};
// Screen to canvas coordinates
window.screenToCanvas = function(x, y) {
    var canvasX = window.csc * (x * window.canvasRatio[0]) - parseInt(window.mc.style.left);
    var canvasY = window.csc * (y * window.canvasRatio[1]) - parseInt(window.mc.style.top);
    return [canvasX, canvasY];
};
// Map to mouse coordinates
window.mapToMouse = function(x, y) {
    var mouseX = (x - window.getX()) * window.gsc;
    var mouseY = (y - window.getY()) * window.gsc;
    return [mouseX, mouseY];
};
// Canvas width
window.getWidth = function() {
    return window.ww;
};
// Canvas height
window.getHeight = function() {
    return window.hh;
};
// X coordinates on the screen
window.getX = function() {
    return window.snake.xx;
};
// Y coordinates on the screen
window.getY = function() {
    return window.snake.yy;
};
// Updates the relation between the screen and the canvas
window.onresize = function() {
    window.resize();
    // Canvas different size from the screen (often bigger). Gives a ratio so we can convert
    window.canvasRatio = [window.mc.width / window.getWidth(), window.mc.height / window.getHeight()];
};
// Lets you zoom in and out using the mouse wheel
window.setZoom = function(e) {
    // Scaling ratio
    if (window.gsc) {
        window.gsc *= Math.pow(0.9, e.wheelDelta / -120 || e.detail / 2 || 0);
    }
};
// FPS counter
window.framesPerSecond = {
    startTime: 0,
    frameNumber: 0,
    filterStrength: 40,
    lastLoop: 0,
    frameTime: 0,
    getFPS: function() {
        var thisLoop = performance.now();
        var thisFrameTime = thisLoop - this.lastLoop;
        this.frameTime += (thisFrameTime - this.frameTime) / this.filterStrength;
        this.lastLoop = thisLoop;
        return (1000 / this.frameTime).toFixed(0);
    }
};

// Set background - default is slither.io's own background
function setBackground(url = '/s/bg45.jpg') {
    window.ii.src = url;
}
// Reset zoom
window.resetZoom = function() {
        window.gsc = 0.9;
    }
    // Get scaling ratio
window.getScale = function() {
    return window.gsc;
};
// Snake length
window.getSnakeLength = function() {
    return (Math.floor(150 * (window.fpsls[window.snake.sct] + window.snake.fam / window.fmlts[window.snake.sct] - 1) - 50) / 10);
};
// Save the original slither.io onmousemove function so we can re enable it back later
window.mousemovelistener = window.onmousemove;

// Starts the bot
window.launchBot = function() {
    window.log('Starting Bot.');
    window.isBotRunning = true;
    // Removed the onmousemove listener so we can move the snake manually by setting coordinates
    window.onmousemove = function() {};
};
// Stops the bot
window.stopBot = function() {
    window.log('Stopping Bot.');
    // Re enable the original onmousemove function
    window.onmousemove = window.mousemovelistener;
    window.isBotRunning = false;
    // Clear the interval which starts the bot
};

// Connects the bot
window.connectBot = function() {
    if (!window.autoRespawn) return;
    // Stop the bot
    window.stopBot();
    window.log('Connecting...');
    // Connect the bot
    window.connect();
    // Check if bot can start
    window.botCanStart = setInterval(function() {
        if (window.playing) {
            window.launchBot();
            clearInterval(window.botCanStart);
        }
    }, 100);
};

// Save variable to local storage
window.savePreference = function(item, value) {
    window.localStorage.setItem(item, value);
};

// Load a variable from local storage
window.loadPreference = function(preference, defaultVar) {
    var savedItem = window.localStorage.getItem(preference);
    if (savedItem !== null) {
        if (savedItem == 'true') {
            window[preference] = true;
        } else if (savedItem == 'false') {
            window[preference] = false;
        } else {
            window[preference] = savedItem;
        }
        window.log('Setting found for ' + preference + ': ' + window[preference]);
    } else {
        window[preference] = defaultVar;
        window.log('No setting found for ' + preference + '. Used default: ' + window[preference]);
    }
    return window[preference];
};

// Save the original slither.io onkeydown function so we can add stuff to it
document.oldKeyDown = document.onkeydown;
// Re write the function with our function
document.onkeydown = function(e) {
    // Original slither.io onkeydown function + whatever is under it
    document.oldKeyDown(e);
    if (document.activeElement.parentElement !== window.nick_holder) {
        // Letter `T` to toggle bot
        if (e.keyCode === 84) {
            if (window.isBotRunning) {
                window.stopBot();
                window.isBotEnabled = false;
            } else {
                window.launchBot(5);
                window.isBotEnabled = true;
            }
        }
        // Letter 'U' to toggle debugging (console)
        if (e.keyCode === 85) {
            window.logDebugging = !window.logDebugging;
            console.log('Log debugging set to: ' + window.logDebugging);
            window.savePreference('logDebugging', window.logDebugging);
        }
        // Letter 'Y' to toggle debugging (visual)
        if (e.keyCode === 89) {
            window.visualDebugging = !window.visualDebugging;
            console.log('Visual debugging set to: ' + window.visualDebugging);
            window.savePreference('visualDebugging', window.visualDebugging);
        }
        // Letter 'I' to toggle autorespawn
        if (e.keyCode === 73) {
            window.autoRespawn = !window.autoRespawn;
            console.log('Automatic Respawning set to: ' + window.autoRespawn);
            window.savePreference('autoRespawn', window.autoRespawn);
        }
        // Letter 'O' to change rendermode (visual)
        if (e.keyCode === 79) {
            window.mobileRender = !window.mobileRender;
            console.log('Mobile rendering set to: ' + window.mobileRender);
            window.savePreference('mobileRender', window.mobileRender);
            // Set render mode
            if (window.mobileRender) {
                setBackground('data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs');
                window.render_mode = 1;
            } else {
                setBackground();
                window.render_mode = 2;
            }
        }
        // Letter 'P' to toggle hunting Prey
        if (e.keyCode === 80) {
            window.huntPrey = !window.huntPrey;
            console.log('Prey hunting set to: ' + window.huntPrey);
            window.savePreference('huntPrey', window.huntPrey);
        }

        // Letter 'C' to toggle Collision detection / enemy avoidance
        if (e.keyCode === 67) {
            window.collisionDetection = !window.collisionDetection;
            console.log('collisionDetection set to: ' + window.collisionDetection);
            window.savePreference('collisionDetection', window.collisionDetection);
        }

        // Letter 'A' to increase collision detection radius
        if (e.keyCode === 65) {
            window.collisionRadiusMultiplier++;
            console.log('collisionRadiusMultiplier set to: ' + window.collisionRadiusMultiplier);
            window.savePreference('collisionRadiusMultiplier', window.collisionRadiusMultiplier);
        }

        // Letter 'S' to decrease collision detection radius
        if (e.keyCode === 83) {
            if (window.collisionRadiusMultiplier > 1) {
                window.collisionRadiusMultiplier--;
                console.log('collisionRadiusMultiplier set to: ' + window.collisionRadiusMultiplier);
                window.savePreference('collisionRadiusMultiplier', window.collisionRadiusMultiplier);
            }
        }

        // Letter 'D' to toggle defence mode
        if (e.keyCode === 68) {
            window.defence = !window.defence;
            console.log('Defence set to: ' + window.defence);
            window.savePreference('defence', window.defence);
        }
        // Letter 'Z' to reset zoom
        if (e.keyCode === 90) {
            window.resetZoom();
        }
    }
};
// Snake width
window.getSnakeWidth = function() {
    return window.snake.sc * 15 * window.getScale();
};
// Sorting function for food, from property 'distance'
window.sortFood = function(a, b) {
    // a.sz & b.sz - size
    // Divide distance by size so bigger food is prioritised over smaller food
    return a.distance / a.sz - b.distance / b.sz;
};
// Sorting function for prey, from property 'distance'
window.sortPrey = function(a, b) {
    return a.distance - b.distance;
};

// Convert object coordinates to radians
window.getAngleFromObject = function(object) {
    var x = object.xx - window.getX();
    var y = object.yy - window.getY();
    return Math.atan2(x, y);
};

// Polar angle to Cartesian angles
window.getCoordsFromAngle = function(angle) {
    var x = Math.cos(angle) * 100;
    var y = Math.sin(angle) * 100;
    return [x, y];
};

// Given an object (of which properties xx and yy are not null), return the object with an additional property 'distance'
window.getDistanceFromMe = function(point) {
    if (point === null) return null;
    point.distance = window.getDistance(window.getX(), window.getY(), point.xx, point.yy);
    return point;
};
// Get a distance from point (x1; y1) to point (x2; y2).
window.getDistance = function(x1, y1, x2, y2) {
    // Calculate the vector coordinates.
    var xDistance = (x1 - x2);
    var yDistance = (y1 - y2);
    // Get the absolute value of each coordinate
    xDistance = xDistance < 0 ? xDistance * -1 : xDistance;
    yDistance = yDistance < 0 ? yDistance * -1 : yDistance;
    //Add the coordinates of the vector to get a distance. Not the real distance, but reliable for distance comparison.
    var distance = xDistance + yDistance;
    // Real distance but not needed. Here for reference -
    // var distance = Math.sqrt(Math.pow(xDistance, 2) + Math.pow(yDistance, 2));
    return distance;
};
// Checks to see if you are going to collide with anything in the collision detection radius
window.checkCollision = function(x, y, r) {
    var circle1 = collisionScreenToCanvas({
        x: x,
        y: y,
        radius: r
    });
    if (window.visualDebugging) {
        window.drawDot(circle1.x, circle1.y, circle1.radius, 'blue', false);
    }
    var avoid = false;
    var circle2;

    for (var snake in window.snakes) {
        if (window.snakes[snake].nk != window.snake.nk) {
            for (var y = window.snakes[snake].pts.length - 1; 0 <= y; y--) {
                if (!window.snakes[snake].pts[y].dying) {
                    circle2 = {
                        x: window.snakes[snake].pts[y].xx + window.snakes[snake].fx,
                        y: window.snakes[snake].pts[y].yy + window.snakes[snake].fy,
                        radius: 15 * window.snakes[snake].sc * window.getScale()
                    };
                    if (window.circleIntersect(circle1, collisionScreenToCanvas(circle2))) {
							window.changeGoalCoords(circle2);
							avoid = true;
                    }
                }
            }
        }
    }

	return avoid;
};
// Screen to Canvas coordinate conversion - used for collision detection
window.collisionScreenToCanvas = function(circle) {
    var newCircle = window.mapToMouse(circle.x, circle.y);
    newCircle = window.mouseToScreen(newCircle[0], newCircle[1]);
    newCircle = window.screenToCanvas(newCircle[0], newCircle[1]);

    return {
        x: newCircle[0],
        y: newCircle[1],
        radius: circle.radius
    };
};
// Change direction
window.changeGoalCoords = function(circle1) {
	if ((circle1.x != window.collisionPoint.x && circle1.y != window.collisionPoint.y)) {
		window.collisionPoint = circle1;
		window.goalCoordinates = window.mapToMouse(window.snake.xx + (window.snake.xx - window.collisionPoint.x), window.snake.yy + (window.snake.yy - window.collisionPoint.y));
		window.setAcceleration(0);
		window.setMouseCoordinates(goalCoordinates[0], goalCoordinates[1]);
	}
};
// Check if circles intersect
window.circleIntersect = function(circle1, circle2) {
    if (quickCollisionCheck(circle1, circle2)) {
        if (collisionCheck(circle1, circle2)) {
            return true;
        } else {
            return false;
        }
    } else {
        return false;
    }
};
// Quickly check if we are going to collide with anything
window.quickCollisionCheck = function(circle1, circle2) {
    return (circle1.x + circle1.radius + circle2.radius > circle2.x &&
        circle1.x < circle2.x + circle1.radius + circle2.radius &&
        circle1.y + circle1.radius + circle2.radius > circle2.y &&
        circle1.y < circle2.y + circle1.radius + circle2.radius);
};
// Collision check
window.collisionCheck = function(circle1, circle2) {
    distance = Math.sqrt(((circle1.x - circle2.x) * (circle1.x - circle2.x)) + ((circle1.y - circle2.y) * (circle1.y - circle2.y)));

    if (distance < circle1.radius + circle2.radius) {
        collisionPointX = ((circle1.x * circle2.radius) + (circle2.x * circle1.radius)) / (circle1.radius + circle2.radius);
        collisionPointY = ((circle1.y * circle2.radius) + (circle2.y * circle1.radius)) / (circle1.radius + circle2.radius);

        if (window.visualDebugging) {
            window.drawDot(collisionPointX, collisionPointY, circle2.radius, 'cyan', true);
            window.drawDot(circle2.x, circle2.y, circle2.radius, 'red', true);
        }
        return true;
    } else {
        return false;
    }
};

// Sort food based on distance
window.getSortedFood = function() {
    // Filters the nearest food by getting the distance
    return window.foods.filter(function(val) {
        return val !== null;
    }).map(window.getDistanceFromMe).sort(window.sortFood);
};
// Sort prey based on distance
window.getSortedPrey = function() {
    // Filters the nearest food by getting the distance
    return window.preys.filter(function(val) {
        return val !== null;
    }).map(window.getDistanceFromMe).sort(window.sortPrey);
};
// Draw dots on the canvas
window.drawDot = function(x, y, radius, colour, fill) {
    var context = window.mc.getContext('2d');
    context.beginPath();
    context.strokeStyle = '#00FF00';
    context.arc(x, y, radius * window.getScale(), 0, Math.PI * 2);
    context.closePath();
    if (fill) {
        context.fillStyle = ('green red white yellow black cyan blue'.indexOf(colour) < 0) ? 'white' : colour;
        context.fill();
        context.fillStyle = 'black';
    }
};

// Draw lines on the canvas
window.drawLine = function(x2, y2, colour) {
    var context = window.mc.getContext('2d');
    var center = [window.mc.height / 2, window.mc.width / 2];
    context.lineWidth = 5 * window.getScale();
    context.strokeStyle = (colour === 'green') ? '#00FF00' : '#FF0000';
    context.moveTo(center[1], center[0]);
    context.lineTo(x2, y2);
    context.stroke();
    context.strokeStyle = '#000000';
};
// Save the original slither.io oef function so we can add things to it later
window.oldOef = window.oef;
window.oef = function() {
    // Original slither.io oef function + whatever is under it
    // requestAnimationFrame(window.loop);
    window.oldOef();
    if (window.isBotRunning) window.loop();
    window.onFrameUpdate();
};
window.handleTextColor = function(enabled) {
    return 'enabled' : 'red;\">disabled') + '';
};
window.onFrameUpdate = function() {
    // Botstatus overlay
    var generalStyle = '';
    window.botstatus_overlay.innerHTML = generalStyle + '(T) Bot: ' + window.handleTextColor(window.isBotRunning);
    window.visualdebugging_overlay.innerHTML = generalStyle + '(Y) Visual debugging: ' + window.handleTextColor(window.visualDebugging);
    window.logdebugging_overlay.innerHTML = generalStyle + '(U) Log debugging: ' + window.handleTextColor(window.logDebugging);
    window.autorespawn_overlay.innerHTML = generalStyle + '(I) Auto respawning: ' + window.handleTextColor(window.autoRespawn);
    window.rendermode_overlay.innerHTML = generalStyle + '(O) Mobile rendering: ' + window.handleTextColor(window.mobileRender);
    window.huntprey_overlay.innerHTML = generalStyle + '(P) Prey hunting: ' + window.handleTextColor(window.huntPrey);
    window.collision_detection_overlay.innerHTML = generalStyle + '(C) Collision detection: ' + window.handleTextColor(window.collisionDetection);
    window.collision_radius_multiplier_overlay.innerHTML = generalStyle + '(A/S) Collision radius multiplier: ' + window.collisionRadiusMultiplier + ' ';
    window.defence_overlay.innerHTML = generalStyle + '(D) Defence: ' + window.handleTextColor(window.defence);
    window.resetzoom_overlay.innerHTML = generalStyle + '(Z) Reset zoom ';
    window.fps_overlay.innerHTML = generalStyle + 'FPS: ' + window.framesPerSecond.getFPS() + '';

    // If playing
    if (window.playing && window.visualDebugging) {
        if (window.isBotRunning) {
            // Check to see if there is a position overlay
            if (window.position_overlay) {
                // Display the X and Y of the snake
                window.position_overlay.innerHTML = generalStyle + 'X: ' + (Math.round(window.snake.xx) || 0) + ' Y: ' + (Math.round(window.snake.yy) || 0) + '';
            }
            drawGoalCoordinates = window.mouseToScreen(window.goalCoordinates[0], window.goalCoordinates[1]);
            drawGoalCoordinates = window.screenToCanvas(drawGoalCoordinates[0], drawGoalCoordinates[1]);
            window.drawLine(drawGoalCoordinates[0], drawGoalCoordinates[1], 'green');
            window.drawDot(drawGoalCoordinates[0], drawGoalCoordinates[1], 5, 'red', true);
        }
    }
};
// Defense mode - bot turns around in a circle
window.playDefence = function(dir) {
    window.kd_l = (dir === "l");
    window.kd_r = (dir === "r");
    window.setMouseCoordinates(window.getWidth() / 2, window.getHeight() / 2);
};
// Actual bot code

// Loop for running the bot
window.loop = function() {
    // If the game and the bot are running
    if (window.playing && window.isBotEnabled) {
        window.ranOnce = true;
        // TODO: Check some condition to see if we should play defence
        // Right now this just uses the manual toggle
        if (window.defence) {
            window.playDefence("l");
            return;
        }

        // If no enemies or obstacles, go after what you are going after
        if (!window.checkCollision(window.getX(), window.getY(), window.getSnakeWidth()*window.collisionRadiusMultiplier)) {
            // Sort the food based on their distance relative to player's snake
            window.sortedFood = window.getSortedFood();
            // Current food
            window.currentFood = window.sortedFood[0];
            // Convert coordinates of the closest food using mapToMouse
            var coordinatesOfClosestFood = window.mapToMouse(window.currentFood.xx, window.currentFood.yy);
            window.goalCoordinates = coordinatesOfClosestFood;
            // Disable Sprint
            window.setAcceleration(0);
            // Check for preys, enough "length"
            if (window.preys.length > 0 && window.huntPrey) {
                // Sort preys based on their distance relative to player's snake
                window.sortedPrey = window.getSortedPrey();
                // Current prey
                window.currentPrey = window.sortedPrey[0];
                // Convert coordinates of the closest prey using mapToMouse
                var coordinatesOfClosestPrey = window.mapToMouse(window.currentPrey.xx, window.currentPrey.yy);
                // Check for the distance
                if (window.currentPrey.distance <= Math.pow(window.getSnakeLength(), 2) / 2) {
                    // Set the mouse coordinates to the coordinates of the closest prey
                    window.goalCoordinates = coordinatesOfClosestPrey;
                    // "Sprint" enabled
                    window.setAcceleration(1);
                }
            }
            window.kd_l = false;
            window.kd_r = false;
            window.setMouseCoordinates(window.goalCoordinates[0], window.goalCoordinates[1]);
        }
    } else {
        if (window.ranOnce) {
            //window.startInterval = setInterval(window.startBot, 1000);
            window.stopBot();
        }
    }
};

// Target the user's browser.
(function() {
    var requestAnimationFrame = window.requestAnimationFrame ||
        window.mozRequestAnimationFrame ||
        window.webkitRequestAnimationFrame ||
        window.msRequestAnimationFrame;

    window.requestAnimationFrame = requestAnimationFrame;
})();

// Starts bot
window.startBot = function() {
    if (window.autoRespawn && !window.playing && window.isBotEnabled && window.ranOnce && !window.isBotRunning) {
        window.connectBot();
        //clearInterval(window.startInterval);
    }
};
// Initialises the bot
window.initBot = function() {
    window.ranOnce = false;
    window.isBotRunning = false;
    window.isBotEnabled = true;
    window.collisionPoint = {
        x: 0,
        y: 0,
        radius: 0
    };
    // Load preferences
    window.loadPreference('logDebugging', false);
    window.loadPreference('visualDebugging', false);
    window.loadPreference('autoRespawn', false);
    window.loadPreference('mobileRender', false);
    window.loadPreference('huntPrey', true);
    window.loadPreference('collisionDetection', true);
    window.loadPreference('collisionRadiusMultiplier', 8);
    window.loadPreference('defence', false);
    window.nick.value = window.loadPreference('savedNick', 'nick!');
    // Overlays
    // Top left
    window.generalstyle = 'color: #FFF; font-family: Arial, \'Helvetica Neue\', Helvetica, sans-serif; font-size: 14px; position: fixed; z-index: 7;';
    window.appendDiv('botstatus_overlay', 'nsi', window.generalstyle + 'left: 30; top: 30px;');
    window.appendDiv('visualdebugging_overlay', 'nsi', window.generalstyle + 'left: 30; top: 45px;');
    window.appendDiv('logdebugging_overlay', 'nsi', window.generalstyle + 'left: 30; top: 60px;');
    window.appendDiv('autorespawn_overlay', 'nsi', window.generalstyle + 'left: 30; top: 75px;');
    window.appendDiv('rendermode_overlay', 'nsi', window.generalstyle + 'left: 30; top: 90px;');
    window.appendDiv('huntprey_overlay', 'nsi', window.generalstyle + 'left: 30; top: 105px;');
    window.appendDiv('collision_detection_overlay', 'nsi', window.generalstyle + 'left: 30; top: 120px;');
    window.appendDiv('collision_radius_multiplier_overlay', 'nsi', window.generalstyle + 'left: 30; top: 135px;');
    window.appendDiv('defence_overlay', 'nsi', window.generalstyle + 'left: 30; top: 150px;');
    window.appendDiv('resetzoom_overlay', 'nsi', window.generalstyle + 'left: 30; top: 165px;');
    // Bottom right
    window.appendDiv('position_overlay', 'nsi', window.generalstyle + 'right: 30; bottom: 120px;');
    window.appendDiv('fps_overlay', 'nsi', window.generalstyle + 'right: 30; bottom: 170px;');
    // Listener for mouse wheel scroll - used for setZoom function
    document.body.addEventListener('mousewheel', window.setZoom);
    document.body.addEventListener('DOMMouseScroll', window.setZoom);
    // Set render mode
    if (window.mobileRender) {
        setBackground('data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs');
        window.render_mode = 1;
    } else {
        setBackground();
        window.render_mode = 2;
    }
    // Canvas Ratio
    window.canvasRatio = [window.mc.width / window.getWidth(), window.mc.height / window.getHeight()];
    // Unblocks all skins without the need for FB sharing.
    window.localStorage.setItem('edttsg', '1');
    // Remove social
    window.social.remove();
    // Start!
    window.launchBot(50);
    window.startInterval = setInterval(window.startBot, 1000);
};
window.initBot();


I can definitely agree with you on all of these, and I'll make a small PR to bring this back. I guess it's just my opinion that lambda case (really just case statements) also have the added benefit of reducing redundancy on verbose function names or complex conditionals in the pattern matching variables. Perhaps I took this a little too far in this pull request.

For instance I would prefer to see (this is, of course, my opinion):

```haskell
thisIsMyBeginnerFriendlyFunction = \case
  Item1 x -> ...
  Item2 x -> ...
  Item3 x -> ...
```

and

```haskell
myFunction a = case a of
  Item1 x -> ...
  Item2 x -> ...
  Item3 x -> ...
  ..
  Item10 x -> ...
```

over the pattern matching alternatives. Although... case statements are doing pattern matching so I'm not quite sure where the differences lie other than the syntactic sugar (and possibly a newly introduced lambda).


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/79bd8a4c-04a5-411b-870f-c6f8826d52e2 "weather integration"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/c6c17c25-0e07-4d2e-876b-12e3c7ad0cb6 "weather1") deployed [weather1](https://github.com/gvitiello/weather1/releases/tag/deploy-ibm-yp-us-south-o2tb-dev-20171010-190321 "deploy-ibm-yp-us-south-o2tb-dev-20171010-190321") to [dev](https://console.bluemix.net/apps/3b437476-29a5-4b87-ac35-2a0bf472caa4?env_id=ibm:yp:us-south "ibm:yp:us-south:o2tb:dev"), including this commit


No, must have been a hold-over from previous times. Thanks for catching it!


Replaced.


<img width="975" alt="screen shot 2017-10-10 at 12 02 06 pm" src="https://user-images.githubusercontent.com/11221489/31405231-4878a45a-adb3-11e7-85e6-0b18e2e3db69.png">


from which caf repo this blobs were updated?


@mancoast , size_t is unsigned, but 2 line after there is cast to qint64. We have here conversion from unsigned to signed type, which caused worse performance and cuts the most significant bit.

The best solution would be to delete all qint64 casts, which are no longer needed.


And I hope it's not an *eventType* type of thing :)


Me neither. Removed.


This feature is only usable in groups when you change the bots default privacy settings.


Created multidev environment [natalie-sandbox#pr-narrativ](https://dashboard.pantheon.io/sites/ee1a9f88-1cc8-4eca-a8a6-7dc1433bb37e#pr-narrativ).

[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://pr-narrativ-natalie-sandbox.pantheonsite.io/)


`http`


Depending on how `betainc` is implemented, we could also consider an API which supports providing an output `array`, which would avoid the need to have a return value and an `object` for other return values.


Ok, up to you. 😄
Just make sure that we won't run into such issues in the future.

I can see that things have changed quite a lot since everything is integrated under the same organization.
Previously, everything was run by the cmangos core, and the DB and scripts had to adapt to the core requirements. 😄


gkyg


`UsersService` brakuje `s`


Wow dude... You are just awesome


Should this function support providing an output `array`, which would allow calling functions to reuse output data structures?


👍 for including opentest4j!


Suggested rename: `getOrCreateChannel`


It should also accept `wd` (for wide) and maybe `md` (for medium, same as empty).


brakuje
```
import React, { Component } from 'react';
import styles from './MessageForm.css';
```


Create_table Pays 5 nom TEXT pib INT capitale TEXT latitude FLOAT longitude FLOAT
Afficher_schema Pays
Insert_enregistrement Pays Turquie 10946 Ankara 39.92 32.86
Insert_enregistrement Pays Chine 6807 Pekin 39.92 116.44
Insert_enregistrement Pays Allemagne 45085 Berlin 52.52 13.41
Insert_enregistrement Pays Mexique 11180 Mexico 19.42 -99.1
Insert_enregistrement Pays Canada 51958 Ottawa 45.41 -75.6
Insert_enregistrement Pays Nigeria 3006 Lagos 6.45 3.3
Insert_enregistrement Pays Australie 67468 Melbourne -37.81 144.9
Insert_enregistrement Pays Bresil 11208 Brasilia -22.45 -49.2
Insert_enregistrement Pays Japon 38492 Tokyo 35.70 139.7
Insert_enregistrement Pays Zimbabwe 906 Harare -17.82 31.0
Insert_enregistrement Pays Russie 14555 Moscou 55.75 37.6
Insert_enregistrement Pays Maroc 3083 Rabat 33.97 -6.8
Insert_enregistrement Pays France 41421 Paris 48.85 2.3
Insert_enregistrement Pays Singapour 55182 Singapour 1.35 103.8
Insert_enregistrement Pays Indonesie 3475 Jakarta -6.17 106.8
Afficher_enregistrements Pays


Removed.


Changed (+ missing space added).


That is no problem to fixup. Does that address the signed/unsigned warnings generated from win32 build?
I was able to compile and test, but the build is generating warnings from ~20 lines of cimage.hpp.
REF [build log messages](https://ci.appveyor.com/project/buddhi1980/mandelbulber2/build/1.0.1.0.0.7.1093-master/job/tqbcufinfyr2h522/messages)


Decimal point added.


Added.


Muito obrigado João.

Os meus parabéns pela excelente aplicação.

Abraço,
Pedro Lima

Em 10/10/2017 19:03, "João Pimentel Ferreira" <notifications@github.com>
escreveu:

> Obrigados. Já foi incluído! Sairá na próxima distribuição!
>
> João Pimentel Ferreira <http://joãopimentel.eu
> <http://xn--joopimentel-97a.eu>>
>
> On 10 October 2017 at 16:02, pmartinslima <notifications@github.com>
> wrote:
>
> > Adicionei o estacionamento em zona exclusiva a residentes que,
> > infelizmente é bastante comum e que é pouco fiscalizado pela EMEL em
> Lisboa.
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/jfoclpf/form-for-parking-violation/commit/
> 39334390b244d11b96d953e70777e904f9505510#commitcomment-24881991>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/
> ADzODQwXjzUnbEYpa96LJe0KwibBRMkUks5sq3kMgaJpZM4Pz_KJ>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/jfoclpf/form-for-parking-violation/commit/39334390b244d11b96d953e70777e904f9505510#commitcomment-24888028>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AKydUC5ZsxwyMpMvm3mnUSyvskoI8cxHks5sq7FdgaJpZM4Pz_KJ>
> .
>


<details>

<summary>No TaskCluster jobs started for this pull request</summary>

```js

The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```

</details>


[Core] Callout component! (#1694)

Preview: documentation
Coverage: core | datetime


Hello World


Hi @Mogeng,

Thanks for your patient reply! And I will definitely read through those document. And some quick questions:
1) Can I simply see the w_0 as the expected value of next time step output (since no covariate_emission assigned) given the state? And together with the dispersion, we can get a Gaussian distribution of the output from each state? Then how to compute the weight?

2) And what if I have input (covariate_emission, like the second example and I will have two coef)? Should I calculate the expected value of next time step output of each state by y(w,x) = w_0 + w_1x_1? And use the dispersion as the sigma for Gaussian?

3) If I have multiple input? Will the dispersion be a matrix?
I did a test using the second example (unsupervised) changing the covariate_emissions to be
[['Pacc', 'Pacc'],[]]) and it shows that dispersion is not a matrix. So how you handle multiple inputs in your paper?


I think it would be best make this function take a Channel * and let users call something getChannelById (note that you already have the implementation for that in the create method above, only it doesn't return the channel). This way, an endpoint can hold a persistent pointer reference instead of having to do a hashtable look up each time.


`this.users`


*Michelline Ponciano
*Manoela Lessa


Important: you are missing the part where you notify the loop with uv_async_send


@cl-lab-k Is this going to be updated? The link is still a 404.


literowka - male `s`


I've stopped it since it won't pass for sure. Difference has hovered around ~20 or lower for almost all of the test. Might as well kill it now. Guess stc was beginners luck!

But yeah, it's hard to say. Some of the values are very close or even which makes this less effective. On the other hand maybe the queen doesn't really mind "seeing" more attackers with enough time to calculate.


The same could be said for all of `base`. Personally, I don't see the immediate need. In stdlib implementations (such as SunOS), kernel methods are treated the same as more traditional user APIs (i.e., same flat namespace).

One argument for a sub-namespace is that users may want to more easily include only "kernel" methods by requiring a kernel namespace. But given their disperse nature, I don't think, a priori, this to be particularly likely.

Additionally, moving to a sub-namespace may have implications for things like bundling, where we would need to be careful to ensure that the tree alias matches the global namespace alias, etc. (e.g., `kernelSin` <-> `base.special.kernel.kernelSin`, which, according to my hunch, you would not find particularly nice :) ).


- add check step in cycle


You should have just stored the Channel * in handle->data. No need to do a lookup here. And so you don't need an additional member in MessageData.