[R/ABC_SMC.R:2:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
getRandomVals <- function(max_val)  {
^~~~~~~~~~~~~
```
[R/ABC_SMC.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L15) *style:* **Variable and function names should be all lowercase.**
```r
getFromPrevious <- function(inds, ws, disps, filts, comps)  {
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigma,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:29:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(disp_vals[i], filt_vals[i], comp_vals[i])
    ^~~~~
```
[R/ABC_SMC.R:30:30:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L30) *style:* **Variable and function names should be all lowercase.**
```r
    diff <- params[target] - prevP[target]
                             ^~~~~
```
[R/ABC_SMC.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L37) *style:* **Variable and function names should be all lowercase.**
```r
normalizeWeights <- function(x) {
^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:71:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L71) *style:* **Variable and function names should be all lowercase.**
```r
calculateDistance <- function(rich, even, div, opt_diff, obs, sd_vals)  {
^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:75:40:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L75) *style:* **Put spaces around all infix operators.**
```r
  fit_optima <- (opt_diff / sd_vals[4])^2;
                                      ~^~
```
[R/ABC_SMC.R:83:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L83) *style:* **Variable and function names should be all lowercase.**
```r
ABC_SMC <- function(numParticles, species_fallout, taxa, esppres, n_traits,
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:85:46:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L85) *style:* **Variable and function names should be all lowercase.**
```r
                    abundances, frequencies, stopRate, Ord)  {
                                             ^~~~~~~~
```
[R/ABC_SMC.R:89:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L89) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:89:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L89) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:90:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:90:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:91:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L91) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:91:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L91) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:93:13:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L93) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:94:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
  ^~~~~~~
```
[R/ABC_SMC.R:94:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:95:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:95:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:96:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:96:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:97:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:97:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:99:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
  ^~~~~~~~
```
[R/ABC_SMC.R:99:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
              ^~~~~~~~
```
[R/ABC_SMC.R:100:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
  ^~~~~~~~
```
[R/ABC_SMC.R:100:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
              ^~~~~~~~
```
[R/ABC_SMC.R:101:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
  ^~~~~~~~
```
[R/ABC_SMC.R:101:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
              ^~~~~~~~
```
[R/ABC_SMC.R:103:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L103) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:104:3:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
  ^~~~~~~~~~~
```
[R/ABC_SMC.R:104:25:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
                        ^~~~~~~~~~~~
```
[R/ABC_SMC.R:105:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L105) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:116:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L116) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- d[, 1]
    ^~~~~~~~
```
[R/ABC_SMC.R:117:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L117) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- d[, 2]
    ^~~~~~~~
```
[R/ABC_SMC.R:118:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L118) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- d[, 3]
    ^~~~~~~~
```
[R/ABC_SMC.R:123:11:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L123) *style:* **Variable and function names should be all lowercase.**
```r
    if (d[numParticles, 1] == numParticles) {
          ^~~~~~~~~~~~
```
[R/ABC_SMC.R:123:31:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L123) *style:* **Variable and function names should be all lowercase.**
```r
    if (d[numParticles, 1] == numParticles) {
                              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:141:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L141) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:142:28:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L142) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:142:28:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L142) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:150:12:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L150) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:150:29:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L150) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:154:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L154) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:154:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L154) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:156:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L156) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights,
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:157:35:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L157) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                  ^~~~~~~~
```
[R/ABC_SMC.R:157:45:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L157) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                            ^~~~~~~~
```
[R/ABC_SMC.R:157:55:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L157) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                                      ^~~~~~~~
```
[R/ABC_SMC.R:158:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L158) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:186:20:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L186) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:186:20:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L186) *warning:* **no visible global function definition for ‘strippedDbFd’**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:187:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L187) *style:* **lines should not be more than 80 characters.**
```r
      FRic <- FD_output$FRic # FRic = functional richness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L188) *style:* **lines should not be more than 80 characters.**
```r
      FEve <- FD_output$FEve # FEve = functional evenness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L189) *style:* **Use two spaces to indent, never tabs.**
```r
	  } else {
^
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L189) *style:* **lines should not be more than 80 characters.**
```r
      FDiv <- FD_output$FDiv # FDiv = functional diversity (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:190:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L190) *style:* **Use two spaces to indent, never tabs.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
^
```
[R/ABC_SMC.R:191:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L191) *style:* **Use two spaces to indent, never tabs.**
```r
	                          collapse = NULL), header = F)
^
```
[R/ABC_SMC.R:192:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L192) *style:* **Use two spaces to indent, never tabs.**
```r
	  }
^
```
[R/ABC_SMC.R:198:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L198) *style:* **lines should not be more than 80 characters.**
```r
      # calculate distance of trait mean simulated community from that of observed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:201:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L201) *style:* **lines should not be more than 80 characters.**
```r
      # (inverse) fit of model: euclidian distance of FD and trait mean values of
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L203) *style:* **lines should not be more than 80 characters.**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:14:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
             ^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:14:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L203) *warning:* **no visible global function definition for ‘calculateDistance’**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]], mean_optimum[1], summary_stats, sd_vals)
             ^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:207:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L207) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:207:27:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L207) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] <- params[1]
        ^~~~~~~~
```
[R/ABC_SMC.R:208:18:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] <- params[1]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] <- params[2]
        ^~~~~~~~
```
[R/ABC_SMC.R:209:18:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] <- params[2]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] <- params[3]
        ^~~~~~~~
```
[R/ABC_SMC.R:210:18:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] <- params[3]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:212:14:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L212) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] <- fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:213:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L213) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] <- FRic[[1]]
        ^~~~~~~
