TeamCity libpalaso :: palaso-win-master Continuous [Build 4.0.108.2d7fb0a49f0020aa0f0a077b05076c3d01daa042](http://build.palaso.org/viewLog.html?buildId=98632&buildTypeId=Libpalaso_PalasoWinmasterContinuous) outcome was **FAILURE**
Summary: Failed to start build Build time: 00:00:06


Ok .need to add the libretro common part but can't access pc until sunday.

Le 29 sept. 2017 16:06, "Twinaphex" <notifications@github.com> a écrit :
>
> @r-type Don't use mkdir. This is not portable. For instance, the Vita
builds for RetroArch will no longer compile now because you did this.
>
> Use libretro-common's file_path.c's 'path_mkdir' function instead.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.


Created multidev environment [mann-web#pr-ini-ct](https://dashboard.pantheon.io/sites/5c8ef4ff-2765-4fe6-b6e5-ce0099a410ba#pr-ini-ct).

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


TeamCity libpalaso :: palaso-win32-master Continuous [Build 4.0.417.2d7fb0a49f0020aa0f0a077b05076c3d01daa042](http://build.palaso.org/viewLog.html?buildId=98635&buildTypeId=Libpalaso_PalasoWin32masterContinuous) outcome was **FAILURE**
Summary: Failed to start build Build time: 00:00:05


@neoprez could you explain this sintax or a link where it's explained?


@GuardianRM
Ok i approve although a fixed games test would be better IHMO


Bluemix [toolchain](https://console.bluemix.net/devops/toolchains/f03a0c5d-8ded-4df4-97d3-f477e4913d3b "UI-yp-SimpleTC0929T105358"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/b43f7143-d93c-4f96-b64d-3115d273817d "UI-yp-SimpleTC0929T105358") deployed [UI-yp-SimpleTC0929T105358](https://github.com/idsb3t1/UI-yp-SimpleTC0929T105358/releases/tag/deploy-ibm-yp-us-south-idsb3t4-us.ibm.com-dev-20170929-150021 "deploy-ibm-yp-us-south-idsb3t4-us.ibm.com-dev-20170929-150021") to [dev](https://console.bluemix.net/apps/9d9a81c4-9043-4b6d-90d0-564aae63cfd5?env_id=ibm:yp:us-south "ibm:yp:us-south:idsb3t4@us.ibm.com:dev"), including this commit


test


mi dinero se los regalo ladrones


Yeah, right, will remove it


Basic Setup


added three new empty files to the master branch


Also `VariableReference.type` below


Is important highlight that Topological Sort only works to DAGs (Directed Acyclic Graph)


functionnal tests & code OK


Woohoo, look at that jekyll!


[inst/examples/Ants/Ants.R:13:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L13) *style:* **Commented code should be removed.**
```r
#library(testthat) # for testing
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:19:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L19) *style:* **Commented code should be removed.**
```r
#torus <- FALSE
 ^~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:88:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L88) *style:* **Variable or function name should be lowerCamelCase.**
```r
f_fS_world <- of(world = world, var = c("food", "foodSource"), agents = patches(world))
^~~~~~~~~~
```
[inst/examples/Ants/Ants.R:99:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L99) *style:* **Commented code should be removed.**
```r
  #print(paste("toNest", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:103:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L103) *style:* **Variable or function name should be lowerCamelCase.**
```r
  nestChem_pHere <- of(world = world, agents = pHere, var = c("nest", "chemical"))
  ^~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:133:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L133) *style:* **Commented code should be removed.**
```r
  #print(paste("toNest", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:138:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L138) *style:* **Commented code should be removed.**
```r
  #print(paste("lookFood", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:143:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L143) *style:* **Variable or function name should be lowerCamelCase.**
```r
  foodChem_pHere <- of(world = world, agents = pHere, var = c("food", "chemical"))
  ^~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:170:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L170) *style:* **Commented code should be removed.**
```r
  #print(paste("lookFood", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:175:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L175) *style:* **Commented code should be removed.**
```r
  #print(paste("upPatch", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:193:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L193) *style:* **Commented code should be removed.**
```r
  #print(paste("upPatch", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:198:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L198) *style:* **Commented code should be removed.**
```r
  #print(paste("wiggle", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:211:4:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L211) *style:* **Commented code should be removed.**
```r
  #print(paste("wiggle", NLcount(turtles)))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:217:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L217) *style:* **Commented code should be removed.**
```r
#time <- 0
 ^~~~~~~~~
```
[inst/examples/Ants/Ants.R:253:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L253) *style:* **Variable or function name should be lowerCamelCase.**
```r
  f_fS_world <- of(world = world, var = c("food", "foodSource"), agents = patches(world))
  ^~~~~~~~~~
```
[inst/examples/Ants/Ants.R:259:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L259) *style:* **Commented code should be removed.**
```r
  # time <- time + 1
    ^~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:260:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L260) *style:* **Commented code should be removed.**
```r
  # print(time)
    ^~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:263:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L263) *style:* **Commented code should be removed.**
```r
  # plot(world2raster(world)$layer.5) # food
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:264:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L264) *style:* **Commented code should be removed.**
```r
  # points(ants, pch = 16)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Ants/Ants.R:266:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Ants/Ants.R#L266) *style:* **Commented code should be removed.**
```r
  # expect_equivalent(NLcount(ants), nAnts)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Butterfly/Butterfly-1.R:31:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Butterfly/Butterfly-1.R#L31) *style:* **Commented code should be removed.**
```r
# t1 <- createTurtles(n = 100, coords = cbind(xcor = 85, ycor = 95)) # can try with 100 butterflies
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Butterfly/Butterfly-1.R:65:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Butterfly/Butterfly-1.R#L65) *style:* **Commented code should be removed.**
```r
  # print(time)
    ^~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:33:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L33) *style:* **Commented code should be removed.**
```r
# torus <- TRUE # just for reminder, to be used in the movement functions (e.g., fd())
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:89:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L89) *style:* **Commented code should be removed.**
```r
#   plot(world2raster(field)[[1]])
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:90:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L90) *style:* **Commented code should be removed.**
```r
#   points(sheep, pch = 16, col = "red")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:91:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L91) *style:* **Commented code should be removed.**
```r
#   points(wolves, pch = 16, col = "black")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:93:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L93) *style:* **Commented code should be removed.**
```r
#   grass <- NLset(world = grass, agents = patches(grass), val = 0) # cannot plot an empty world
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:94:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L94) *style:* **Commented code should be removed.**
```r
#   plot(grass)
    ^~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:95:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L95) *style:* **Commented code should be removed.**
```r
#   points(sheep, pch = 16, col = "red")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:96:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L96) *style:* **Commented code should be removed.**
```r
#   points(wolves, pch = 16, col = "black")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:110:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L110) *style:* **Commented code should be removed.**
```r
  # turtles <- right(turtles, angle = runif(n = NLcount(turtles), min = 0, max = 50))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:111:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L111) *style:* **Commented code should be removed.**
