[R/ABC_SMC.R:2:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
getRandomVals <- function(max_val)  {
^~~~~~~~~~~~~
```
[R/ABC_SMC.R:8:40:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L8) *style:* **Put spaces around all infix operators.**
```r
    a <- sample(1:3, size = 1, prob = x-floor(x) )
                                      ~^~
```
[R/ABC_SMC.R:9:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L9) *style:* **Put spaces around all infix operators.**
```r
    x2[a] <- x2[a]+1;
                 ~^~
```
[R/ABC_SMC.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/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/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigM,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:22:45:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigM,
                                            ^~~~
```
[R/ABC_SMC.R:23:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L23) *style:* **Variable and function names should be all lowercase.**
```r
                            dispVals, filtVals, compVals,
                            ^~~~~~~~
```
[R/ABC_SMC.R:23:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L23) *style:* **Variable and function names should be all lowercase.**
```r
                            dispVals, filtVals, compVals,
                                      ^~~~~~~~
```
[R/ABC_SMC.R:23:49:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L23) *style:* **Variable and function names should be all lowercase.**
```r
                            dispVals, filtVals, compVals,
                                                ^~~~~~~~
```
[R/ABC_SMC.R:24:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L24) *style:* **Variable and function names should be all lowercase.**
```r
                            numParticles, W)  {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:28:25:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L28) *style:* **Variable and function names should be all lowercase.**
```r
  for (i in 1:seq_along(dispVals)) {
                        ^~~~~~~~
```
[R/ABC_SMC.R:29:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(dispVals[i], filtVals[i], compVals[i])
    ^~~~~
```
[R/ABC_SMC.R:29:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(dispVals[i], filtVals[i], compVals[i])
               ^~~~~~~~
```
[R/ABC_SMC.R:29:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(dispVals[i], filtVals[i], compVals[i])
                            ^~~~~~~~
```
[R/ABC_SMC.R:29:42:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(dispVals[i], filtVals[i], compVals[i])
                                         ^~~~~~~~
```
[R/ABC_SMC.R:30:30:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L30) *style:* **Variable and function names should be all lowercase.**
```r
    diff <- params[target] - prevP[target]
                             ^~~~~
```
[R/ABC_SMC.R:31:50:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
    vals[i] <- W[i] * dnorm(diff, mean = 0, sd = sigM)
                                                 ^~~~
```
[R/ABC_SMC.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L37) *style:* **Variable and function names should be all lowercase.**
```r
normalizeWeights <- function(x) {
^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:44:24:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L44) *style:* **Variable and function names should be all lowercase.**
```r
perturb <- function(p, sigM)  {
                       ^~~~
```
[R/ABC_SMC.R:46:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	    cat("Found previously finished run, loaded results from that run\n")
^
```
[R/ABC_SMC.R:48:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	    return(output);
^
```
[R/ABC_SMC.R:49:34:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L49) *style:* **Put spaces around all infix operators.**
```r
  x <- sample(numbers, 3, replace=F)
                                ~^~
```
[R/ABC_SMC.R:51:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L51) *style:* **Variable and function names should be all lowercase.**
```r
  oldVal <- params[x[1]]
  ^~~~~~
```
[R/ABC_SMC.R:53:65:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L53) *style:* **Variable and function names should be all lowercase.**
```r
  params[x[1]] <- round(params [x[1]] + rnorm(1, mean = 0, sd = sigM), 0)
                                                                ^~~~
```
[R/ABC_SMC.R:57:27:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L57) *style:* **Variable and function names should be all lowercase.**
```r
  diff <- params [x[1]] - oldVal
                          ^~~~~~
```
[R/ABC_SMC.R:71:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/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:72:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L72) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  Fit_Rich <- (abs((rich - obs[,1])) / sd_vals[1])^2;
                   ^
```
[R/ABC_SMC.R:72:33:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L72) *style:* **Commas should always have a space after.**
```r
  Fit_Rich <- (abs((rich - obs[,1])) / sd_vals[1])^2;
                                ^
```
[R/ABC_SMC.R:72:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L72) *style:* **Put spaces around all infix operators.**
```r
  Fit_Rich <- (abs((rich - obs[,1])) / sd_vals[1])^2;
                                                 ~^~
```
[R/ABC_SMC.R:73:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L73) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  Fit_Even <- (abs((even - obs[,2])) / sd_vals[2])^2;
                   ^
```
[R/ABC_SMC.R:73:33:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L73) *style:* **Commas should always have a space after.**
```r
  Fit_Even <- (abs((even - obs[,2])) / sd_vals[2])^2;
                                ^
```
[R/ABC_SMC.R:73:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L73) *style:* **Put spaces around all infix operators.**
```r
  Fit_Even <- (abs((even - obs[,2])) / sd_vals[2])^2;
                                                 ~^~
```
[R/ABC_SMC.R:74:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L74) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  Fit_Div  <- (abs((div -  obs[,3])) / sd_vals[3])^2;
                   ^
```
[R/ABC_SMC.R:74:33:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L74) *style:* **Commas should always have a space after.**
```r
  Fit_Div  <- (abs((div -  obs[,3])) / sd_vals[3])^2;
                                ^
```
[R/ABC_SMC.R:74:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L74) *style:* **Put spaces around all infix operators.**
```r
  Fit_Div  <- (abs((div -  obs[,3])) / sd_vals[3])^2;
                                                 ~^~
```
[R/ABC_SMC.R:75:40:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/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/9a98bebbd29e83695001db6fb6946d85cc3ea609/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/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L85) *style:* **Variable and function names should be all lowercase.**
```r
                    abundances, frequencies, stopRate, Ord)  {
                                             ^~~~~~~~
```
[R/ABC_SMC.R:88:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L88) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:88:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L88) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:89:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L89) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:89:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L89) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:90:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:90:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:92:13:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L92) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:93:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L93) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
  ^~~~~~~
```
[R/ABC_SMC.R:93:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L93) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:94:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:94:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:95:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:95:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:96:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:96:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:98:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
  ^~~~~~~~
```
[R/ABC_SMC.R:98:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
              ^~~~~~~~
```
[R/ABC_SMC.R:99:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
  ^~~~~~~~
```
[R/ABC_SMC.R:99:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
              ^~~~~~~~
```
[R/ABC_SMC.R:100:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
  ^~~~~~~~
```
[R/ABC_SMC.R:100:15:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
              ^~~~~~~~
```
[R/ABC_SMC.R:102:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L102) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:103:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L103) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
  ^~~~~~~~~~~
```
[R/ABC_SMC.R:103:25:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L103) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
                        ^~~~~~~~~~~~
```
[R/ABC_SMC.R:104:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:110:6:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L110) *style:* **Place a space before left parenthesis, except in a function call.**
```r
   if(length(f) > 0)
     ^
```
[R/ABC_SMC.R:111:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L111) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/ABC_SMC.R:117:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L117) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- d[,1]
    ^~~~~~~~
```
[R/ABC_SMC.R:117:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L117) *style:* **Commas should always have a space after.**
```r
    dispVals <- d[,1]
                   ^
```
[R/ABC_SMC.R:118:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L118) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- d[,2]
    ^~~~~~~~
```
[R/ABC_SMC.R:118:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L118) *style:* **Commas should always have a space after.**
```r
    filtVals <- d[,2]
                   ^
```
[R/ABC_SMC.R:119:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L119) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- d[,3]
    ^~~~~~~~
```
[R/ABC_SMC.R:119:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L119) *style:* **Commas should always have a space after.**
```r
    compVals <- d[,3]
                   ^
```
[R/ABC_SMC.R:120:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L120) *style:* **Commas should always have a space after.**
```r
    fits <-     d[,8]
                   ^
```
[R/ABC_SMC.R:121:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L121) *style:* **Commas should always have a space after.**
```r
    weights <-  d[,9]
                   ^
```
[R/ABC_SMC.R:124:11:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L124) *style:* **Variable and function names should be all lowercase.**
```r
    if (d[numParticles,1] == numParticles)
          ^~~~~~~~~~~~
```
[R/ABC_SMC.R:124:24:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L124) *style:* **Commas should always have a space after.**
```r
    if (d[numParticles,1] == numParticles)
                       ^
```
[R/ABC_SMC.R:124:30:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L124) *style:* **Variable and function names should be all lowercase.**
```r
    if (d[numParticles,1] == numParticles)
                             ^~~~~~~~~~~~
```
[R/ABC_SMC.R:125:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L125) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    {
    ^
```
[R/ABC_SMC.R:126:35:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L126) *style:* **Put spaces around all infix operators.**
```r
      d <- read.table( f[length(f)-1], header = F);
                                 ~^~
```
[R/ABC_SMC.R:127:31:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L127) *style:* **Commas should always have a space after.**
```r
      output <- list( DA = d[,1], HF = d[,2], LS = d[,3]);
                              ^
```
[R/ABC_SMC.R:127:43:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L127) *style:* **Commas should always have a space after.**
```r
      output <- list( DA = d[,1], HF = d[,2], LS = d[,3]);
                                          ^
```
[R/ABC_SMC.R:127:55:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L127) *style:* **Commas should always have a space after.**
```r
      output <- list( DA = d[,1], HF = d[,2], LS = d[,3]);
                                                      ^
```
[R/ABC_SMC.R:136:3:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L136) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[R/ABC_SMC.R:144:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L144) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L145) *style:* **Use two spaces to indent, never tabs.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
^
```
[R/ABC_SMC.R:145:28:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:28:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L145) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:153:12:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L153) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:153:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L153) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:157:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L157) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:157:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L157) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:159:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *style:* **lines should not be more than 80 characters.**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:159:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:159:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *warning:* **no visible global function definition for ‘getFromPrevious’**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:159:53:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
                                                    ^~~~~~~~
```
[R/ABC_SMC.R:159:63:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
                                                              ^~~~~~~~
```
[R/ABC_SMC.R:159:73:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L159) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights, dispVals, filtVals, compVals)
                                                                        ^~~~~~~~
```
[R/ABC_SMC.R:160:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L160) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:167:11:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L167) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if( sum(params) > species_fallout) {
          ^
```
[R/ABC_SMC.R:179:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L179) *style:* **lines should not be more than 80 characters.**
```r
      # and community ((66 * permutations * communities) x total species richness) matrices
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:180:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L180) *style:* **lines should not be more than 80 characters.**
```r
      traits <- as.data.frame(species[, c(2:(n_traits + 1))], row.names = c(1:taxa))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:184:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L184) *style:* **Use two spaces to indent, never tabs.**