```
[R/ABC_SMC.R:213:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L213) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] <- FRic[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] <- FEve[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:214:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] <- FEve[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:215:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] <- FDiv[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:215:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] <- FDiv[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] <- mean_optimum;
        ^~~~~~
```
[R/ABC_SMC.R:216:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] <- mean_optimum;
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:219:11:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L219) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:219:23:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L219) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:219:39:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L219) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] = 1
                                      ^
```
[R/ABC_SMC.R:221:11:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:221:23:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:221:39:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L221) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] =
                                      ^
```
[R/ABC_SMC.R:222:13:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:222:53:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                    ^~~~~~~~
```
[R/ABC_SMC.R:222:63:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                              ^~~~~~~~
```
[R/ABC_SMC.R:223:29:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L223) *style:* **Variable and function names should be all lowercase.**
```r
                            compVals, weights)
                            ^~~~~~~~
```
[R/ABC_SMC.R:226:13:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L226) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
            ^
```
[R/ABC_SMC.R:226:14:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L226) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:226:34:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L226) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
                                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:232:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L232) *style:* **Put spaces around all infix operators.**
```r
      if (tried > (1/stopRate) && tried > 5)  {
                   ~^~
```
[R/ABC_SMC.R:232:22:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L232) *style:* **Variable and function names should be all lowercase.**
```r
      if (tried > (1/stopRate) && tried > 5)  {
                     ^~~~~~~~
```
[R/ABC_SMC.R:234:13:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L234) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
            ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:234:38:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L234) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:241:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L241) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
    ^~~~~~~~
```
[R/ABC_SMC.R:241:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L241) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
                ^~~~~~~~
```
[R/ABC_SMC.R:242:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
    ^~~~~~~~
```
[R/ABC_SMC.R:242:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
                ^~~~~~~~
```
[R/ABC_SMC.R:243:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L243) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
    ^~~~~~~~
```
[R/ABC_SMC.R:243:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L243) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
                ^~~~~~~~
```
[R/ABC_SMC.R:244:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L244) *style:* **Variable and function names should be all lowercase.**
```r
    weights <- nextWeights
               ^~~~~~~~~~~
```
[R/ABC_SMC.R:246:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                    ^~~~~~~~
```
[R/ABC_SMC.R:246:31:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                              ^~~~~~~~
```
[R/ABC_SMC.R:246:41:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                        ^~~~~~~~
```
[R/ABC_SMC.R:246:51:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                                  ^~~~~~~
```
[R/ABC_SMC.R:247:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                    ^~~~~~
```
[R/ABC_SMC.R:247:29:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                            ^~~~~~
```
[R/ABC_SMC.R:247:37:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                                    ^~~~~~
```
[R/ABC_SMC.R:248:54:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L248) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:251:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L251) *style:* **lines should not be more than 80 characters.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:251:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                  ^~~~~~~~
```
[R/ABC_SMC.R:251:35:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                                  ^~~~~~~~
```
[R/ABC_SMC.R:251:51:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                                                  ^~~~~~~~
```
[R/ABC_SMC.R:252:9:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L252) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:252:32:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L252) *style:* **Put spaces around all infix operators.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                              ~^~
```
[R/ABC_SMC.R:252:37:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L252) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                                    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:255:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L255) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
    ^~~~~~~~~~~
```
[R/ABC_SMC.R:255:26:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L255) *style:* **Commas should always have a space after.**
```r
    nextWeights <- rep(1,numParticles)
                         ^
```
[R/ABC_SMC.R:255:26:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L255) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:256:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:256:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:257:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:257:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:258:5:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L258) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:258:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L258) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:265:61:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L265) *style:* **Put spaces around all infix operators.**
```r
    d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
                                                           ~^~
```
[R/ABC_SMC.R:269:63:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L269) *style:* **Put spaces around all infix operators.**
```r
      d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                             ~^~
```
[R/ABC_SMC.R:272:15:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L272) *style:* **Put spaces around all infix operators.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
             ~^~~
```
[R/ABC_SMC.R:273:44:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/ABC_SMC.R#L273) *style:* **Put spaces around all infix operators.**
```r
	                          collapse = NULL), header = F)
                                          ~^
```
[R/generateArtificialData.R:4:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
generate.Artificial.Data <- function(n_species, n_traits, n_communities,
^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:6:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	pool_richness <- n_species
^
```
[R/generateArtificialData.R:8:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
^
```
[R/generateArtificialData.R:9:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	                                    mean = 0, sd = 1), 3),
^
```
[R/generateArtificialData.R:9:23:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L9) *style:* **Put spaces around all infix operators.**
```r
	pool_richness <- n_species
                     ~^~~
```
[R/generateArtificialData.R:10:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	                       ncol = n_traits, nrow = pool_richness)
^
```
[R/generateArtificialData.R:11:21:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                   ~^~~
```
[R/generateArtificialData.R:11:47:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                             ~^~
```
[R/generateArtificialData.R:11:49:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L11) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                ^
```
[R/generateArtificialData.R:11:64:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                              ~^~
```
[R/generateArtificialData.R:12:50:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                ~^~
```
[R/generateArtificialData.R:12:58:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                        ~^~
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:pool_richness) {
^
```
[R/generateArtificialData.R:13:37:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                   ~^~
```
[R/generateArtificialData.R:13:54:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                                    ~^~
```
[R/generateArtificialData.R:14:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	  column1[i] <- paste("species", i, sep = "")
^
```
[R/generateArtificialData.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- rep(NA, (n_traits + 1))
^
```
[R/generateArtificialData.R:16:12:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L16) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:pool_richness) {
           ^
```
[R/generateArtificialData.R:17:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_traits + 1) {
^
```
[R/generateArtificialData.R:17:22:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L17) *style:* **Put spaces around all infix operators.**
```r
	  column1[i] <- paste("species", i, sep = "")
                    ~^~~
```
[R/generateArtificialData.R:18:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
^
```
[R/generateArtificialData.R:19:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:19:14:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L19) *style:* **Put spaces around all infix operators.**
```r
	row1 <- rep(NA, (n_traits + 1))
            ~^~~
```
[R/generateArtificialData.R:19:25:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	row1 <- rep(NA, (n_traits + 1))
                        ^
```
[R/generateArtificialData.R:20:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	row1[1] <- "species"
^
```
[R/generateArtificialData.R:20:12:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L20) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_traits + 1) {
           ^
```
[R/generateArtificialData.R:21:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
^
```
[R/generateArtificialData.R:21:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                 ~^~~
```
[R/generateArtificialData.R:21:37:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                    ^
```
[R/generateArtificialData.R:21:40:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                      ~^~
```
[R/generateArtificialData.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df <- as.data.frame(columns)
^
```
[R/generateArtificialData.R:23:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	names(traits_pool_df) <- row1
^
```
[R/generateArtificialData.R:23:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L23) *style:* **Put spaces around all infix operators.**
```r
	row1[1] <- "species"
               ~^~~
```
[R/generateArtificialData.R:24:17:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
               ~^~~
```
[R/generateArtificialData.R:24:61:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                           ~^~
```
[R/generateArtificialData.R:24:63:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                              ^
```
[R/generateArtificialData.R:25:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
^
```
[R/generateArtificialData.R:25:24:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L25) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df <- as.data.frame(columns)
                      ~^~~
```
[R/generateArtificialData.R:26:31:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L26) *style:* **Put spaces around all infix operators.**
```r
	names(traits_pool_df) <- row1
                             ~^~~
```
[R/generateArtificialData.R:28:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
^
```
[R/generateArtificialData.R:28:26:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                        ~^~~
```
[R/generateArtificialData.R:28:43:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L28) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                          ^
```
[R/generateArtificialData.R:28:58:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                                        ~^~
```
[R/generateArtificialData.R:30:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^
```
[R/generateArtificialData.R:31:19:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                 ~^~~
```
[R/generateArtificialData.R:31:24:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                      ~^~
```
[R/generateArtificialData.R:31:51:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                 ~^~
```
[R/generateArtificialData.R:31:59:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                         ~^~
```
[R/generateArtificialData.R:32:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values < 0)] <- 0
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **lines should not be more than 80 characters.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:33:25:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                       ~^~~
```
[R/generateArtificialData.R:33:34:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                 ^
```
[R/generateArtificialData.R:33:61:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                           ~^~
```
[R/generateArtificialData.R:33:69:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                    ^~
```
[R/generateArtificialData.R:33:74:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                        ~^~
```
[R/generateArtificialData.R:33:76:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                           ^
```
[R/generateArtificialData.R:33:89:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                                ~^~
```
[R/generateArtificialData.R:34:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_communities){
^
```
[R/generateArtificialData.R:35:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
	  if(mechanism_random == T){
^
```
[R/generateArtificialData.R:35:47:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                             ~^~
```
[R/generateArtificialData.R:35:65:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                                               ~^~~
```
[R/generateArtificialData.R:36:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L36) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:36:47:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L36) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values < 0)] <- 0
                                             ~^
```
[R/generateArtificialData.R:37:12:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L37) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_communities){
           ^
```
[R/generateArtificialData.R:38:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L38) *style:* **Use two spaces to indent, never tabs.**
```r
	  }else{
^
```
[R/generateArtificialData.R:38:13:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  if(mechanism_random == T){
            ^
```
[R/generateArtificialData.R:39:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
^
```
[R/generateArtificialData.R:39:29:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L39) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:40:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- c()
^
```
[R/generateArtificialData.R:41:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(j in 1:n_traits){
^
```
[R/generateArtificialData.R:42:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L42) *style:* **Use two spaces to indent, never tabs.**
```r
	      for(k in 1:pool_richness){
^
```
[R/generateArtificialData.R:42:24:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                      ~^~~
```
[R/generateArtificialData.R:42:48:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                                              ~^~
```
[R/generateArtificialData.R:43:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L43) *style:* **Use two spaces to indent, never tabs.**
```r
		      l <- (j - 1) * pool_richness + k
^~
```
[R/generateArtificialData.R:44:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L44) *style:* **Use two spaces to indent, never tabs.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
^~
```
[R/generateArtificialData.R:44:16:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(j in 1:n_traits){
               ^
```
[R/generateArtificialData.R:45:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
	      }
^
```
[R/generateArtificialData.R:45:18:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L45) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      for(k in 1:pool_richness){
                 ^
```
[R/generateArtificialData.R:46:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:46:25:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                       ~^~~
```
[R/generateArtificialData.R:46:28:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		      l <- (j - 1) * pool_richness + k
                           ^
```
[R/generateArtificialData.R:46:31:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                             ~^~
```
[R/generateArtificialData.R:46:36:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                                  ~^
```
[R/generateArtificialData.R:47:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
^
```
[R/generateArtificialData.R:47:44:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L47) *style:* **Put spaces around all infix operators.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
                                          ~^~~
```
[R/generateArtificialData.R:48:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
^
```
[R/generateArtificialData.R:49:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L49) *style:* **Use two spaces to indent, never tabs.**
```r
	    trait_distances_onedimen <- c()
^
```
[R/generateArtificialData.R:50:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L50) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(m in 1:pool_richness){
^
```
[R/generateArtificialData.R:50:31:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                             ~^~~
```
[R/generateArtificialData.R:50:65:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                                                               ~^~
```
[R/generateArtificialData.R:51:1:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^
```
[R/generateArtificialData.R:51:30:](https://github.com/thijsjanzen/STEPCAM/blob/11ade1443ea9c455154b908f5f927b78723f725b/R/generateArtificialData.R#L51) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                            ~^~~


命名的规则为`被测试的内容_期待的结果`，这里下划线后面的部分属于测试的内容。`buildWithNoMoreThanThreeElements_ReturnEmptyMagic`，这样可能会好一些。


@aunpyz  อันนี้กุลบคอมเม้นท์แล้วแก้กลับคืนให้ละ


这里的问题同上。


@aunpyz แก้คืนละ ดู commit ใหม่


Possibly, but if so then yeah, should've been more like < 0.375 or so I think. Eh. Who cares about borders when shooting arrows at screens anyway.


@rohitmanglik are you referring to this part?
it executes when exception is thrown while getting place info.


or nah :DD, jo warum nicht. Ich mache das dann gleich mal.


下划线的后半部分，改成`HasCorrectSizeLimit`可能会好一些。


@kandation คือมึงจะใช้อันไหนก็ได้แหละ


safe


这里的`elementList`仅仅是供子类使用，在测试类中调用`protected`的成员欠妥。


Looks ok except that its fine to just free the temp_cipher string here (no need for a temp_cipher_orig). Similar code in ssl.c is not a good example to emulate ;) Note that strtok only changes the contents of the string, the string pointer temp_cipher remains intact and can be freed.


Fixed.


问题同上。


@aunpyz  กุเสียว พวกเคสดักควาย ใส่ -1 มา ฉะนั้น ให้ตั้งตัวตั้งต้น ด้วยค่าแรก ก็น่าจะดีแล้ว


yea its on same line at least but hovered still one pubic hair wider, lol and you recon you ocd is bad? :D


I'm so happy you are still working on this.

I'll see if I have any time later this week to work on the server side.


asd


命名问题。


https://www.elobuddy.net/topic/41017-azir-exploit/?do=findComment&comment=286507

👍


I don't think I've ever measured a pubic hair LOL; but yes, it is frustrating.


So... Before people start to ask, complain and bother me... It's FAQ time...! ☺

Q did you change device?
A yes, now I'm on Xiaomi mi5

Q this means that you will drop jflte devices?
A absolutely NO, but my test device is dead, and my daily device after 3 years is slowly dying, now I can work on mi5 and use my old s4 for testing... And hopefully make jflte owners happy with a fully working N release...!

Q will you release an MM rom for mi5?
A unfortunately no, it's not I'm my plan... Here's the situation: everything works like a charm, except for network selection and mobile data/wifi switch (often requires  a reboot or mobile data won't work)... I made this rom only for my personal usage because I hate Miui and Xiaomi from the deep of my heart (locked bootloader, lack of opensource software for the unlocking, kernel sources not released for months, etc), i can use it because I barely switch between mobile data and wifi, but honestly this is not a daily usage for everyone, and I will focus on N, I think it's a dumb idea lose time work on MM when N is out


blame??


I was thinking something similar (see below), but I'm not sure if it is worth the extra effort.

> I've been thinking that perhaps what we need here is some way of referring to the external and internal subjects,[1] something like:
>
> The problem is that she is not happy
> root(happy)
> nsubj:cop(happy, she)
> xnsubj:cop(happy, problem)
>
> So the xnsubj would be the subject of the entire clause on the other side of the copula, not just the main predicate:
>
> To be free is to be capable of thinking one's own thoughts .
> root(capable)
> xnsubj:cop(capable, free)
> cop(free, be-1)
> cop(capable, be-2)
>
> The main thing is that the device works .
> root(works)
> nsubj(works, thing)
> xnsubj:cop(works, thing)
>
> Potentiality is what a thing is capable of doing .
> root(capable)
> nsubj:cop(capable, thing)
> xnsubj:cop(capable, Potentiality)
>
> The corollary would be with xcsubj:cop,
>
> Your having been " slightly drunk " was the real problem .
> root(problem)
> cop(problem, was)
> xcsubj:cop(problem, drunk)
> cop(drunk, been)
> aux(drunk, having)
> nsubj:cop(drunk, Your)


Why reset this?
I think it should be `texto libre`.

[source](https://dict.leo.org/forum/viewUnsolvedquery.php?idThread=948383&idForum=19&lang=de&lp=esde)


Thanks my friend...


所有的测试方法内几乎都调用了这个私有方法，可以考虑写到`setUp`中。


Not sure what you mean here. Tried to do it pretty much the same as you did with the team-id


@sintsov Второй аргумент в нашем случае не срабатывает из-за umask сервера.
Интернеты рекомендуют делать последовательно mkdir, chmod.


I had problems getting `this.provisioningProfileUUID` in the method at this point.


I changed here again, now we only have one string and we are always returning an error code! I'm using `char array` instead of `string` because strings are very costly on Arduino!


@jar3817 Can you please revert / fix this one?


this method was divided into two ones for the sake of saving stack frames (= saving memory)! :D


I also changed here! We need smalled strings! :)


@shashwat-vik : Have you comparedthe actual dialect that was generated and the csv.excel dialect?
Ideally this shouldn't affect anything else if the Dialect properties dilimiter, escape chars, e.t.c are set correctly, but it doesn't hurt to double check that...


Oh crap I just realized, I've done some work on the file reading and
writing but I totally forgot to push it up to git! I'll see if I have any
more than you and if so I'll push up what I have when I get home from work
in a couple hours.  Sorry about that!

On Sep 18, 2016 12:53 PM, "dssquared" <notifications@github.com> wrote:

> I've started working with reading in the board file and filling the array,
> about half success now. Once the board array is filled we can start working
> on the rest. Not sure if we want to make a nother text file for the client
> to keep track of the board since the client is re-invoked each time. Can't
> really use an array since the program is restarted each time but writing to
> a file from an array could be a pain. I will finish the server side
> creating the board array first, might use a list within a list.
> What do you guys want to work on or feel comfortable about working on?
>
> David
>
> On Sat, Sep 17, 2016 at 6:35 PM, David Schwehr <dpschwehr@gmail.com>
> wrote:
>
> > Just checked, the address for localhost is correct, the port numbers and
> > ip being set from command line arguments is already implemented and I
> > checked the connection already. I was going to play around with different
> > ways of making the board and http stuff next. I put a board.txt file in
> the
> > folder too to use to test reading the file and creating an array or list
> of
> > lists for the board.
> > Remember to git pull before working on anything to make sure you have the
> > most recent version.
> > I will be working on it some tonight and spending most the day on it
> > tomorrow.
> >
> > On Sat, Sep 17, 2016 at 6:30 PM, David Schwehr <dpschwehr@gmail.com>
> > wrote:
> >
> >> Right now the server is on 127.0.0.1( i may have the address wrong but
> it
> >> should be the address of localhost, which is the same no matter what
> >> machine it is running on) just to run it on your local machine to test,
> it
> >> will be changed to the ip address of the machine it is running on when
> they
> >> grade it.
> >>
> >> On Sat, Sep 17, 2016 at 6:26 PM, David Schwehr <dpschwehr@gmail.com>
> >> wrote:
> >>
> >>> It is getting the fire commands from the command line arguments, that
> is
> >>> why the client is being invoked every play. The connection is made
> with the
> >>> port number and IP address passed in from the command line arguments. I
> >>> have already wrote the code for the connection using the socket
> library.
> >>> Thev ariables for the x and y coords passed from the command line are
> >>> working just as you had them in your test.py, I added it to the
> client.py
> >>> file already. These variable will be used in the methods that send the
> http
> >>> message. The http and passing in the variable I think will be the easy
> >>> part, some of it is done and it works. The time consuming part is
> going to
> >>> be writing the code to maintain the board and "serving" the display of
> the
> >>> board.
> >>> Tracking sunk ships will work as you suggested and this will be put in
> a
> >>> method called from read_board or process_reply or done inside of
> >>> process_reply.
> >>>
> >>> On Sat, Sep 17, 2016 at 6:10 PM, tyler-sassaman <
> >>> notifications@github.com> wrote:
> >>>
> >>>> I was thinking about tracking sunk ships. Just a thought, but what if
> >>>> we had a global variable for each ship (carrier = 5), and every time
> we hit
> >>>> that type of ship we decrement that value, and compare it to 0. so if
> >>>> carrier gets to 0 then it has been hit 5 times which is the same
> thing as
> >>>> being sunk.
> >>>>
> >>>> —
> >>>> You are receiving this because you authored the thread.
> >>>> Reply to this email directly, view it on GitHub
> >>>> <https://github.com/dssquared/Networks_Lab1/commit/
> 7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19068085>,
> >>>> or mute the thread
> >>>> <https://github.com/notifications/unsubscribe-auth/AE8DG_y6gkDXIV5_
> YwVT263okb39zDjcks5qrIFygaJpZM4J_dYG>
> >>>> .
> >>>>
> >>>
> >>>
> >>
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/dssquared/Networks_Lab1/commit/7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19071806>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ANiCOS9eO_caF6oZivfhC4W6aceQXCnFks5qrYi_gaJpZM4J_dYG>
> .
>


Yesterday the `Ble_Shield_And_LCD.pde` was consuming __80%__ of the Arduino memory for variables! With these changes, we are now at __66%__ and there is still where to take off! I will study the code again later on when I start to build the `PPU`!


I made some changes to the delays so that I can observe the true speed of thread processing


So...how can a no functional change be a regression like this?
Bench tests show only about 0.2% slowdown...doesn´t seem to be so big to fail like this.


I got reading the file and filling the array to work but I can't omitt the
newline character. Supossedly there is a strip('/n') that should work with
reading a file line by line but we need to read char by char. If you were
able to leave out the /n than that is farther than I got.

On Sun, Sep 18, 2016 at 1:24 PM, Emmanuel-Armstrong <
notifications@github.com> wrote:

> Oh crap I just realized, I've done some work on the file reading and
> writing but I totally forgot to push it up to git! I'll see if I have any
> more than you and if so I'll push up what I have when I get home from work
> in a couple hours. Sorry about that!
>
>
> On Sep 18, 2016 12:53 PM, "dssquared" <notifications@github.com> wrote:
>
> > I've started working with reading in the board file and filling the
> array,
> > about half success now. Once the board array is filled we can start
> working
> > on the rest. Not sure if we want to make a nother text file for the
> client
> > to keep track of the board since the client is re-invoked each time.
> Can't
> > really use an array since the program is restarted each time but writing
> to
> > a file from an array could be a pain. I will finish the server side
> > creating the board array first, might use a list within a list.
> > What do you guys want to work on or feel comfortable about working on?
> >
> > David
> >
> > On Sat, Sep 17, 2016 at 6:35 PM, David Schwehr <dpschwehr@gmail.com>
> > wrote:
> >
> > > Just checked, the address for localhost is correct, the port numbers
> and
> > > ip being set from command line arguments is already implemented and I
> > > checked the connection already. I was going to play around with
> different
> > > ways of making the board and http stuff next. I put a board.txt file in
> > the
> > > folder too to use to test reading the file and creating an array or
> list
> > of
> > > lists for the board.
> > > Remember to git pull before working on anything to make sure you have
> the
> > > most recent version.
> > > I will be working on it some tonight and spending most the day on it
> > > tomorrow.
> > >
> > > On Sat, Sep 17, 2016 at 6:30 PM, David Schwehr <dpschwehr@gmail.com>
> > > wrote:
> > >
> > >> Right now the server is on 127.0.0.1( i may have the address wrong but
> > it
> > >> should be the address of localhost, which is the same no matter what
> > >> machine it is running on) just to run it on your local machine to
> test,
> > it
> > >> will be changed to the ip address of the machine it is running on when
> > they
> > >> grade it.
> > >>
> > >> On Sat, Sep 17, 2016 at 6:26 PM, David Schwehr <dpschwehr@gmail.com>
> > >> wrote:
> > >>
> > >>> It is getting the fire commands from the command line arguments, that
> > is
> > >>> why the client is being invoked every play. The connection is made
> > with the
> > >>> port number and IP address passed in from the command line
> arguments. I
> > >>> have already wrote the code for the connection using the socket
> > library.
> > >>> Thev ariables for the x and y coords passed from the command line are
> > >>> working just as you had them in your test.py, I added it to the
> > client.py
> > >>> file already. These variable will be used in the methods that send
> the
> > http
> > >>> message. The http and passing in the variable I think will be the
> easy
> > >>> part, some of it is done and it works. The time consuming part is
> > going to
> > >>> be writing the code to maintain the board and "serving" the display
> of
> > the
> > >>> board.
> > >>> Tracking sunk ships will work as you suggested and this will be put
> in
> > a
> > >>> method called from read_board or process_reply or done inside of
> > >>> process_reply.
> > >>>
> > >>> On Sat, Sep 17, 2016 at 6:10 PM, tyler-sassaman <
> > >>> notifications@github.com> wrote:
> > >>>
> > >>>> I was thinking about tracking sunk ships. Just a thought, but what
> if
> > >>>> we had a global variable for each ship (carrier = 5), and every time
> > we hit
> > >>>> that type of ship we decrement that value, and compare it to 0. so
> if
> > >>>> carrier gets to 0 then it has been hit 5 times which is the same
> > thing as
> > >>>> being sunk.
> > >>>>
> > >>>> —
> > >>>> You are receiving this because you authored the thread.
> > >>>> Reply to this email directly, view it on GitHub
> > >>>> <https://github.com/dssquared/Networks_Lab1/commit/
> > 7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19068085>,
> > >>>> or mute the thread
> > >>>> <https://github.com/notifications/unsubscribe-auth/AE8DG_y6gkDXIV5_
> > YwVT263okb39zDjcks5qrIFygaJpZM4J_dYG>
> > >>>> .
> > >>>>
> > >>>
> > >>>
> > >>
> > >
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/dssquared/Networks_Lab1/commit/
> 7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19071806>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/ANiCOS9eO_
> caF6oZivfhC4W6aceQXCnFks5qrYi_gaJpZM4J_dYG>
>
> > .
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/dssquared/Networks_Lab1/commit/7f5b3dc1ba8a89d303ffa5a927903a77492af920#commitcomment-19071958>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AE8DG5F6ycythOV16iTCINZqZXSNnY3Fks5qrZAFgaJpZM4J_dYG>
> .
>


It's humans nature to move forward my friend.I am glad u  bought a new device ...using other device as DD and s4 for test is nice idea.I do the same.dat jflte is passion.u can't leave it so easy haha...mi5 is a beast!!in some days in will be back home so let's make some N rom for the people out there.


Hi,
How are you ^^ ?


Obvious to add this variable


Please merge it into vincent-beta he can use dbc and i think is most complet :) but thanks you for your fix man :)


To simplify code


@blacky0x0 Released in 0.5. Let me know if it works as you expected.


As indicated in the commit message, I suppose this is WIP and just the beginning of the lesson, right? As you are probably aware of, a good overview of classes can be accessed via `?regex`...


@blacky0x0 I turned it into `protected` in 0.5 release. Let me know if it does work for you.


So if this wasn't here, you IDE would tell you that you are not using any of the imports from `@angular/http` :-)


Doh! Forgot about that.

That's now fixed in https://github.com/gonzoid/picroscope/commit/88ad8d4c394fffac9f0a9055c77e2130e23bfede.


@blacky0x0 I have just released 0.5 version. It should be in Maven Central in a few hours.


Can you remove the function-bind dependency as well?


(Assuming it is in the package.json)


yes, should we open an issue? The thing is that it can't be implemented very easily I guess...


👍 good catch!


Suppression des foreign key dans la table qui provoquaient les bugs notamment dans tree behaviour
Changement pour UTF8 de toute la table
Changement pour MyIsam


Maybe it's a good idea to add:

```python
assert isinstance(test.languages, list)
```

here: https://github.com/cms-dev/cms/blob/b6fa831fe95de2c858e43141c9bd423767c7f919/cmstestsuite/testrunner.py#L282


ohh Sorry I missed it. Yes this will do.


new commit


That was already a problem with 20 caches, now it is even worse. IIRC we talked about a limit once. Not sure about the result, though.


wenn bei get raw V3.2. eingegeben wird, dann können auch beim Dummy sduino ältere Mancester Nachrichten simuliert werden


please dont hard code the urls


Is UNUSED() a macro defined somewhere else?
Wouldn't this work instead?
static inline unsigned int kgsl_get_alloc_size(__attribute__((unused)) int detailed)


грустно и обидно, верните тест!

вся разгадка в [String.prototype.replace](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/replace) (когда первый аргумент - строка `Only the first occurrence will be replaced.`)


Done, thanks!


yup - just getting started. I'm using a few different sources to try and work on what things to introduce in what order etc. Obviously the R help itself is often a core influencer in this regard.


I meant
`static inline unsigned int kgsl_get_alloc_size(__attribute__((unused)) int detailed)`


Well, it was in one file, but at this moment in development it is more practical for me to split these files.


[``](url)


thenkz


//hyh


Speed testing doesn't work.

On Sunday, September 18, 2016, AlexandreMasta <notifications@github.com>
wrote:

> So...how can a no functional change be a regression like this?
> Bench tests show only about 0.2% slowdown...doesn´t seem to be so big to
> fail like this.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/mcostalba/Stockfish/commit/b352d0c4611ccc51eff0c643322e3bc3a9bb416f#commitcomment-19071966>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABDGAX54V1ngB1l80aVkQSWGeQO8zkOUks5qrZC6gaJpZM4J__O4>
> .
>


Uh I forgot a really important thing: if someone wants to compile the rom and share it feel free to do it, but you know what's broken, and remember that I won't lose time to fix it, because N is out and I will work on it...!
Apart this mi5 is completely different than jflte, this means that 95% changes I made for mi5 won't affect jflte,  so I can work on both devices without big issues! And... Yeah, it's a beast...  144k on antutu with crappy prebuilt kernel... I hate xiaomi, but I love mi5 😀
![screenshot_20160917-172113](https://cloud.githubusercontent.com/assets/7747806/18618584/169915f4-7dea-11e6-8a97-60fe5f6d0dcd.png)


mem_copy function outside stack


It's the same, the UNUSED(x) macro does exactly that.
__attribute__((unused)) is incredibly ugly and verbose though.


Bad idea, default prefix is arm-eabi-


I'm so stupid.... Thought I've double-checked everything.....


RE: 05a-python.md
cc: @lucdemortier @reshamametis @aramnath @gfsoileau @julialintern @galvin-mj

Hello @thisisniall

Nice work on Python! Just one comment:
- Q7, `remove_adjacent`: doesn't work on `[2,2,3,3,3]`, as it returns `[2,2,3]`.

Everything else looks good!

👍


I got undefined error for UNUSED(). That's why I was wondering.


[Only spanish]
Acabe de captar que sin este código están entrando "Bots".
LOG:
Bot aajdf9wa2u, Bot 1lofa6o46e, Bot yquuab551c, Bot 0dtwlqc3bk, Bot mqntgaqvdm, and 44 others joined; Bot we6d0mep41, Bot aajdf9wa2u, Bot 1lofa6o46e, Bot yquuab551c, Bot 0dtwlqc3bk, and 44 others left.

Vaya que es tedioso.


I am now jealous...bought note 4 before 3 days.would I regret it ? Haha


changed


Well done! Did you try it? It works?


Правки по результатам ревью d83f947a3b2c30cd97fd307693eac69dc16f67d3


commit


Any plans for the special ones with runtime effects? __Memoize, __MockClass in particular


re reflection: maybe replace ReflectionFoo with PhackReflectionFoo in Hack files, allow PHP files to call it directly, copy the HHVM API in PhackReflectionFoo


<!-- PMABOT:SPACE -->
This commit contains trailing whitespace, what is prohibited in phpMyAdmin. Please check our [Developer guidelines](https://github.com/phpmyadmin/phpmyadmin/wiki/Developer_guidelines#Indentation) for more information.

Offending files: libraries/rte/rte_routines.lib.php


Put the pointers first they have the same length and will not use so much memory in the memory.
Put bool in the last to not use a entire word for a one byte.


Why not use the mcommand namespace ?


Was line 335 left there by mistake?


@ajaybhatt003
Hi, If you want to connect with DW1000. You need connect the SPI lines of DW1000 and andunio/pixhawk together. DW1000 is SPI interface. Then you need go to the official website to download some rangging demo code to get the distance.


處理 issue #2


Take off elif, use only else. It's better to have a default OS if all fails.


esta es la localizacion en español ya depurada, solo quedan los textos del juego, las reglas para participar en la traduccion es:
-no traducir las palabras en mayusculas a menos que sean vistas en el juego
-solo traducir la parte "valor" de los archivos
-no eliminar ni las comillas dobles ni las aperturas de los signos de interrogacion
-no incluir tildes ni la letra ñ ni las aperturas de signos ni tampoco comillas dobles, solo simples. (á,é,í,ó,ú,ñ,¿,!,",...)

la estructura del archivo es la siguiente
[nombre del archivo.df]
¿key¿="¿valor¿"


Lol, u could just say me to fix that. I will be more careful about that next time.


No worries. I'm not sure what text editor you use, but you should try and see if there's a setting to remove trailing white-space when saving.


if all fails, then no plugin is loaded.


我是张家卫


ok


บรรทัด Digest ที่ลบออก x0 มันปิดตัวลงเองตอนเข้าแมพครับ เอากลับมาใส่ก็เปิดได้ปกติ

ใน DirectConnection ผมก็เอาไปใส่แล้วนะ


because I didn't realized it's existence.


DO NOT GRADE


overall comment


Thanks,
I'll try it tomorrow.


What's wrong with this picture?


+#}
 +
 +## --------------- Start Project specifics --------------- ##
 +
 +# Keep the BuildConfig
 +-keep class org.addhen.smssync.BuildConfig { *; }
 +
 +# Keep the support library
 +-keep class android.support.v4.** { *; }
 +-keep interface android.support.v4.** { *; }
 +
 +# Application classes that will be serialized/deserialized over Gson
 +# or have been blown up by ProGuard in the past
 +-keep class org.addhen.smssync.models.** {*;}
 +
 +## ---------------- End Project specifics ---------------- ##
View 19  smssync/proguard-rules.tx


I nominate this commit message for understatement of the year


fixes #5


@NickNightingale77 thank you. you are a life saver.


De nada :) enjoy


@wenshao why do you implement it as raising an exception? Shouldn't it be something like:

```java
public class Issue776 extends TestCase {
     public void test_for_issue() throws Exception {
         String str1 = "{\"v\":[\" \",\"abc\",\"x\",\"abc\"]}";

         char[] c =  JSON.parseObject(str1, new  com.alibaba.fastjson.TypeReference<Map<String, char[]>>() {});
         assertEquals(4, c.length);
         assertEquals(c[0], ' ');
         assertEquals(c[1], 'a'):
         assertEquals(c[2], 'x'):
         assertEquals(c[3], 'a'):
     }
```


fatal: duplicate path external/e2fsprogs in /home/jbcdroid/Roms/AOSCP/.repo/manifests/default.xml

line 196  <project path="external/e2fsprogs" name="platform/external/e2fsprogs" groups="pdk" />


I think I figured out where my disconnect was once I was able to look up some details on the methods being used.  So the toLocalDateTime() method returns a LocalDateTime object which in my mind meant that it included the timezone of the local server.  But according to the docs it is a date-time without a timezone: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html

I see there is also a toInstant() on the sql.Timestamp, but it doesn't take a timezone so it stays just a date and time.  I'm guessing the thinking is we will want it to have the timezone so that we can do comparisons against the current time that we get from java as UTC.  So I think the code you have is now making sense to me.  Sorry.

If the dates in the DB aren't UTC we have a bigger problem cause we won't be able to tell since MySQL just stores date and time and no timezone.  So in order to make sure that isn't an issue and the DB server doesn't have to be set to UTC, we should probably use UTC_TIMESTAMP() in any SQL instead of NOW() which is dependent on the server timezone.

Unfortunately for legacy code, we will need to either change all NOW() calls to UTC_TIMESTAMP() (a lot of code changes) or make the DB server being on UTC time required (or at least mysql conf file setting the timezone to UTC even if the physical server isn't).

So to sum up, my confusion was that I assumed toLocalDateTime() changed the date from whatever the server had (which it would have no way of knowing a timezone) to the local timezone and then to UTC.

Sorry for the detour on the comments as I worked through that.


Can we slap a Nullable on argument and return type?


$.map本身就能返回一个新的数组吧


函数的形参没有意义


RE: 05a-python.md
cc: @lucdemortier @reshamametis @aramnath @gfsoileau @julialintern @galvin-mj

Hello @mjjohns1

Nice job with the Python problems! Here are some minor comments:
- Q1: Lists often contain different types of items. For example, a list of customers could contain, for each customer, a list consisting of name, email, age, gender, etc.
- Q5: Note that you can, for example, `print diff3.days` to just extract the days.
- Q6 & Q7: All these functions should *return* their result rather than print it (as per the instructions). If you then call one of these functions from within ipython, the returned item will automatically be displayed.

👍


Oi, já criei a minha conta.


merge


[1]  -> java.lang.ArrayIndexOutOfBoundsException


Allowing the screwdriver to rotate the door like this, fails to rotate the 'Hidden Door Segment' that is in the hinge of the top half of the door. For players, this segment causes unexpected collision with a hidden object.


This could be added as a separate script into `/etc/profile.d/`. We currently do this e.g. [for node](https://github.com/OraOpenSource/OXAR/blob/afc93842cb08a8e926515ea40eaf24774693a245/scripts/node-oracledb.sh#L16)


Fixed, thanks


Sure! Will do that tomorrow :)


For sure, I agree with you.


No chance to avoid this? I mean this looks odd to need this kind of permission for a custom app.


nice!


[Only spanish]

Siguen apareciendo los masivos bots al servidor.
http://prntscr.com/cjjo37


Thanks to you too!


Hey Denikson,  unrelated to the commit, but hit me up later, wanna talk about some stuff related to this (good news maybe)


There is lot of extra work on naming :)


You fixed it. :)


@agoldis When are these new properties going live?

I need to custom style a toggle when in the on state and I don't want to have to do it in the theme provider since I only want to use the theme provider once and use different styling for different toggles.

I installed the pre-release, but these properties are not included there either.

I'm wondering If I can temporarily copy the Toggle.js file as a custom component in my app until these properties get fully released.


viabilidad de costos
[VIABILIDAD DE COSTOS (1).docx](https://github.com/carlosbalamba/MIKEBOL/files/478961/VIABILIDAD.DE.COSTOS.1.docx)


debug print still there


anus


free already checks for null, drop that if


empty line


missing space before (


same here


looks like a debug printf


@micaelbergeron: I implemented what we talked about on the yasp-thread.
This is in clarity-2.2-SNAPSHOT, which should still be backwards compatible with 2.1.