```r
  # turtles <- left(turtles, angle = runif(n = NLcount(turtles), min = 0, max = 50))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:119:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L119) *style:* **Commented code should be removed.**
```r
# # Test move()
  ^~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:120:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L120) *style:* **Commented code should be removed.**
```r
# plot(wolves@.Data[, "xcor"], wolves@.Data[, "ycor"], col = rainbow(NLcount(wolves)), pch = 16)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:122:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L122) *style:* **Commented code should be removed.**
```r
#   wolves <- move(wolves)
    ^~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:123:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L123) *style:* **Commented code should be removed.**
```r
#   points(wolves@.Data[, "xcor"], wolves@.Data[, "ycor"], col = rainbow(NLcount(wolves)), pch = 16)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:149:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L149) *style:* **Commented code should be removed.**
```r
# # Test eatGrass()
  ^~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:150:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L150) *style:* **Commented code should be removed.**
```r
# grass <- createWorld(minPxcor = 1, maxPxcor = 10, minPycor = 1, maxPycor = 10)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:151:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L151) *style:* **Commented code should be removed.**
```r
# grass <- NLset(world = grass, agents = patches(grass), val = c(rep(1, 50), rep(0, 50)))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:152:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L152) *style:* **Commented code should be removed.**
```r
# countdown <- grass
  ^~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:153:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L153) *style:* **Commented code should be removed.**
```r
# countdown <- NLset(world = countdown, agents = patches(countdown), val = 0)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:154:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L154) *style:* **Commented code should be removed.**
```r
# field <- stackWorlds(grass, countdown)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:155:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L155) *style:* **Commented code should be removed.**
```r
# sheep <- createTurtles(n = 10, coords = cbind(xcor = 1:10, ycor = 1:10))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:156:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L156) *style:* **Commented code should be removed.**
```r
# sheep <- turtlesOwn(turtles = sheep, tVar = "energy", tVal = 1:10)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:157:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L157) *style:* **Commented code should be removed.**
```r
# resultsEatGrass <- eatGrass()
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:158:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L158) *style:* **Commented code should be removed.**
```r
# fieldEat <- resultsEatGrass[[1]]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:162:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L162) *style:* **Commented code should be removed.**
```r
# sheepEat <- resultsEatGrass[[2]]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:163:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L163) *style:* **Commented code should be removed.**
```r
# of(agents = sheepEat, var = "energy")[6:10] == (6:10 + gainFoodSheep)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:180:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L180) *style:* **Commented code should be removed.**
```r
# # Test death()
  ^~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:185:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L185) *style:* **Commented code should be removed.**
