[inst/examples/example_distanceFromEachPoint.R:37:2:](https://github.com/PredictiveEcology/SpaDES.tools/blob/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/R/RcppExports.R#L70) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/SELES.R:53:23:](https://github.com/PredictiveEcology/SpaDES.tools/blob/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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/c4bb079904f0aefc48b9ce88491df281ccc43ce6/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_
                                     ^
```


We need to check that:
`if (ptrPinhole_I && ptrPinhole_J)` before doing the rest


this commit fixes the issue but @ShaiberAlon's error related to #478. We should either support empty values in numerical layers or add more checks.


The prop `POSITION_SPHERE_1` must be dynamic for render the second option.


@lol768 There is a fairly good list in this [Hacker News article](https://news.ycombinator.com/item?id=14981733).

I've added them all to my list (except for the ones noted below as not currently in use.)


crap :((( both options have limitations.


add index.html


147020771-Issue6155 (lgu1234) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1977 of 1977 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-71.82%25-green.svg)


nice to hear that. you can assign the `color` issue to me, btw.


@williamstein @johnjeng I spare us to review this and pushed directly. embarrassing to use the path segment **name** to detect if it is the last one. :nerd_face:


Calling this function twice in a row?

What is interesting about this code is the redirect rule below does not know whether it's inet or inet6. I tried a similar code during looking at this issue, it would make sense so that we can have gateways with "dynamic" ip addresses where we only route to the interface restricted by address family? I know with a real ip the family is easy but if not it seems similar to the error case...


Seems to me we just received a DMCA letter to alter our Firewall Rules.  Next up: Malware sites issuing DMCA letters to Anti-virus and Web-protect sites (like Google) to have their domains removed from firewall blocking.  (Firewall is generic term for like-technologies)


what I think now... we have a lot of jackson1 ... and the cdi lib's Serdes
are Jackson2 ... we may have Generic(De)Serializers w/ the Jackson1 APIs...

On Fri, Aug 11, 2017 at 10:38 AM, Dimitra Zuccarelli <
notifications@github.com> wrote:

> @matzew <https://github.com/matzew> sure, if its more robust and makes
> sense to do so. Have you tested it at all?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/matzew/aerogear-unifiedpush-server/commit/f31f17094b005e7c9a6fbd1f93e72b18ed4b415c#commitcomment-23597368>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAJnzo0B_Dj4IuC-bTVlHmlPl8YyqGHcks5sXBL8gaJpZM4OzzNm>
> .
>

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf


Great!


yeah you are right. Again it was only for my purpose. Will change it as soon as the sampler code is in!


@pgl Thanks for the domain list. Quick and simple fix.


@dimitraz any ideas or thoughts ?


@maluramichael You cannot navigate? What do you mean?


@pameyer I generally agree with this, but I'm inclined to use the term "rsync" _only_ in the docs (not the UI) for these reasons:
- In the UI, "rsync" is too technical,, but if the user clicks the link in the UI to find out more, then I'm not as worried about throwing too much information at them

- Using the term "rsync" gives the user a solid word to latch onto for this feature, rather than more generic phrases like "non-browser upload" or "upload via script"

- This way, users can google "rsync" if they want more technical info than what we provide

- This way, we can more easily explain why the feature doesn't work out of the box for Windows users

That being said, I am definitely trying not to get too 'in the weeds' in this docs section, the user isn't going to need to know exactly how this stuff works.


148704793-Improvements-to-Ventilation-Control-for-DOAS-AirLoop-#6205 (lgu1234) - x86_64-MacOS-10.9-clang: OK (2566 of 2575 tests passed, 591 test warnings)

Messages:

 * 600 tests had: AUD diffs.
 * 98 tests had: EIO diffs.
 * 9 tests had: ESO big diffs.
 * 9 tests had: Table big diffs.
 * 6 tests had: ERR diffs.
 * 1 test had: MTR big diffs.

Failures:

regression Test Summary
 * Passed: 591
 * Failed: 9

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


+zb3 That would be a horrible idea, as it would fragment the efforts of this.
I would say to watch this: https://www.youtube.com/watch?v=LZwLbZ5boZ4 (deals with another frautulent DMCA complaint)

+a-raccoon Next thing, a porn site DMCAs OpenDNS because their web filter circumvents their ability to be accessed by OpenDNS web filter consumers?

This "functionalclam" service is not an effective access control, if circumventing it is as easy as blocking the entire website.  If this were to go to court, EasyList would prevail hands down.


Ok, I ll consider that when im working on sampler. I totally missed that point. Thanks for updating this!


Yeah, I put these checks in case the proxy sends malformed parameters (which won't happen usually), or the spec may be updated in future and we may have parameters that only exist in the request message.
Anyway, I'm fine to remove them. Since I don't have access to my Linux box right now, please feel free to modify this PR if necessary.


Cool 👍


148704793-Improvements-to-Ventilation-Control-for-DOAS-AirLoop-#6205 (lgu1234) - i386-Windows-7-VisualStudio-14: OK (2581 of 2581 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)


Looks good! Thanks Alex.


Looks good! Thanks @Deseao !


Please don't add such empty lines containing only white spaces.


asd


Маркдаун в описании коммита не работает, ну да ладно.


So any ad serving company can now setup DRM business, which serves exactly one customer: their site, can then exclude them from block lists using DMCA? That's convenient.


What if we hash all the domains in the list? AdBlock clients can then just compare the hash. Does DMCA still apply?


These can be case objects


![](https://github.trello.services/images/mini-trello-icon.png) [9.6 Set User/Group Owner and Permission on /etc/cron.d](https://trello.com/c/jwP2x2oj/73-96-set-user-group-owner-and-permission-on-etc-crond)


@7Pass Feel free to use the rest of [my list](https://pgl.yoyo.org/adservers/serverlist.php) as well. :)


The refactoring sounds like a good idea.


I believe non functional speed ups can be tested on [0, 4]


`matplotlib.use("Agg")` needs to be done before ` import matplotlib.pyplot as plt` for matplotlib to use the correct backend for non-interactive rendering.


![](https://github.trello.services/images/mini-trello-icon.png) [9.6 Set User/Group Owner and Permission on /etc/cron.d](https://trello.com/c/Ml8u34Ub/142-96-set-user-group-owner-and-permission-on-etc-crond)


Your gist was a massive help. Rigged this into our CI and provision scaleway on-demand!


The following doc(s) have been deployed to the [modules208](https://modules208-static-docs.pantheonsite.io/docs) Multidev environment:
- [/docs/modules](https://modules208-static-docs.pantheonsite.io/docs/modules)


or... maybe not  ? :)

On Fri, Aug 11, 2017 at 5:56 PM, Matthias Wessendorf <matzew@apache.org>
wrote:

> what I think now... we have a lot of jackson1 ... and the cdi lib's Serdes
> are Jackson2 ... we may have Generic(De)Serializers w/ the Jackson1 APIs...
>
> On Fri, Aug 11, 2017 at 10:38 AM, Dimitra Zuccarelli <
> notifications@github.com> wrote:
>
>> @matzew <https://github.com/matzew> sure, if its more robust and makes
>> sense to do so. Have you tested it at all?
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/matzew/aerogear-unifiedpush-server/commit/f31f17094b005e7c9a6fbd1f93e72b18ed4b415c#commitcomment-23597368>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AAJnzo0B_Dj4IuC-bTVlHmlPl8YyqGHcks5sXBL8gaJpZM4OzzNm>
>> .
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> twitter: http://twitter.com/mwessendorf
>

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf


@miguelmota  hashing the names would not serve anything for such DMC request, and it would make the repo very hard to maintain .


already present


Sure thing!


You're probably right.
There was a time when I saw beauty in 21 lines of code to save a few possible cache misses. Today I see more beauty in deleting 21 lines of code.


I was unsure, because it introduced an (albeit mild) assumption about the input parameter of next_move. Some experienced developer should decide.


145279277_Issue#5835 (Nigusse) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1373 of 1373 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) ![Coverage Badge](http://img.shields.io/badge/coverage%20status-39.07%25-green.png)


145279277_Issue#5835 (Nigusse) - x86_64-Linux-Ubuntu-14.04-custom_check: OK (0 of 0 tests passed, 0 test warnings)

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


The following doc(s) have been deployed to the [pantheonap](https://pantheonap-static-docs.pantheonsite.io/docs) Multidev environment:
- [/docs/pantheon_api-module](https://pantheonap-static-docs.pantheonsite.io/docs/pantheon_api-module)


You published three papers, and still needed to write a monography, wow. I guess this was demanding and time-consuming...


@shergin Done!


Does this cover `button_immediate_uninstall` also?


But yours if obviously better!!
Don't think 3 bridges are necessary.... We only have to build one 🌉 or maybe two.


Dan, I had to comment out this line

viewLink.href = "#";.

 Otherwise when I click on the view-result link it jumps to the top of the page.


Thanks so much @SlimShadys ! Have you Discord?


@Ankris I don't. I use Telegram. If you have it, write me your username and I'll write to ya :)


Love this extension. See comment above about minor change.


Somehow my reverting my changes put the 'Welcome' back - i think some 'patch' programs, seeing that a patch is already in effect, offer to 'undo' it instead...  anyway I spent an hour trying to understand it and never could.


Hi TK,
I've just found that there is a typo here. I was trying to do another experiment and forgot to change it back. There shouldn't be the fourth dimension  of X. So the correct code should be X = np.zeros((batch_size,max_len,feat_dim)). The same mistake exists in def nturgbd_train_datagen() as well. Will you please have it corrected? Thank you!


add the default in the comment please


How did you do the merge? On Github or?


We might get a request to import parent folder name as tag (optionally, exactly like we do in html import).

Does Chrome JSON have parent folder name? If not, no need.
How about FF? How difficult is it to get the parent folder name as tag?


This struct is directly used by running Xbox code, so changing the order may cause breakage, and the xbox title may get the wrong data.


![](https://github.trello.services/images/mini-trello-icon.png) [9.7 Restrict at Daemon](https://trello.com/c/99zryyiI/75-97-restrict-at-daemon)


Good spot!


Beyond1Airloop (mjwitte) - x86_64-MacOS-10.9-clang: Tests Failed (2298 of 2573 tests passed, 330 test warnings)

Messages:

 * 336 tests had: AUD diffs.
 * 286 tests had: BND diffs.
 * 10 tests had: ERR diffs.
 * 6 tests had: EIO diffs.
 * 5 tests had: MDD diffs.
 * 6 tests had: MTD diffs.
 * 12 tests had: RDD diffs.
 * 6 tests had: Table big diffs.

Failures:

EnergyPlusFixture Test Summary
 * Passed: 496
 * Failed: 4
 * SEGFAULT: 1

integration Test Summary
 * Passed: 338
 * Failed: 264

regression Test Summary
 * Passed: 594
 * Failed: 6

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


Can we get a representative from GitHub, Inc. to comment here?


missing update in `_mergeOptions()` in this file


![](https://github.trello.services/images/mini-trello-icon.png) [9.7 Restrict at Daemon](https://trello.com/c/UDNBaPm9/143-97-restrict-at-daemon)


Good spot, this definitely looks like a mistake to me!


@bburgin How many times did you tried to build the docker container?

I tried to access the web link manually and it worked. Maybe, a temporary issue of your internet connection / the webserver?


I'm @xAnkris


I can say for sure that this tool which you've linked in one of the threads doing that (taking into account folder name as a tag).
As about GC -- should be as well, but I need to check.
Feel free to open issue on my fork of Buku due to this request.


![](https://github.trello.services/images/mini-trello-icon.png) [sadfasdfasdfasdfasdfasdfasdf](https://trello.com/c/g9fiBiBW/5-sadfasdfasdfasdfasdfasdfasdf)


Oh now may be I understand why you had a function for this...
The code is repeated at multiple places and will change when we change the default.
I guess the factorized function (with a comment) is better then, sorry for my misleading former comment on the other PR


Why `count`? The `ctype_digit` function returns a `bool` already.


Note that the windows 8.1 SDK choice is intentional at this point, but I'm open for updating. I did switch to the Windows 10 SDK previously, but it caused issues for other developers who did not have it/didn't want to install it.

Personally, I'm all for using the latest available.

Re: Minimal Rebuild: Was there a reason for this? It's a common complaint among developers that compilation already is too slow