```r
	  d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
^
```
[R/ABC_SMC.R:185:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L185) *style:* **Use two spaces to indent, never tabs.**
```r
	                        collapse = NULL), header = F)
^
```
[R/ABC_SMC.R:186:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L186) *style:* **lines should not be more than 80 characters.**
```r
     # FD_output <- dbFD(traits[present_species, ], communities[, present_species], stand.x = F,messages=FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:186:8:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L186) *style:* **Commented code should be removed.**
```r
     # FD_output <- dbFD(traits[present_species, ], communities[, present_species], stand.x = F,messages=FALSE)
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:187:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L187) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities[,present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:187:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L187) *warning:* **no visible global function definition for ‘strippedDbFd’**
```r
      FD_output <- strippedDbFd(Ord, communities[,present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:187:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L187) *style:* **Commas should always have a space after.**
```r
      FD_output <- strippedDbFd(Ord, communities[,present_species])
                                                  ^
```
[R/ABC_SMC.R:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L188) *style:* **Use two spaces to indent, never tabs.**
```r
		  d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
^~
```
[R/ABC_SMC.R:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L188) *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:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L189) *style:* **Use two spaces to indent, never tabs.**
```r
		                        collapse = NULL), header = F)
^~
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L189) *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:190:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L190) *style:* **Use two spaces to indent, never tabs.**
```r
	  } else {
^
```
[R/ABC_SMC.R:190:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L190) *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:191:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L191) *style:* **Use two spaces to indent, never tabs.**
```r
		  d <- read.table(paste("particles_t=", t, ".txt", sep="",
^~
```
[R/ABC_SMC.R:192:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L192) *style:* **Use two spaces to indent, never tabs.**
```r
		                        collapse = NULL), header = F)
^~
```
[R/ABC_SMC.R:193:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L193) *style:* **Use two spaces to indent, never tabs.**
```r
	  }
^
```
[R/ABC_SMC.R:199:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L199) *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:202:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L202) *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:204:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L204) *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:204:14:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L204) *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:204:14:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L204) *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:208:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:27:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] = params[1]
        ^~~~~~~~