```r
# count1 <- NLcount(wolves)
  ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:186:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L186) *style:* **Commented code should be removed.**
```r
# count2 <- NLcount(wolves)
  ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:188:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L188) *style:* **Commented code should be removed.**
```r
#   energy <- runif(NLcount(wolves), min = -10, max = 100)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:189:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L189) *style:* **Commented code should be removed.**
```r
#   wolves <- NLset(turtles = wolves, agents = wolves, var = "energy", val = energy)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:190:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L190) *style:* **Commented code should be removed.**
```r
#   count1 <- c(count1, NLcount(wolves) - length(energy[energy < 0]))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:191:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L191) *style:* **Commented code should be removed.**
```r
#   wolves <- death(wolves)
    ^~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:192:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L192) *style:* **Commented code should be removed.**
```r
#   count2 <- c(count2, NLcount(wolves))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:194:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L194) *style:* **Commented code should be removed.**
```r
# plot(1:length(count1), count1, pch = 16)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:195:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L195) *style:* **Commented code should be removed.**
```r
# points(1:length(count2), count2, pch = 16, col = "red")
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:229:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L229) *style:* **Commented code should be removed.**
```r
# # Test reproduce()
  ^~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:234:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L234) *style:* **Commented code should be removed.**
```r
# count1 <- NLcount(wolves)
  ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:235:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L235) *style:* **Commented code should be removed.**
```r
# count2 <- NLcount(wolves)
  ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:237:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L237) *style:* **Commented code should be removed.**
```r
#   count1 <- c(count1,NLcount(wolves) + NLcount(wolves) * reproWolf / 100)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:238:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L238) *style:* **Commented code should be removed.**
```r
#   wolves <- reproduce(wolves, reproWolf)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:239:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L239) *style:* **Commented code should be removed.**
```r
#   count2 <- c(count2, NLcount(wolves))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:241:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L241) *style:* **Commented code should be removed.**
```r
# plot(1:length(count1), count1, pch = 16)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:242:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L242) *style:* **Commented code should be removed.**
```r
# points(1:length(count2), count2, pch = 16, col = "red")
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:268:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L268) *style:* **Commented code should be removed.**
```r
# # Test catchSheep()
  ^~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:271:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L271) *style:* **Commented code should be removed.**
```r
# countdown <- grass
  ^~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:272:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L272) *style:* **Commented code should be removed.**
```r
# countdown <- NLset(world = countdown, agents = patches(countdown), val = 0)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:273:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L273) *style:* **Commented code should be removed.**
```r
# field <- stackWorlds(grass, countdown)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:276:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L276) *style:* **Commented code should be removed.**
```r
# wolves <- createTurtles(n = 5, coords = cbind(xcor = 1:5, ycor = 1:5))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:277:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L277) *style:* **Commented code should be removed.**
```r
# wolves <- turtlesOwn(turtles = wolves, tVar = "energy", tVal = 1:5)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:278:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L278) *style:* **Commented code should be removed.**
```r
# catchSheepResults <- catchSheep()
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:279:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L279) *style:* **Commented code should be removed.**
```r
# sheepCatch <- catchSheepResults[[1]]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:280:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L280) *style:* **Commented code should be removed.**
```r
# wolvesCatch <- catchSheepResults[[2]]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:281:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L281) *style:* **Commented code should be removed.**
```r
# NLcount(sheepCatch) == 5
  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:282:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L282) *style:* **Commented code should be removed.**
```r
# NLcount(wolvesCatch) == 5
  ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:283:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L283) *style:* **Commented code should be removed.**
```r
# of(agents = wolvesCatch, var = "energy") == (1:5 + gainFoodWolf)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:315:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L315) *style:* **Commented code should be removed.**
```r
# # Test growGrass()
  ^~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:316:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L316) *style:* **Commented code should be removed.**
```r
# grass <- createWorld(1, 5, 1, 5)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:317:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L317) *style:* **Commented code should be removed.**
```r
# grass <- NLset(world = grass, agents = patches(grass), val = c(rep(1, 10), rep(0, 15)))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:318:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L318) *style:* **Commented code should be removed.**
```r
# countdown <- grass
  ^~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:321:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L321) *style:* **Commented code should be removed.**
```r
# field <- stackWorlds(grass, countdown)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:322:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L322) *style:* **Commented code should be removed.**
```r
# fieldGrow <- growGrass()
  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:323:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L323) *style:* **Commented code should be removed.**
```r
# of(world = fieldGrow, agents = patches(fieldGrow), var = "grass") == c(rep(1, 15), rep(0, 10))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:332:6:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L332) *style:* **Place a space before left parenthesis, except in a function call.**
```r
while((NLany(sheep) | NLany(wolves)) & time < maxTime) {
     ^
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:332:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L332) *style:* **Place a space before left parenthesis, except in a function call.**
```r
while((NLany(sheep) | NLany(wolves)) & time < maxTime) {
      ^
```
[inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R:379:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/Wolf-Sheep-Predation.R#L379) *style:* **Commented code should be removed.**
```r
  # print(time)
    ^~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:64:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L64) *style:* **Variable or function name should be lowerCamelCase.**
```r
doEvent.WolfSheepPredation = function(sim, eventTime, eventType, debug = FALSE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:64:28:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L64) *style:* **Use <-, not =, for assignment.**
```r
doEvent.WolfSheepPredation = function(sim, eventTime, eventType, debug = FALSE) {
                           ^
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:113:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L113) *style:* **Variable or function name should be lowerCamelCase.**
```r
WolfSheepPredationInit <- function(sim) {
^~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:185:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L185) *style:* **Variable or function name should be lowerCamelCase.**
```r
WolfSheepPredationSave <- function(sim) {
^~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:199:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L199) *style:* **Variable or function name should be lowerCamelCase.**
```r
WolfSheepPredationPosition <- function(sim) { # Plot the positions
^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:199:45:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L199) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
WolfSheepPredationPosition <- function(sim) { # Plot the positions
                                            ^
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:223:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L223) *style:* **Variable or function name should be lowerCamelCase.**
```r
WolfSheepPredationPopSize <- function(sim) {
^~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:246:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L246) *style:* **Variable or function name should be lowerCamelCase.**
```r
WolfSheepPredationEvent <- function(sim){
^~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:332:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L332) *style:* **Commented code should be removed.**
```r
  # turtles <- right(turtles, angle = runif(n = NLcount(turtles), min = 0, max = 50))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R:333:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/inst/examples/Wolf-Sheep-Predation/WolfSheepPredation/WolfSheepPredation.R#L333) *style:* **Commented code should be removed.**