```
[R/ABC_SMC.R:209:18:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] = params[1]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:34:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L209) *style:* **Use <-, not =, for assignment.**
```r
        nextDisp[numberAccepted] = params[1]
                                 ^
```
[R/ABC_SMC.R:210:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] = params[2]
        ^~~~~~~~
```
[R/ABC_SMC.R:210:18:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] = params[2]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:34:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L210) *style:* **Use <-, not =, for assignment.**
```r
        nextFilt[numberAccepted] = params[2]
                                 ^
```
[R/ABC_SMC.R:211:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] = params[3]
        ^~~~~~~~
```
[R/ABC_SMC.R:211:18:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] = params[3]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:211:34:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L211) *style:* **Use <-, not =, for assignment.**
```r
        nextComp[numberAccepted] = params[3]
                                 ^
```
[R/ABC_SMC.R:213:14:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L213) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] = fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:213:30:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L213) *style:* **Use <-, not =, for assignment.**
```r
        fits[numberAccepted] = fit
                             ^
```
[R/ABC_SMC.R:214:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] = FRic[[1]]
        ^~~~~~~
```
[R/ABC_SMC.R:214:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] = FRic[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:33:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L214) *style:* **Use <-, not =, for assignment.**
```r
        RichVec[numberAccepted] = FRic[[1]]
                                ^
```
[R/ABC_SMC.R:215:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] = FEve[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:215:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] = FEve[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:215:32:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L215) *style:* **Use <-, not =, for assignment.**
```r
        EveVec[numberAccepted] = FEve[[1]]
                               ^
```
[R/ABC_SMC.R:216:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] = FDiv[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:216:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] = FDiv[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:32:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L216) *style:* **Use <-, not =, for assignment.**
```r
        DivVec[numberAccepted] = FDiv[[1]]
                               ^
```
[R/ABC_SMC.R:217:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] = mean_optimum;
        ^~~~~~
```
[R/ABC_SMC.R:217:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] = mean_optimum;
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:217:32:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L217) *style:* **Use <-, not =, for assignment.**
```r
        OptVec[numberAccepted] = mean_optimum;
                               ^
```
[R/ABC_SMC.R:219:11:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L219) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(t == 1) {
          ^
```
[R/ABC_SMC.R:220:11:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L220) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:220:23:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L220) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:220:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L220) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] = 1
                                      ^
```
[R/ABC_SMC.R:222:11:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:222:23:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:222:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L222) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] =
                                      ^
```
[R/ABC_SMC.R:223:13:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L223) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:223:53:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L223) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                    ^~~~~~~~
```
[R/ABC_SMC.R:223:63:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L223) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                              ^~~~~~~~
```
[R/ABC_SMC.R:224:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L224) *style:* **Variable and function names should be all lowercase.**
```r
                            compVals, numParticles, weights)
                            ^~~~~~~~
```
[R/ABC_SMC.R:224:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L224) *style:* **Variable and function names should be all lowercase.**
```r
                            compVals, numParticles, weights)
                                      ^~~~~~~~~~~~
```
[R/ABC_SMC.R:227:18:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                 ^
```
[R/ABC_SMC.R:227:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                  ^
```
[R/ABC_SMC.R:227:20:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                   ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:227:35:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Put spaces around all infix operators.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                                 ~^~~
```
[R/ABC_SMC.R:227:37:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                                    ^
```
[R/ABC_SMC.R:227:38:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                                     ^~~~~~~~~~~~
```
[R/ABC_SMC.R:227:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Put spaces around all infix operators.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                                                 ~^~
```
[R/ABC_SMC.R:227:65:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L227) *style:* **Put spaces around all infix operators.**
```r
	      if ((numberAccepted)%%(numParticles / PRINT_FREQ) == 0) {
                                                               ~^~~
```
[R/ABC_SMC.R:233:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L233) *style:* **Put spaces around all infix operators.**
```r
      if (tried > (1/stopRate) && tried > 5)  {
                   ~^~
```
[R/ABC_SMC.R:233:22:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L233) *style:* **Variable and function names should be all lowercase.**
```r
      if (tried > (1/stopRate) && tried > 5)  {
                     ^~~~~~~~
```
[R/ABC_SMC.R:235:13:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L235) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
            ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:235:38:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L235) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:242:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
    ^~~~~~~~
```
[R/ABC_SMC.R:242:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
                ^~~~~~~~
```
[R/ABC_SMC.R:243:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L243) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
    ^~~~~~~~
```
[R/ABC_SMC.R:243:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L243) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
                ^~~~~~~~
```
[R/ABC_SMC.R:244:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L244) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
    ^~~~~~~~
```
[R/ABC_SMC.R:244:17:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L244) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
                ^~~~~~~~
```
[R/ABC_SMC.R:245:16:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L245) *style:* **Variable and function names should be all lowercase.**
```r
    weights <- nextWeights
               ^~~~~~~~~~~
```
[R/ABC_SMC.R:247:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                    ^~~~~~~~
```
[R/ABC_SMC.R:247:31:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                              ^~~~~~~~
```
[R/ABC_SMC.R:247:41:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                        ^~~~~~~~
```
[R/ABC_SMC.R:247:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L247) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                                  ^~~~~~~
```
[R/ABC_SMC.R:248:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L248) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                    ^~~~~~
```
[R/ABC_SMC.R:248:29:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L248) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                            ^~~~~~
```
[R/ABC_SMC.R:248:37:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L248) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                                    ^~~~~~
```
[R/ABC_SMC.R:249:54:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L249) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:252:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L252) *style:* **lines should not be more than 80 characters.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:252:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L252) *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:35:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L252) *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:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L252) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                                                  ^~~~~~~~
```
[R/ABC_SMC.R:253:9:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L253) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:253:32:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L253) *style:* **Put spaces around all infix operators.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                              ~^~
```
[R/ABC_SMC.R:253:37:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L253) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                                    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:256:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
    ^~~~~~~~~~~
```
[R/ABC_SMC.R:256:26:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L256) *style:* **Commas should always have a space after.**
```r
    nextWeights <- rep(1,numParticles)
                         ^
```
[R/ABC_SMC.R:256:26:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:257:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:257:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:258:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L258) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:258:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L258) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:259:5:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L259) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:259:19:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L259) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:266:13:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L266) *style:* **Put spaces around all infix operators.**
```r
	  d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
           ~^~~
```
[R/ABC_SMC.R:266:51:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L266) *style:* **Put spaces around all infix operators.**
```r
	  d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
                                                 ~^~
```
[R/ABC_SMC.R:267:42:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L267) *style:* **Put spaces around all infix operators.**
```r
	                        collapse = NULL), header = F)
                                        ~^
```
[R/ABC_SMC.R:270:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L270) *style:* **Put spaces around all infix operators.**
```r
		  d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                   ~^~~
```
[R/ABC_SMC.R:270:59:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L270) *style:* **Put spaces around all infix operators.**
```r
		  d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                         ~^~
```
[R/ABC_SMC.R:271:50:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L271) *style:* **Put spaces around all infix operators.**
```r
		                        collapse = NULL), header = F)
                                                ~^
```
[R/ABC_SMC.R:273:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L273) *style:* **Put spaces around all infix operators.**
```r
		  d <- read.table(paste("particles_t=", t, ".txt", sep="",
                   ~^~~
```
[R/ABC_SMC.R:274:50:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/ABC_SMC.R#L274) *style:* **Put spaces around all infix operators.**
```r
		                        collapse = NULL), header = F)
                                                ~^
```
[R/generateArtificialData.R:3:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/generateArtificialData.R:4:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
generate.Artificial.Data <- function(numSpecies, numTraits, numCommunities,
^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:4:38:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L4) *style:* **Variable and function names should be all lowercase.**
```r
generate.Artificial.Data <- function(numSpecies, numTraits, numCommunities,
                                     ^~~~~~~~~~
```
[R/generateArtificialData.R:4:50:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L4) *style:* **Variable and function names should be all lowercase.**
```r
generate.Artificial.Data <- function(numSpecies, numTraits, numCommunities,
                                                 ^~~~~~~~~
```
[R/generateArtificialData.R:4:61:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L4) *style:* **Variable and function names should be all lowercase.**
```r
generate.Artificial.Data <- function(numSpecies, numTraits, numCommunities,
                                                            ^~~~~~~~~~~~~~
```
[R/generateArtificialData.R:5:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
	pool_richness <- numSpecies
^
```
[R/generateArtificialData.R:6:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	n_traits <- numTraits;
^
```
[R/generateArtificialData.R:6:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L6) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/generateArtificialData.R:7:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
	n_communities <- numCommunities
^
```
[R/generateArtificialData.R:8:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	mechanism_random <- random.Mechanism;
^
```
[R/generateArtificialData.R:8:23:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L8) *style:* **Put spaces around all infix operators.**
```r
	pool_richness <- numSpecies
                     ~^~~
```
[R/generateArtificialData.R:8:26:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
	pool_richness <- numSpecies
                         ^~~~~~~~~~
```
[R/generateArtificialData.R:8:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	mechanism_random <- random.Mechanism;
                                      ^
```
[R/generateArtificialData.R:9:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r

^
```
[R/generateArtificialData.R:9:18:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L9) *style:* **Put spaces around all infix operators.**
```r
	n_traits <- numTraits;
                ~^~~
```
[R/generateArtificialData.R:9:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L9) *style:* **Variable and function names should be all lowercase.**
```r
	n_traits <- numTraits;
                    ^~~~~~~~~
```
[R/generateArtificialData.R:10:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool <- matrix(round(rnorm(n = (pool_richness * n_traits), mean = 0, sd = 1), 3),
^
```
[R/generateArtificialData.R:10:23:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L10) *style:* **Put spaces around all infix operators.**
```r
	n_communities <- numCommunities
                     ~^~~
```
[R/generateArtificialData.R:10:26:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
	n_communities <- numCommunities
                         ^~~~~~~~~~~~~~
```
[R/generateArtificialData.R:11:26:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	mechanism_random <- random.Mechanism;
                        ~^~~
```
[R/generateArtificialData.R:11:39:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
	mechanism_random <- random.Mechanism;
                                      ^
```
[R/generateArtificialData.R:12:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L12) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	column1 <- c()
^
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L13) *style:* **lines should not be more than 80 characters.**
```r
	traits_pool <- matrix(round(rnorm(n = (pool_richness * n_traits), mean = 0, sd = 1), 3),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:13:21:](https://github.com/thijsjanzen/STEPCAM/blob/9a98bebbd29e83695001db6fb6946d85cc3ea609/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix(round(rnorm(n = (pool_richness * n_traits), mean = 0, sd = 1), 3),
                   ~^~~
```


@ostapqwert  при текущем подходе реализации, тебе не нужна эта функция


How did you find it?

On Sat, 17 Sep 2016 6:52 pm Nyall Dawson <notifications@github.com> wrote:

> Yep. There was an endless cycle between this and qgsdoublespinbox. All
> fixed:)
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/qgis/QGIS/commit/59583e97deef732f6884a54b518fc34225fd6012#commitcomment-19064032>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAXS3HRVaIow_r6JNXFwAjhKpKiOLXv9ks5qq6pDgaJpZM4J_iyF>
> .
>


needful done


# Line break before question
I think it is good practice to separate introduction and actual question by a line break. So If I feel like I know what '^' stands for, I can immediately find the beginning of the question


It seems that most of this is just whitespace change, e.g. conversion of tabs to spaces or vice versa. This makes reviewing the actual changes way more difficult. Could you please fix that?


Thanks, seems to be working nicely! :+1:


Yes, exactly. Sorry for being unclear.


This query is way too long and too complex to be in a controller. You could shove it down to the model, adding either a scope or a class method to the `UserVisit` model, split it into multiple lines and maybe even multiple methods, for instance:
```ruby
def self.visit_data_for_time_unit(time_unit) #or whatever describes the query
  visitors_for_time_unit.count.map { |k, v|
    { label: k.to_s().slice(0,10), value: v }
  }.sort_by { |d| d[:label] }
end

private

def self.visitors_for_time_unit(time_unit)
  where("visited_at > ?", time_unit[:visit_limit]).
    group("DATE_TRUNC('#{time_unit[:unit]}', visited_at)")
end


Hello, from API


# Swirl in general
##T and TRUE not evaluated identically within swirl?
For the grep question where I was supposed to set `value = TRUE`, `value = T` did not work. That should not be the case.

## question ids
why do questions not have ids? Or are they optional?


Hi Hummel95, at the moment I am very satisfied with the state of the project. Currently I do not have any plans to add more features to the app, unless someone asks for it. Until then I will optimize the performance and make the code more modular.


```
following packages are added
```
워낙 간단한 커밋이지만, 아래에 패키지 이름을 커밋 메세지에서도 보여줘야 하지 않을까요??


You could utilize a serializer for this (but might be also be overengineering here).


`unexpected packages` 보다는 이전 커밋의 일종의 실수를 바로잡는 특수한 성격의 커밋이니 `Revert installed packages` 혹은 `Uninstalled packages`라고 제목을 지은 후, d2d7902 에서 설치한 패키지들을 지웠다고 커밋 메세지에 명시해주는게 더 깔끔할 것 같습니다


`unexpected` 자체에서는 **"오호...의도치 않았던 패키지라는군. 근데 그걸 갖고 뭐했대??"** 같은 느낌이 저는 들었습니다. 다른 분들은 어땠을지는 모르겠네요!


Thanks! Finally I can delete my fork https://github.com/3lvis/PersistentUUID 👏


# How shift attention to created output?
I was wondering how that could be done. Otherwise, I think you are tempted to answer the question and don't pay attention to the output, which, in some cases, is quite verbose, e.g. the `gregexpr` example, we get a long list in which in turn every element contain three elements. Especially when the text of the next question is long and the console takes only a small proportion of the window (i.e. because you have .R files open in the editor), you hardly see the output. But I think you should know what you produce... So one way to go about it would be to refer to the output before continuing with the next question, e.g. display a text where you are only asked to read and then press enter. Of course that would not be necessary for all questions.
In addition, we could recommend at the beginning of the course to give reduce the size of the editor to a minimum. Actually you don't even need it. Just did that and it makes quite a difference when working through the class.


I guess the repository link next to the licensing info could be removed then, to avoid duplication.


Hi Blake, how are you?
AET tools seems very interesting for additive manufcturing, i think forstnerize could be useful for create lattice but work only Z direction ?


Also updated the buildToolsVersion from 24.0.0 to 24.0.1.


Why not `count(self::$updateQueue) == 0`?


pull qs down with one finger. Yes, this feature doesn't work too.


E.g.

```c#
        public FastAndDirtyConfig()
        {
            Add(Job.Default
                .WithLaunchCount(1)     // benchmark process will be launched only once
                .WithIterationTime(new TimeInterval(100, TimeUnit.Millisecond)) // 100ms per iteration
                .WithWarmupCount(3)     // 3 warmup iteration
                .WithTargetCount(3)     // 3 target iteration
            );
        }
```


You forgot to add OpenMegaEngine.project.gmx to your commits. It seems to be the only thing missing to make it work.


Неплохо написал. Всегда есть куда стремиться, но этот коммит хорош.
Я запущу, посмотрю в действии


Ahh, my brain read it as "I don't think I can handle this". I'm going to bed: it is 1 o'clock.


Good night.


Ok leave it, Sorry for the above I just saw your https://github.com/MOVZX/Kenzo/commit/ab1725b1af1c62480d60e556e315eb7ec6a252f7 thanks for the credits


@terkelg

Here is the GIF of how it looks like : http://i.imgur.com/9xFLPQD.gif


also remove wine-staging-git, since it is just a earlier build of the wine-lpa-1.9.18r75...


Woops. Way to commit to master ya goon.


@davidromani how can I remove this last commit on devel?
`$git revert HEAD`  ?   I didn't write down when we did it.
I should've done commit on excelwebzone/recaptcha-bundle :rage:


> What do you mean same type as File?

I'm comparing with `Optional`, which I'm going to use instead of this.


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.


I want to test move this code
+        if (Settings.System.getInt(mContext.getContentResolver(),
 +                    Settings.System.DOUBLE_TAP_SLEEP_NAVBAR, 0) == 1)
 +            mDoubleTapGesture.onTouchEvent(event);

above this         if (mGestureHelper.onTouchEvent(event)) {
             return true;


@corny I don't know a boolean is always atomic. Could you give me the URL for that information?
Even if a boolean is always atomic, my understanding is that you still need a synchronization like sync.Lock to read a value updated by another goroutine.

* [What operations are atomic? What about mutexes?](https://golang.org/doc/faq#What_operations_are_atomic_What_about_mutexes)
* [The Go Memory Model - The Go Programming Language](https://golang.org/ref/mem)


After talking with a few people who've taken and passed the course they said to use the echo server that he provided the code for in class as a base to build on for the project. I typed in all the code necessary for the UDP example to work in Eclipse. Here are the four classes.


We will need to change the input method from System.in to a file reader.


Just like in the SenderThread class we will need to change the output from a println to a file. These changed wont really be tough.


![screenshot from 2016-09-18 00-58-24](https://cloud.githubusercontent.com/assets/207850/18611796/40391886-7d46-11e6-8018-f882665dc172.png)
![screenshot from 2016-09-18 01-28-13](https://cloud.githubusercontent.com/assets/207850/18611795/4038ff86-7d46-11e6-9031-13ed9cc50b78.png)


no if door moving?


global button stop


stop door?


Si son distintos porque nosotros usamos una versión modificada de bem.
Úsalo como está en el standard que les pasé. Vas a ver que la diferencia
está en que antes de los elementos usamos -- y antes de los modificadores _
Es exactamente al reves del BEM tradicional.

Saludos

El 17 sept. 2016 20:33, "Emmanuel-Benvenutto" <notifications@github.com>
escribió:

> Fer, intenté utilizar BEM...pero tomé ejemplos de este link y son distintos
> a como vos me plantéas...
>
> http://getbem.com/naming/
>
> Por ejemplo, el que está al final de la página:
>
> .form__submit--disabled { }
>
> Ahí utiliza "__" para agregar un elemento al bloque.
>
> Tendría que usar "--" para el elemento entonces?
>
>
>
> 2016-09-17 18:18 GMT-03:00 fercho8787 <notifications@github.com>:
>
> > Remember that according to our standard, BEM should be written like:
> > *Block--Element_Modifier*
> >
> > I like to see that you implemented BEM.
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/Emmanuel-Benvenutto/startup/commit/
> 897b192e43b0ecf41edc9ef67bdd4ebfdffc364c#commitcomment-19067243>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/AVHMRk_XtpQ_rEaopJ-
> Soai0396x5v6vks5qrFkwgaJpZM4J_t2F>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/Emmanuel-Benvenutto/startup/commit/897b192e43b0ecf41edc9ef67bdd4ebfdffc364c#commitcomment-19067923>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ANE6GpbEcWUgY0y1rKRDt30qKiC0YAXYks5qrHjHgaJpZM4J_t2F>
> .
>


Hey guys, sorry I haven't got back to you until now, ended up having a way
busier Saturday than I expected too.  I'm gonna get some work in tonight
but should have a lot of time tomorrow to finish up my part!

On Sep 17, 2016 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 are subscribed to this 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/ANiCOTr8_TuYeai0VfkV7YPDjycTvYJpks5qrIFygaJpZM4J_dYG>
> .
>


Also see [Tweakable Block Ciphers](https://people.eecs.berkeley.edu/~daw/papers/tweak-crypto02.pdf) by Liskov, Rivest and Wagner. From the paper:

> For this operator, we call the new (second) input a *"tweak"* rather than a *"nonce"*
> or *"initialization vector,"* but the intent is similar. A tweakable block cipher thus takes three
> inputs *a key* K ∈ {0,1}k, *a tweak* T ∈ {0,1}t, and *a message* (or
> *plaintext*) M ∈ {0,1}n -- and produces as output *a ciphertext* C ∈ {0,1}n.
>


Was breaking BE'd pets and causing them to massively devolve. Bringing up on dev to do a ifnal test


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>
> .
>


Runner file for eventual regression analysis.  Run file followed by mlb team name for an array to be returned containing run totals for the given team over the last 5 seasons at home.


Ok X3 Complete Thank you.

DunstleOS
Unknow item


This was supposed to be a separate branch and a PR, but if `git branch foo` switched you to the new branch, that would be too obvious and useful, and we all know Git can't have none of that.


Thanks for updating the .exe because I'm using linux xD


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>
>> .
>>
>
>


hmm, that's a very good point.  The new django-celery-beat and django-celery-results packages are actually 1.8+ already!


Mh I checked again and a bool read/write is not guaranteed to be atomic. You can keep your code, you can use the `sync/atomic` package, or you use https://github.com/tevino/abool
`IsClosed()` can be also simplified like this:

```go
	s.mu.Lock()
	defer s.mu.Unlock()
	return s.closed

```


ddd


Hey don't know if it's still an issue for you, but neobuddy89 implemented a thermal hook for his msm_limiter driver that you might be able to adapt to hard limit!


Thank you for the very quick fix 💃


En esta imagen podemos evidenciar la nueva versión del diagrama de distribución con las correcciones indicadas y actualizadas
![despliegue](https://cloud.githubusercontent.com/assets/20650800/18611845/9f6f126c-7d0d-11e6-81ac-885f311c0a17.jpg)


En este documento podemos ver el diagrama de clases de nuestro proyecto
![main](https://cloud.githubusercontent.com/assets/20650800/18611854/d63f388a-7d0d-11e6-96d9-747a6419bcd0.jpg)


@robcore Thanks! I'll definitely look into it


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>
>>> .
>>>
>>
>>
>


`

#[- [ ] 1.
- [ ] 2.
- [ ] 3. `](url)


I use `defer` only for more complicated cases which have multiple `return`s, like:
https://github.com/hnakamur/go-scp/blob/86371df4ba989ba7132e59940b91fc7daac8ab72/sink.go#L313

In this case, I prefer not to use `defer` to avoid the overhead of it.

* [\[go-nuts\] Defer performance - Grokbase](http://grokbase.com/t/gg/golang-nuts/158zz5p42w/go-nuts-defer-performance)


Build report #160751930 for sha d30f3ff39c841117654e71753ef6803bb988ed71:

[![UnitTests](https://img.shields.io/badge/unittests-passed%20%280/0%29%20-brightgreen.svg)](#)
[![Coverage](https://img.shields.io/badge/coverage-0.00%20%25-yellow.svg)](#)
[![Cppcheck](https://img.shields.io/badge/cppcheck-0%20error%28s%29-brightgreen.svg)](#)
[![Code statistics](https://img.shields.io/badge/cloc-1793%20/%208225%20%2821.80%20%25%29-yellow.svg)](#)
[![Documentation](https://img.shields.io/badge/doc-success-brightgreen.svg)](#)
[![Documentation coverage](https://img.shields.io/badge/doc--coverage-0.00%20%25-yellow.svg)](#)


Closes: https://github.com/ACID-Scripts/TBC/issues/31


This will be useful for me, thanks

On Sun, Sep 18, 2016 at 2:33 AM, Krzysztof Marczak <notifications@github.com
> wrote:

> When settings are loaded only popup window is showed but text is not
> displayed in new description editor
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/buddhi1980/mandelbulber2/commit/32b8b89ec7bcf47855385b58b56ede22705c9ef7#commitcomment-19064869>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMLZHHuYj72dadu-SJSs1CdXwr8XCPCcks5qq_oggaJpZM4J_nL7>
> .
>


Actually, there is one more problem: there is no damage code (should be on prtEnemy).


this is the homework zero


@vlj tu peut le prendre pour la master ? je l'ai bien tester et parfaitement fonctionnelle


Are you talking about setting `this.list.query = {}` in order to fetch all the data?  Or setting `this.list.source = null` to cancel the in-flight query?


@LitecoinNode Some people are asking for SHA256 because SHA1 and MD5 hash collisions are possible.


Yes, sounds good (although if the function returns something it should be called `getQuery()` rather than `setQuery()`.


@vlj tu peut le prendre pour la master ? je l'ai bien tester et parfaitement fonctionnelle
il manque juste le changement de l'archive pour apreveyor, mais les lib sur dispo ici http://llvm.org/releases/download.html#3.9.0


I just hit that assert, starting a game from the launcher with custom graphics settings (full screen while the launcher is windowed) and while synchronisation of save games was starting.
I am wondering if this assert still makes sense after your changes and how we should handle the case when this function is called while _transactionMode is not kTransationNone.


how to install


Hey Ben just a heads up

I am using UE 4.12.5 and when I ran this code the Editor immediately crashed saying there was something wrong at line 47 in OpenDoor.cpp. I went ahead and looked and this line is there:

`if (PressurePlate->IsOverlappingActor(ActorThatOpens))`

So I did a bit of bug testing and it appears that, perhaps since 4.10 they did a few changes to how this works because the culprit was that one of the doors didn't have a pressure plate. As soon as I gave the door a pressure plate it started working again. So my workaround to allow for doors to have null references to a trigger volume became this:

```
if (PressurePlate)
{
	if (PressurePlate->IsOverlappingActor(ActorThatOpens))
	{
		OpenDoor();
	}
}
```


No problem mate, this kernel is just for my personal purpose only, not shared publicly on XDA.


Se agrega un procedimiento para actualizar la experiencia, el nivel, y felicitar al jugador de haber progresado.


Shouldn't Earth shield only scale with Spellpower on the initial cast?


Se crea un procedimiento para Elegir una categoría, pregunta y orden de las respuestas aleatoriamente.


Diagrama de Classes


2 more observations:

1. Flash Bomb's explosion seems to have 3 seconds duration. Take a look here: https://www.youtube.com/watch?v=bpIyokgbgwU . But instead of replicating the animation many times in the sprite, start a timer on the explosion create event (alarm[0] = room_speed * 3, then on the alarm 0 event just destroy the instance).
2. The explosion is bigger than MM (it is even useful for hiding behind it to protect from enemies). I suggest you to use the sprites from Rockman 8 FC: http://www.spriters-resource.com/pc_computer/rockman8fcmegaman8fc/sheet/56275/


修正コミットで解消しているのを確認しました。
確かに見ための変更は少ないですが実行タイミングがゴソッと変わってますね。

EpgTimer側しかいじらない自分が言うのもなんですが、
メッセージループとかロック関係はうっかりすると簡単に不具合になって怖いですね。


Interesting! Is it perhaps possible that they were expecting the accumulator to always have overflow at that point, so the TS MPAC would skip over the OCT 17? Maybe something further upstream is wrong, causing A to not contain overflow.


is there a way to merge scan pokemon lure and get their IV&Move branch to this one ?


test


@kleinee not yet! Have you tried it? It took a few hours to install, however I'm struggling to be able to access the jns from another computer. I'll let you know when i figure it out. Good luck!


Comment on 78e80e9


Hi @peti: I think this commit broke `hoogle` 4 support.  This is the output I get, from a build that works with the parent of this commit:

```
Preprocessing test suite 'hoogle-test' for hoogle-4.2.43...
[1 of 1] Compiling Main             ( src/Test.hs, dist/build/hoogle-test/hoogle-test-tmp/Main.o )
Linking dist/build/hoogle-test/hoogle-test ...
running tests
Running 1 test suites...
Test suite hoogle-test: RUNNING...
Downloading downloads/platform.cabal
WARNING: Could not find command line program wget.
WARNING: Could not find command line program curl.
hoogle: Error when running Shake build system:
* default.hoo
* platform.hoo
* platform.txt
* downloads/platform.cabal.cache
* downloads/platform.cabal
Could not find downloader, neither curl nor wget are on the $PATH.
CallStack (from HasCallStack):
  error, called at src/Recipe/Command.hs:51:27 in main:Recipe.Command

hoogle-test: Command: dist/build/hoogle/hoogle data
Failed with: ExitFailure 1
CallStack (from HasCallStack):
  error, called at src/Test.hs:22:18 in main:Main
Test suite hoogle-test: FAIL
Test suite logged to: dist/test/hoogle-4.2.43-hoogle-test.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for ‘/nix/store/3fgvzhpbgi6kqhgahyg5ixl8a6zv709w-hoogle-4.2.43.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/3bfg2sfg0lg555707pc0mg631998hklp-build.sh.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/3bfg2sfg0lg555707pc0mg631998hklp-build.sh.drv’ failed
```


I haven't bisected this, so it could be a later commit than yours which caused this, but I was hoping you might recognize the nature of the fault.


Comment on 7981ccc


传递进来的参数无效吧


Do you get redefinition errors when compiling?


There's a bug here - should be:
<option value="allbut

Tested/verified - Hope is well :)


It's ok.


CNAME init


In-game Tilemap editor


Refactor scene and game class to be more unified


Tilemap


@bingo20145 你好，有问题的话可以发email问我，hldai@outlook.com


Sound FX


Animated tiles


Change the calorimeter hit output method. Made changes for double particle tracking. Bug fixed when SoLKalTrackFinder CheckTrigger function


@好的，谢谢！


I also added the icon imgs and jar required for the media player to run properly.


There's a possible related thing here: https://github.com/rburkey2005/virtualagc/blob/block1/yaAGCb1/executeOneInstruction.c#L399

Doesn't the "0 & " mean that the positive branch will never be taken? And shouldn't it be looking at A's overflow, not the fetched operand?


@petronny 你是不是根本没测试过啊？这个逻辑反了。还有，你没有调用 `.connect` 方法。


I left the most notable change on the cutting room floor of the git commit - I finally have added Wextra as discussed on GItter when @krader's noticed me running with more flags on than the project defaults.

This makes our build noisy again - we'll see if we like a squeaky wheel.

I removed `-Wno-sign-compare` because it was present but actually it was suppressing 0 warnings on m system.


Alltså jag lämnade den raden där för att undvika klagomål


commit again


Clase rectangulo, empezando


This commit implements #3 and hopefully fixes #8 .


Yes, using the v3 CZMQ API is a great idea IMO.

On Sun, Sep 18, 2016 at 11:36 AM, Patrik Wenger <notifications@github.com>
wrote:

> I still feel inexperienced in C, but I can try.
>
> And I'm sorry to hear about that. I could but I haven't even read 100% of
> it. If it's about accepting PRs, and maybe eventually adapting it for the
> more recent CZMQ API (like zactor instead of zthread), then sure.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/booksbyus/zguide/commit/fd16d5e466e1ce3a9d1f2eca13293ba6dddcabed#commitcomment-19070072>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AASzCFPXfE_Ercgf3nOQzyJ32GeP46qrks5qrQYZgaJpZM4J_sVY>
> .
>


Hehe oeps

Op 18 sep. 2016 om 12:01 heeft Kevin Boosten <notifications@github.com<mailto:notifications@github.com>> het volgende geschreven:

@jeroensak<https://github.com/jeroensak> je hebt per ongeluk ook de config.xml verwijderd ;) Ik zal hem terugzetten in mijn volgende pull request

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/jeroensak/devdays16/commit/654c194ddb71a132de89834cfcf138acfec880c7#commitcomment-19070147>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIgzCsUk1ToNWGw3JCnaBRqddIMzKUA_ks5qrQvpgaJpZM4J_3Eo>.


returning the promise @gizur-prabhat


This looks great! I think choosing to supply a separate `y` input is the right way to go. I am still not convinced that it is smart to calculate the prox value in the prox too, but maybe it is.
Regarding the `@inblunds`, I think that we could simply start by checking that the lengths of both inputs are the same. I assume that these functions will eventually be run on slices of the inputs (for example in the cone case where we have different cones for different parts of `x`) so we should verify that it works for that case too.
One thing that should probably be changed however is that x and y should be the same type. For example:
```julia
function prox!(f::SqrDistL2, x::RealOrComplexArray, gamma::Float64, y::RealOrComplexArray)
```
should probably be
```julia
function prox!{T<:RealOrComplexArray}(f::SqrDistL2, x::T, gamma::Float64, y::T)
```


The best way to know how WSGI works is to test with a plain WSGI app what gunicorn, mod_wsgi and uwsgi do. They may or may not do the same thing, which may or may not be what PEP 3333 says :-/

Then you can add Django to the mix and see if it does something incorrect.


Is the `sign` really what we want here? (I actually don't know), it has the behavior `sign(x):=x/abs(x)` even for complex `x`.


Question: Is this also a fix: https://github.com/FairphoneMirrors/android_kernel_fairphone_fp2/commit/bc38a196609e76a611d698211c7bd9f79bebda5b (from the official repo)?


I'm not sure why, but Nanosoldier didn't seem to receive the job it submitted to itself here. Let's try again:

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


it should be `PYTHONPATH=. py.test` from this location,
indeed if you only use `PYTHONPATH=.. py.test` it should not work, so this means that you have '.' in your default PYTHONPATH.


Thanks and sorry! :)


Didn't receive it that time either, but there's nothing weird that I can see from the server logs...hmmm. I've restarted the server, hopefully it will work:

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


If all ifs fail, no "if" will exist and "else" will not make sense, GCC will fail to compile it.


Sorry, I think it's something historical or just a copy-paste :)


While it's connected make more sense to me


how to become a qualified front end engineer


取消 0.1 s 延迟之后，在 iOS 8，iOS 9 的 UICollectionView 中，刷新会出现闪烁。


It's better to add #kde-atelier channel


A less orthodox one, but solves the same compiler issue. I specially like the "DO NOT MERGE" commit message prefix (joking, 😂)


I lol'd @euangoddard :D


Why you do not like this functionality? Its work fine, when add related items!


gimme recovery.img i will give you twrp


Doh: an ancient GCC, is why.


It must be noted that with that we reduced the bench time of ca. a factor of 10...


Remove these, nothing is being called.


This change should be rolled back as it may break processing consistency e.g. an application could resume processing from a position that is greater than the last processed position. In other words, an `EventsourcedProcessor` should not allow custom replay start positions. I think we should therefore

```scala
override final def replayFromSequenceNr: Option[Long] = None
```

in `EventsourcedWriter`.


Changes in `EventsourcedWriterSpec` should be rolled back as a consequence of https://github.com/danbim/eventuate/commit/8ff37811bb43b3ccd77ae29769f00736bf03ef96#commitcomment-19070215


ok


Why is this still commented out god damnit


Yu Needs Aosp-caf 'N' :+1:

#stay_AOSP


This is not the way it should be done in the ideal world... It is much better to report such things to Alpine Image issue tracker. Have you done this? Could you, please, do this?


Also fixed indentation. Will need to refactor much of this into a UI class and also Map module class


IMHO, it makes more sense to have `VOLUME`, `EXPOSE`, `ENTRYPOINT` and `CMD` at the end of the Dockerfile.


> event-sourced actor

event-sourced actor or view


Switch statements :
''''function caseInSwitch(val) {
  var answer = "";
  // Only change code below this line
  switch (val) {
    case 1:
      answer="alpha";
      break;
    case 2:
      answer ="beta";
      break;
    case 3:
      answer="gamma";
      break;
    case 4:
      answer="delta";
      break;
  }

  // Only change code above this line
  return answer;
}

// Change this value to test
caseInSwitch(1);


Eu o folosesc la imaginile fără copyright (pe 20 septembrie e un Nicolae
Grigorescu).

R.

2016-09-18 10:08 GMT+03:00 Cătălin Frâncu <notifications@github.com>:

> Mișto! La ce o vom folosi? :-)
>
> O optimizez eu cu optipng.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/dexonline/dexonline/commit/c7c68577dce82d1461bfeb086c505259d2d09544#commitcomment-19069646>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGP-7m0VTMriisWcxgYQ1id0VFUZAUnfks5qrONjgaJpZM4J_0xC>
> .
>

--
Toate cele bune,
Radu Borza


Nope thats useless...


This paragraph can be removed when implementing https://github.com/danbim/eventuate/commit/8ff37811bb43b3ccd77ae29769f00736bf03ef96#commitcomment-19070215