```r
  # turtles <- left(turtles, angle = runif(n = NLcount(turtles), min = 0, max = 50))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/agentset-functions.R:1885:18:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L1885) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              for(i in varLevels) {
                 ^
```
[R/agentset-functions.R:1905:18:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L1905) *style:* **Place a space before left parenthesis, except in a function call.**
```r
              for(i in varLevels) {
                 ^
```
[R/agentset-functions.R:1970:30:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L1970) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
      if (any(var == "who")) { # if the who numbers have been modified, check for duplicates
                             ^
```
[R/agentset-functions.R:2052:11:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2052) *style:* **Variable or function name should be lowerCamelCase.**
```r
          var_k <- match(var, dimnames(world@.Data)[[3]])
          ^~~~~
```
[R/agentset-functions.R:2060:14:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2060) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          for(i in 1:length(var)) {
             ^
```
[R/agentset-functions.R:2061:13:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2061) *style:* **Variable or function name should be lowerCamelCase.**
```r
            val_i <- val[, var[i]]
            ^~~~~
```
[R/agentset-functions.R:2064:15:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2064) *style:* **Variable or function name should be lowerCamelCase.**
```r
              val_i <- rep(val_i, NROW(agents))
              ^~~~~
```
[R/agentset-functions.R:2090:14:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2090) *style:* **Place a space before left parenthesis, except in a function call.**
```r
          for(i in 1:length(var)) {
             ^
```
[R/agentset-functions.R:2091:14:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/agentset-functions.R#L2091) *style:* **Variable or function name should be lowerCamelCase.**
```r
             var_k <- match(var[i], dimnames(world@.Data)[[3]])
             ^~~~~
```
[R/Classes.R:15:10:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L15) *style:* **Use <-, not =, for assignment.**
```r
    bbox = colRanges(coords)
         ^
```
[R/Classes.R:16:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L16) *style:* **Use <-, not =, for assignment.**
```r
    dimnames(bbox)[[2]] = c("min", "max")
                        ^
```
[R/Classes.R:94:12:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L94) *style:* **Variable or function name should be lowerCamelCase.**
```r
  function(.Object="agentMatrix", coords, ..., levelsAM) {
           ^~~~~~~
```
[R/Classes.R:95:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L95) *style:* **Variable or function name should be lowerCamelCase.**
```r
    Coords <- TRUE
    ^~~~~~
```
[R/Classes.R:108:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L108) *style:* **Variable or function name should be lowerCamelCase.**
```r
      Coords <- FALSE
      ^~~~~~
```
[R/Classes.R:129:41:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L129) *style:* **Commented code should be removed.**
```r
          .Object@levels <- list(NULL) #rep(list(NULL), ncol(.Object@.Data))
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:130:12:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L130) *style:* **Commented code should be removed.**
```r
          #names(.Object@levels) <- colnames(otherCols)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:159:10:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L159) *style:* **Commented code should be removed.**
```r
        #charCols <- names(charCols)[charCols]
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:180:11:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L180) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if ((is.matrix(dotCols[[1]]) & is.numeric(dotCols[[1]])) | is(dotCols[[1]], "agentMatrix"))
          ^
```
[R/Classes.R:484:6:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L484) *style:* **Commented code should be removed.**
```r
    #charCols <- match(j, nam)
     ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:485:6:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L485) *style:* **Commented code should be removed.**
```r
    #charCols <- match(nam, j)
     ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:486:34:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L486) *style:* **Commented code should be removed.**
```r
    numCols <- which(!charCols) #colNums[!(colNums %in% charCols)]
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:488:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L488) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(any(is.na(newCols))) {
      ^
```
[R/Classes.R:492:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L492) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(any(numCols)) {
      ^
```
[R/Classes.R:493:8:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L493) *style:* **Commented code should be removed.**
```r
      #numColsJ <- which(colNums %in% numCols)
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:497:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L497) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(any(charCols)) {
      ^
```
[R/Classes.R:498:8:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L498) *style:* **Commented code should be removed.**
```r
      #charColsJ <- which(colNums %in% charCols)
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:499:10:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L499) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      for(y in j[charCols]) {
         ^
```
[R/Classes.R:508:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L508) *style:* **Commented code should be removed.**
```r
#tmp <- data.frame(from@.Data)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:509:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L509) *style:* **Commented code should be removed.**
```r
#rownames(tmp) <- seq_len(NROW(tmp))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:510:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L510) *style:* **Commented code should be removed.**
```r
#nam <- names(from@levels)
 ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:511:2:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L511) *style:* **Commented code should be removed.**
```r
#tmp[,nam] <- lapply(nam, function(n) from@levels[[n]][tmp[,n]])
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Classes.R:646:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L646) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(whInd))
      ^
```
[R/Classes.R:691:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L691) *style:* **Commented code should be removed.**
```r
#     NROW(x@.Data)
      ^~~~~~~~~~~~~
```
[R/Classes.R:725:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L725) *style:* **Variable or function name should be lowerCamelCase.**
```r
head.agentMatrix <- function(x, n = 6L, ...) {
^~~~~~~~~~~~~~~~
```
[R/Classes.R:734:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L734) *style:* **Variable or function name should be lowerCamelCase.**
```r
tail.agentMatrix <- function(x, n = 6L, ...) {
^~~~~~~~~~~~~~~~
```
[R/Classes.R:756:36:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L756) *style:* **Variable or function name should be lowerCamelCase.**
```r
cbind.agentMatrix <- function(..., deparse.level) {
                                   ^~~~~~~~~~~~~
```
[R/Classes.R:765:78:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L765) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if (any(colnames(tmp[[1]]@.Data)[- (1:2)] %in% colnames(tmp[[2]]@.Data)[-(1:2)])) {
                                                                             ^
```
[R/Classes.R:781:36:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L781) *style:* **Variable or function name should be lowerCamelCase.**
```r
rbind.agentMatrix <- function(..., deparse.level = 1) {
                                   ^~~~~~~~~~~~~
```
[R/Classes.R:784:19:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L784) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (levelsSame) { # if same, then faster rbind of the matrices
                  ^
```
[R/Classes.R:792:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L792) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(any(!unlist(lapply(levels, is.null)))) {
      ^
```
[R/Classes.R:846:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L846) *style:* **Variable or function name should be lowerCamelCase.**
```r
  Ras <- world2raster(x)
  ^~~
```
[R/Classes.R:862:3:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/Classes.R#L862) *style:* **Variable or function name should be lowerCamelCase.**
```r
  Ras <- world2raster(x)
  ^~~
```
[R/NetLogoR-classes.R:30:84:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
#' is done in the order of the cell numbers as defined in in \code{Raster*} objects
                                                                                ^
```
[R/NetLogoR-classes.R:260:57:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L260) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    cellValues <- unlist(lapply(1:dim(x)[3], function(z){as.numeric(t(x@.Data[, , z]))}))
                                                        ^
```
[R/NetLogoR-classes.R:293:31:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L293) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (NROW(value) != nCell) { # assuming value has one row
                              ^
```
[R/NetLogoR-classes.R:294:36:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L294) *style:* **Commas should always have a space after.**
```r
      value <- value[rep(1, nCell),]
                                   ^
```
[R/NetLogoR-classes.R:341:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L341) *style:* **Variable or function name should be lowerCamelCase.**
```r
    NLwMs <- list(...)
    ^~~~~
```
[R/NetLogoR-classes.R:343:54:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L343) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (length(unique(lapply(NLwMs, FUN = function(x){x@extent}))) == 1) {
                                                     ^
```
[R/NetLogoR-classes.R:506:11:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L506) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    floor((cellNum - 1) / b[2]) + seq.int(from = 1, to = prod(b),
          ^
```
[R/NetLogoR-classes.R:506:66:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/NetLogoR-classes.R#L506) *style:* **Trailing whitespace is superfluous.**
```r
    floor((cellNum - 1) / b[2]) + seq.int(from = 1, to = prod(b),
                                                                 ^
```
[R/patch-functions.R:74:31:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L74) *style:* **Commas should always have a space after.**
```r
    nNeigh <- plyr::count(df[,"from"])
                              ^
```
[R/patch-functions.R:77:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L77) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- data.table(df, toGiveNeigh)
    ^~
```
[R/patch-functions.R:79:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L79) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- DT[, loose := sum(toGiveNeigh), by = from] # how much each patch give
    ^~
```
[R/patch-functions.R:82:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L82) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- DT[, win := sum(toGiveNeigh), by = to] # how much each patch receive
    ^~
```
[R/patch-functions.R:104:28:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L104) *style:* **Commas should always have a space after.**
```r
    df <- adj(world@.Data[,,layer], cells = cellNum, directions = nNeighbors,
                           ^
```
[R/patch-functions.R:109:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L109) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- data.table(df, toGiveNeigh)
    ^~
```
[R/patch-functions.R:111:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L111) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- DT[, loose := sum(toGiveNeigh), by = from] # how much each patch give
    ^~
```
[R/patch-functions.R:114:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L114) *style:* **Variable or function name should be lowerCamelCase.**
```r
    DT <- DT[, win := sum(toGiveNeigh), by = to] # how much each patch receive
    ^~
```
[R/patch-functions.R:117:28:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L117) *style:* **Commas should always have a space after.**
```r
    newVal <- val - loose[,loose] + win[, win]
                           ^
```
[R/patch-functions.R:361:12:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L361) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    } else { # worldArray
           ^
```
[R/patch-functions.R:365:32:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L365) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (nrow(agents) < 100000) { # df is faster below 100 agents, DT faster above
                               ^
```
[R/patch-functions.R:370:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L370) *style:* **Variable or function name should be lowerCamelCase.**
```r
      neighbors_df <- data.frame(neighbors, pCoords)
      ^~~~~~~~~~~~
```
[R/patch-functions.R:373:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L373) *style:* **Variable or function name should be lowerCamelCase.**
```r
      neighbors_df <- neighbors_df[order(neighbors_df$id), ]
      ^~~~~~~~~~~~
```
[R/patch-functions.R:383:18:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L383) *style:* **Commas should always have a space after.**
```r
      neighbors[,`:=`(pxcor = pCoords[, 1], pycor = pCoords[, 2])]
                 ^
```
[R/patch-functions.R:463:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L463) *style:* **Variable or function name should be lowerCamelCase.**
```r
    pxcor_ <- round(x)
    ^~~~~~
```
[R/patch-functions.R:464:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L464) *style:* **Variable or function name should be lowerCamelCase.**
```r
    pycor_ <- round(y)
    ^~~~~~
```
[R/patch-functions.R:468:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L468) *style:* **Variable or function name should be lowerCamelCase.**
```r
      pxcor_ <- pCoords[,1]
      ^~~~~~
```
[R/patch-functions.R:468:26:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L468) *style:* **Commas should always have a space after.**
```r
      pxcor_ <- pCoords[,1]
                         ^
```
[R/patch-functions.R:469:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L469) *style:* **Variable or function name should be lowerCamelCase.**
```r
      pycor_ <- pCoords[,2]
      ^~~~~~
```
[R/patch-functions.R:469:26:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L469) *style:* **Commas should always have a space after.**
```r
      pycor_ <- pCoords[,2]
                         ^
```
[R/patch-functions.R:478:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L478) *style:* **Variable or function name should be lowerCamelCase.**
```r
      pxcor_ = pxcor_[!is.na(pxcor_)]
      ^~~~~~
```
[R/patch-functions.R:478:14:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L478) *style:* **Use <-, not =, for assignment.**
```r
      pxcor_ = pxcor_[!is.na(pxcor_)]
             ^
```
[R/patch-functions.R:479:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L479) *style:* **Variable or function name should be lowerCamelCase.**
```r
      pycor_ = pycor_[!is.na(pycor_)]
      ^~~~~~
```
[R/patch-functions.R:479:14:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L479) *style:* **Use <-, not =, for assignment.**
```r
      pycor_ = pycor_[!is.na(pycor_)]
             ^
```
[R/patch-functions.R:573:31:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L573) *style:* **Commas should always have a space after.**
```r
      agents <- agents@.Data[,c("xcor", "ycor"), drop = FALSE]
                              ^
```
[R/patch-functions.R:614:1:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L614) *style:* **Lines should not be more than 100 characters.**
```r
#' @seealso \url{https://ccl.northwestern.edu/netlogo/docs/dictionary.html#patch-at-heading-and-distance}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/patch-functions.R:648:31:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L648) *style:* **Commas should always have a space after.**
```r
      agents <- agents@.Data[,c("xcor", "ycor"), drop = FALSE]
                              ^
```
[R/patch-functions.R:750:10:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/patch-functions.R#L750) *style:* **Put spaces around all infix operators.**
```r
    dots <-list(...)
         ^~~
```
[R/spades-functions.R:65:29:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L65) *style:* **Variable or function name should be lowerCamelCase.**
```r
setGeneric("wrap", function(X, bounds, withHeading) {
                            ^
```
[R/spades-functions.R:74:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L74) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/spades-functions.R:91:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L91) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/spades-functions.R:101:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L101) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/spades-functions.R:102:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L102) *style:* **Variable or function name should be lowerCamelCase.**
```r
    X <- wrap(X, bounds = extent(bounds))
    ^
```
[R/spades-functions.R:111:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L111) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/spades-functions.R:112:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L112) *style:* **Variable or function name should be lowerCamelCase.**
```r
    X <- wrap(X, bounds = extent(bounds))
    ^
```
[R/spades-functions.R:121:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L121) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds) {
                        ^
```
[R/spades-functions.R:124:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L124) *style:* **Variable or function name should be lowerCamelCase.**
```r
      X <- wrap(X, bounds = extent(bounds))
      ^
```
[R/spades-functions.R:136:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L136) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/spades-functions.R:161:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L161) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/spades-functions.R:162:5:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L162) *style:* **Variable or function name should be lowerCamelCase.**
```r
    X <- wrap(X, bounds = extent(bounds), withHeading = withHeading)
    ^
```
[R/spades-functions.R:171:25:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L171) *style:* **Variable or function name should be lowerCamelCase.**
```r
  definition = function(X, bounds, withHeading) {
                        ^
```
[R/spades-functions.R:172:9:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L172) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    if ( identical(colnames(bounds), c("min", "max")) &
        ^
```
[R/spades-functions.R:174:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/spades-functions.R#L174) *style:* **Variable or function name should be lowerCamelCase.**
```r
      X <- wrap(X, bounds = extent(bounds), withHeading = withHeading)
      ^
```
[R/turtle-functions.R:94:32:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L94) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    coords <- cbind(xcor = rep(((maxPxcor(world) - minPxcor(world)) / 2) + minPxcor(world), n),
                               ^
```
[R/turtle-functions.R:94:33:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L94) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    coords <- cbind(xcor = rep(((maxPxcor(world) - minPxcor(world)) / 2) + minPxcor(world), n),
                                ^
```
[R/turtle-functions.R:95:32:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L95) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                    ycor = rep(((maxPycor(world) - minPycor(world)) / 2) + minPycor(world), n))
                               ^
```
[R/turtle-functions.R:95:33:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L95) *style:* **Place a space before left parenthesis, except in a function call.**
```r
                    ycor = rep(((maxPycor(world) - minPycor(world)) / 2) + minPycor(world), n))
                                ^
```
[R/turtle-functions.R:106:12:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L106) *style:* **Put spaces around all infix operators.**
```r
    turtles<-new("agentMatrix",
          ~^~~
```
[R/turtle-functions.R:176:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L176) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(n > 1){
      ^
```
[R/turtle-functions.R:183:7:](https://github.com/PredictiveEcology/NetLogoR/blob/1021159f2eda442fa848ef511dc716fe55180861/R/turtle-functions.R#L183) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(missing(breed)){
      ^
```


it's fine for a beginner.


Wow


makes sure that the length of the number string is a multiple of three by adding zeroes to the left as padding.
This is needed because this evaluated numbers in groups of three digit numbers.


TeamCity libpalaso :: palaso-linux64-master Continuous [Build 4.0.384.2d7fb0a49f0020aa0f0a077b05076c3d01daa042](http://build.palaso.org/viewLog.html?buildId=98630&buildTypeId=Libpalaso_PalasoLinux64masterContinuous) outcome was **SUCCESS**
Summary: Tests passed: 3891, ignored: 127 Build time: 00:07:06


I agree. It's also better UX for assistive technologies.


int <


feat:  Add the rover map

When we launch in autonomous mode, the rover maps at least 40% of the environment with 60% fidelity against the ground truth. We also find map the location of at least one rock sample.


@coa0329 @paagla123 @paagla123 You can see the areas in this template that @coa0329 reverted.  Unless there is a reason to roll back my changes, please update this.  You'll need to do the same for the thank-you page.


Opened https://github.com/couchbase/sync_gateway/issues/2942


... from index.html


@Swartz27, later


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/)


put a 👎 about GET request ;). Except : if you validate the survey really don't exist ?


> Still this seems like working workaround until we get to the bottom of it.

Agreed. This is just a temporary workaround.


Puzzle `260-4246cfb6` discovered in [`test2o/kuznyechik/ReprKeyData.h`](https://github.com/DronMDF/goost/blob/master/test2o/kuznyechik/ReprKeyData.h) and submitted as #262.


Can you turn this into an `Error`?


This will sure keep typing fingers from getting flabby!


Indeed, and the existing UI for importing files (that have been manually placed in the `files` directory) has an action button - so again: consistency!


'git merge branch01' was used to merge branch01 with master.. as no files were conflicting this was an easy merge


So you ran my gold test, and it runs without the work-around in traffic_manager?


I do not understand the purpose of this change. I thought it will make tiles appear physically same on devices with different DPI, but I tried it on three devices and didn't see any improvements. It was even worse - on modern devices with hight DPI there was less map area then on low end devices. Before that it was at least logical: more high end display you have - more map area at once you see.

For the time being I would prefer to have this feature configurable. It may be on by default but there should be way to disable it per application.


Why is it better to set a single frame? The reason I chose to animate is in case we introduce a monster that flies. So the idle for that monster will be some animation.


![](https://github.trello.services/images/mini-trello-icon.png) [Criar repositório 'zarco-bot' no GitHub para o APP Flask](https://trello.com/c/VV53j1xr/2-criar-reposit%C3%B3rio-zarco-bot-no-github-para-o-app-flask)


Awesome! I agree, it was a great intro to web development


Исправил, сейчас залью.


Thanks for the update!  I've started working on[ my fork](https://github.com/dougbradbury/paperclip-dropbox/tree/dropbox_api).  I started from janko-m master because I wasn't sure the state of your two branches.  Which one do you have in production?

I'll take another look at yours, see if I can finish it off, then maybe we can publish a new gem together with full v2 support.


EKSdE


Hi,

New version underscore-java is available.

Best regards


This is asking for confirmation every time `vagrant up` is run, but after the VM already exists the RAM can't be modified afaik


this is a really simple way to crawl from web,it should be improved at many aspects,so i will do this from now on.


Jeg måtte teste noe, men det ødela litt så jeg reverta det


dropbox-api-v2 is the branch being used in production. I just deleted the other branch to avoid confusion.


Can you add my middle initial ? i


the solution does not belong into the src directory. it should be directly inside the System.EventLog. The src folder should contain the csproj but not the sln.


Thanks. This was copied from there other sibling tool_* projects


Keep'em coming!


prefer `eventlogkey?.Close();`


same here. `mutex?.ReleaseMutex();`


same here as above. I will stop commenting on those.


This a comment on a commit


...and another comment


Thank you @kirienzo for reporting this bug :smiley: