[R/ABC_SMC.R:2:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L2) *style:* **Variable and function names should be all lowercase.**
```r
getRandomVals <- function(max_val)  {
^~~~~~~~~~~~~
```
[R/ABC_SMC.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/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/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigma,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:29:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L29) *style:* **Variable and function names should be all lowercase.**
```r
    prevP <- c(disp_vals[i], filt_vals[i], comp_vals[i])
    ^~~~~
```
[R/ABC_SMC.R:30:30:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L30) *style:* **Variable and function names should be all lowercase.**
```r
    diff <- params[target] - prevP[target]
                             ^~~~~
```
[R/ABC_SMC.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L37) *style:* **Variable and function names should be all lowercase.**
```r
normalizeWeights <- function(x) {
^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:71:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L71) *style:* **Variable and function names should be all lowercase.**
```r
calculateDistance <- function(rich, even, div, opt_diff, obs, sd_vals)  {
^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:75:40:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/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/7a6af664e3a64735d7f61b7a1b5efd52e4510212/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:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L85) *style:* **lines should not be more than 80 characters.**
```r
                    abundances, frequencies, stopRate, Ord, continue_from_file = TRUE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:85:46:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L85) *style:* **Variable and function names should be all lowercase.**
```r
                    abundances, frequencies, stopRate, Ord, continue_from_file = TRUE,
                                             ^~~~~~~~
```
[R/ABC_SMC.R:90:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:90:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  dispVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:91:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L91) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:91:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L91) *style:* **Variable and function names should be all lowercase.**
```r
  filtVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:92:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L92) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
  ^~~~~~~~
```
[R/ABC_SMC.R:92:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L92) *style:* **Variable and function names should be all lowercase.**
```r
  compVals <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:94:13:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:95:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
  ^~~~~~~
```
[R/ABC_SMC.R:95:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  RichVec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:96:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:96:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L96) *style:* **Variable and function names should be all lowercase.**
```r
  EveVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:97:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:97:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  DivVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:98:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
  ^~~~~~
```
[R/ABC_SMC.R:98:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  OptVec <- 1:numParticles
              ^~~~~~~~~~~~
```
[R/ABC_SMC.R:100:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
  ^~~~~~~~
```
[R/ABC_SMC.R:100:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  nextDisp <- dispVals
              ^~~~~~~~
```
[R/ABC_SMC.R:101:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
  ^~~~~~~~
```
[R/ABC_SMC.R:101:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  nextFilt <- filtVals
              ^~~~~~~~
```
[R/ABC_SMC.R:102:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L102) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
  ^~~~~~~~
```
[R/ABC_SMC.R:102:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L102) *style:* **Variable and function names should be all lowercase.**
```r
  nextComp <- compVals
              ^~~~~~~~
```
[R/ABC_SMC.R:104:21:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:105:3:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L105) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
  ^~~~~~~~~~~
```
[R/ABC_SMC.R:105:25:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L105) *style:* **Variable and function names should be all lowercase.**
```r
  nextWeights <- rep(1, numParticles)
                        ^~~~~~~~~~~~
```
[R/ABC_SMC.R:106:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L106) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:113:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L113) *style:* **lines should not be more than 80 characters.**
```r
    cat("Found previous output, continuing from that output\n"); flush.console();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:118:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L118) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- d[, 1]
    ^~~~~~~~
```
[R/ABC_SMC.R:119:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L119) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- d[, 2]
    ^~~~~~~~
```
[R/ABC_SMC.R:120:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L120) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- d[, 3]
    ^~~~~~~~
```
[R/ABC_SMC.R:136:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L136) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:137:28:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L137) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:137:28:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L137) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:12:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:145:29:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:149:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L149) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:149:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L149) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:151:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L151) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights,
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:152:35:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L152) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                  ^~~~~~~~
```
[R/ABC_SMC.R:152:45:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L152) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                            ^~~~~~~~
```
[R/ABC_SMC.R:152:55:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L152) *style:* **Variable and function names should be all lowercase.**
```r
                                  dispVals, filtVals, compVals)
                                                      ^~~~~~~~
```
[R/ABC_SMC.R:153:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L153) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:181:20:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L181) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:181:20:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L181) *warning:* **no visible global function definition for ‘strippedDbFd’**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:182:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L182) *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:183:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L183) *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:184:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L184) *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:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L188) *style:* **Use two spaces to indent, never tabs.**
```r
	  } else {
^
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L189) *style:* **Use two spaces to indent, never tabs.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
^
```
[R/ABC_SMC.R:190:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L190) *style:* **Use two spaces to indent, never tabs.**
```r
	                          collapse = NULL), header = F)
^
```
[R/ABC_SMC.R:191:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L191) *style:* **Use two spaces to indent, never tabs.**
```r
	  }
^
```
[R/ABC_SMC.R:193:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L193) *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:196:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L196) *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:198:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L198) *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:198:14:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L198) *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:198:14:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L198) *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:202:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L202) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:202:27:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L202) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] <- params[1]
        ^~~~~~~~
```
[R/ABC_SMC.R:203:18:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
        nextDisp[numberAccepted] <- params[1]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:204:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L204) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] <- params[2]
        ^~~~~~~~
```
[R/ABC_SMC.R:204:18:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L204) *style:* **Variable and function names should be all lowercase.**
```r
        nextFilt[numberAccepted] <- params[2]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:205:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L205) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] <- params[3]
        ^~~~~~~~
```
[R/ABC_SMC.R:205:18:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L205) *style:* **Variable and function names should be all lowercase.**
```r
        nextComp[numberAccepted] <- params[3]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:207:14:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L207) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] <- fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] <- FRic[[1]]
        ^~~~~~~
```
[R/ABC_SMC.R:208:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        RichVec[numberAccepted] <- FRic[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] <- FEve[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:209:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        EveVec[numberAccepted] <- FEve[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] <- FDiv[[1]]
        ^~~~~~
```
[R/ABC_SMC.R:210:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        DivVec[numberAccepted] <- FDiv[[1]]
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:211:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] <- mean_optimum;
        ^~~~~~
```
[R/ABC_SMC.R:211:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        OptVec[numberAccepted] <- mean_optimum;
               ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:11:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:214:23:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] = 1
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:39:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L214) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] = 1
                                      ^
```
[R/ABC_SMC.R:216:11:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
          ^~~~~~~~~~~
```
[R/ABC_SMC.R:216:23:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
          nextWeights[numberAccepted] =
                      ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:39:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L216) *style:* **Use <-, not =, for assignment.**
```r
          nextWeights[numberAccepted] =
                                      ^
```
[R/ABC_SMC.R:217:13:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:217:53:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                    ^~~~~~~~
```
[R/ABC_SMC.R:217:63:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, dispVals, filtVals,
                                                              ^~~~~~~~
```
[R/ABC_SMC.R:218:29:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L218) *style:* **Variable and function names should be all lowercase.**
```r
                            compVals, weights)
                            ^~~~~~~~
```
[R/ABC_SMC.R:221:13:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L221) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
            ^
```
[R/ABC_SMC.R:221:14:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:221:34:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
                                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:227:21:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L227) *style:* **Put spaces around all infix operators.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                   ~^~
```
[R/ABC_SMC.R:227:22:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                     ^~~~~~~~
```
[R/ABC_SMC.R:229:13:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L229) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
            ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:229:38:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L229) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:240:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L240) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
    ^~~~~~~~
```
[R/ABC_SMC.R:240:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L240) *style:* **Variable and function names should be all lowercase.**
```r
    dispVals <- nextDisp
                ^~~~~~~~
```
[R/ABC_SMC.R:241:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L241) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
    ^~~~~~~~
```
[R/ABC_SMC.R:241:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L241) *style:* **Variable and function names should be all lowercase.**
```r
    filtVals <- nextFilt
                ^~~~~~~~
```
[R/ABC_SMC.R:242:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
    ^~~~~~~~
```
[R/ABC_SMC.R:242:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L242) *style:* **Variable and function names should be all lowercase.**
```r
    compVals <- nextComp
                ^~~~~~~~
```
[R/ABC_SMC.R:243:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L243) *style:* **Variable and function names should be all lowercase.**
```r
    weights <- nextWeights
               ^~~~~~~~~~~
```
[R/ABC_SMC.R:245:21:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L245) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                    ^~~~~~~~
```
[R/ABC_SMC.R:245:31:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L245) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                              ^~~~~~~~
```
[R/ABC_SMC.R:245:41:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L245) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                        ^~~~~~~~
```
[R/ABC_SMC.R:245:51:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L245) *style:* **Variable and function names should be all lowercase.**
```r
    output <- cbind(dispVals, filtVals, compVals, RichVec,
                                                  ^~~~~~~
```
[R/ABC_SMC.R:246:21:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                    ^~~~~~
```
[R/ABC_SMC.R:246:29:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                            ^~~~~~
```
[R/ABC_SMC.R:246:37:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L246) *style:* **Variable and function names should be all lowercase.**
```r
                    EveVec, DivVec, OptVec, fits, weights)
                                    ^~~~~~
```
[R/ABC_SMC.R:247:54:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L247) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:250:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L250) *style:* **lines should not be more than 80 characters.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:250:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L250) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                  ^~~~~~~~
```
[R/ABC_SMC.R:250:35:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L250) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                                  ^~~~~~~~
```
[R/ABC_SMC.R:250:51:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L250) *style:* **Variable and function names should be all lowercase.**
```r
    cat(" ", mean(dispVals), mean(filtVals), mean(compVals), "\t", "accept rate = ",
                                                  ^~~~~~~~
```
[R/ABC_SMC.R:251:9:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:251:32:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L251) *style:* **Put spaces around all infix operators.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                              ~^~
```
[R/ABC_SMC.R:251:37:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L251) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), numberAccepted, tried, "\n")
                                    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:254:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L254) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
    ^~~~~~~~~~~
```
[R/ABC_SMC.R:254:26:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L254) *style:* **Commas should always have a space after.**
```r
    nextWeights <- rep(1,numParticles)
                         ^
```
[R/ABC_SMC.R:254:26:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L254) *style:* **Variable and function names should be all lowercase.**
```r
    nextWeights <- rep(1,numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:255:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L255) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:255:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L255) *style:* **Variable and function names should be all lowercase.**
```r
    nextDisp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:256:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:256:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L256) *style:* **Variable and function names should be all lowercase.**
```r
    nextFilt <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:257:5:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
    ^~~~~~~~
```
[R/ABC_SMC.R:257:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
    nextComp <- 1:numParticles
                  ^~~~~~~~~~~~
```
[R/ABC_SMC.R:264:61:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L264) *style:* **Put spaces around all infix operators.**
```r
    d <- read.table(paste("particles_t=", t - 2, ".txt", sep="",
                                                           ~^~
```
[R/ABC_SMC.R:268:63:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L268) *style:* **Put spaces around all infix operators.**
```r
      d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                             ~^~
```
[R/ABC_SMC.R:271:15:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L271) *style:* **Put spaces around all infix operators.**
```r
	    d <- read.table(paste("particles_t=", t, ".txt", sep="",
             ~^~~
```
[R/ABC_SMC.R:272:44:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/ABC_SMC.R#L272) *style:* **Put spaces around all infix operators.**
```r
	                          collapse = NULL), header = F)
                                          ~^
```
[R/generateArtificialData.R:4:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L4) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
generate.Artificial.Data <- function(n_species, n_traits, n_communities,
^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:6:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
	pool_richness <- n_species
^
```
[R/generateArtificialData.R:8:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
^
```
[R/generateArtificialData.R:9:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	                                    mean = 0, sd = 1), 3),
^
```
[R/generateArtificialData.R:9:23:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L9) *style:* **Put spaces around all infix operators.**
```r
	pool_richness <- n_species
                     ~^~~
```
[R/generateArtificialData.R:10:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	                       ncol = n_traits, nrow = pool_richness)
^
```
[R/generateArtificialData.R:11:21:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                   ~^~~
```
[R/generateArtificialData.R:11:47:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                             ~^~
```
[R/generateArtificialData.R:11:49:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L11) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                ^
```
[R/generateArtificialData.R:11:64:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L11) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                              ~^~
```
[R/generateArtificialData.R:12:50:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                ~^~
```
[R/generateArtificialData.R:12:58:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                        ~^~
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:pool_richness) {
^
```
[R/generateArtificialData.R:13:37:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                   ~^~
```
[R/generateArtificialData.R:13:54:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                                    ~^~
```
[R/generateArtificialData.R:14:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	  column1[i] <- paste("species", i, sep = "")
^
```
[R/generateArtificialData.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- rep(NA, (n_traits + 1))
^
```
[R/generateArtificialData.R:16:12:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L16) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:pool_richness) {
           ^
```
[R/generateArtificialData.R:17:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_traits + 1) {
^
```
[R/generateArtificialData.R:17:22:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L17) *style:* **Put spaces around all infix operators.**
```r
	  column1[i] <- paste("species", i, sep = "")
                    ~^~~
```
[R/generateArtificialData.R:18:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
^
```
[R/generateArtificialData.R:19:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:19:14:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L19) *style:* **Put spaces around all infix operators.**
```r
	row1 <- rep(NA, (n_traits + 1))
            ~^~~
```
[R/generateArtificialData.R:19:25:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	row1 <- rep(NA, (n_traits + 1))
                        ^
```
[R/generateArtificialData.R:20:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	row1[1] <- "species"
^
```
[R/generateArtificialData.R:20:12:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L20) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_traits + 1) {
           ^
```
[R/generateArtificialData.R:21:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
^
```
[R/generateArtificialData.R:21:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                 ~^~~
```
[R/generateArtificialData.R:21:37:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                    ^
```
[R/generateArtificialData.R:21:40:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L21) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                      ~^~
```
[R/generateArtificialData.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df <- as.data.frame(columns)
^
```
[R/generateArtificialData.R:23:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	names(traits_pool_df) <- row1
^
```
[R/generateArtificialData.R:23:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L23) *style:* **Put spaces around all infix operators.**
```r
	row1[1] <- "species"
               ~^~~
```
[R/generateArtificialData.R:24:17:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
               ~^~~
```
[R/generateArtificialData.R:24:61:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                           ~^~
```
[R/generateArtificialData.R:24:63:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	columns <- matrix(cbind(column1, traits_pool), ncol = (n_traits + 1))
                                                              ^
```
[R/generateArtificialData.R:25:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
^
```
[R/generateArtificialData.R:25:24:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L25) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df <- as.data.frame(columns)
                      ~^~~
```
[R/generateArtificialData.R:26:31:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L26) *style:* **Put spaces around all infix operators.**
```r
	names(traits_pool_df) <- row1
                             ~^~~
```
[R/generateArtificialData.R:28:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
^
```
[R/generateArtificialData.R:28:26:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                        ~^~~
```
[R/generateArtificialData.R:28:43:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L28) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                          ^
```
[R/generateArtificialData.R:28:58:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L28) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                                                        ~^~
```
[R/generateArtificialData.R:30:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^
```
[R/generateArtificialData.R:31:19:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                 ~^~~
```
[R/generateArtificialData.R:31:24:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                      ~^~
```
[R/generateArtificialData.R:31:51:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                 ~^~
```
[R/generateArtificialData.R:31:59:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L31) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10^rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                         ~^~
```
[R/generateArtificialData.R:32:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values < 0)] <- 0
^
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **lines should not be more than 80 characters.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:33:25:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                       ~^~~
```
[R/generateArtificialData.R:33:34:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                 ^
```
[R/generateArtificialData.R:33:61:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                           ~^~
```
[R/generateArtificialData.R:33:69:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                    ^~
```
[R/generateArtificialData.R:33:74:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                        ~^~
```
[R/generateArtificialData.R:33:76:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                           ^
```
[R/generateArtificialData.R:33:89:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L33) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) * (sd_richness * pool_richness) +
                                                                                ~^~
```
[R/generateArtificialData.R:34:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_communities){
^
```
[R/generateArtificialData.R:35:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
	  if(mechanism_random == T){
^
```
[R/generateArtificialData.R:35:47:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                             ~^~
```
[R/generateArtificialData.R:35:65:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                                               ~^~~
```
[R/generateArtificialData.R:36:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L36) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:36:47:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L36) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values < 0)] <- 0
                                             ~^
```
[R/generateArtificialData.R:37:12:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L37) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_communities){
           ^
```
[R/generateArtificialData.R:38:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L38) *style:* **Use two spaces to indent, never tabs.**
```r
	  }else{
^
```
[R/generateArtificialData.R:38:13:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  if(mechanism_random == T){
            ^
```
[R/generateArtificialData.R:39:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
^
```
[R/generateArtificialData.R:39:29:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L39) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:40:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- c()
^
```
[R/generateArtificialData.R:41:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(j in 1:n_traits){
^
```
[R/generateArtificialData.R:42:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L42) *style:* **Use two spaces to indent, never tabs.**
```r
	      for(k in 1:pool_richness){
^
```
[R/generateArtificialData.R:42:24:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                      ~^~~
```
[R/generateArtificialData.R:42:48:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L42) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                                              ~^~
```
[R/generateArtificialData.R:43:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L43) *style:* **Use two spaces to indent, never tabs.**
```r
		      l <- (j - 1) * pool_richness + k
^~
```
[R/generateArtificialData.R:44:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L44) *style:* **Use two spaces to indent, never tabs.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
^~
```
[R/generateArtificialData.R:44:16:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(j in 1:n_traits){
               ^
```
[R/generateArtificialData.R:45:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
	      }
^
```
[R/generateArtificialData.R:45:18:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L45) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      for(k in 1:pool_richness){
                 ^
```
[R/generateArtificialData.R:46:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:46:25:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                       ~^~~
```
[R/generateArtificialData.R:46:28:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		      l <- (j - 1) * pool_richness + k
                           ^
```
[R/generateArtificialData.R:46:31:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                             ~^~
```
[R/generateArtificialData.R:46:36:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L46) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                                  ~^
```
[R/generateArtificialData.R:47:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
^
```
[R/generateArtificialData.R:47:44:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L47) *style:* **Put spaces around all infix operators.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
                                          ~^~~
```
[R/generateArtificialData.R:48:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
^
```
[R/generateArtificialData.R:49:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L49) *style:* **Use two spaces to indent, never tabs.**
```r
	    trait_distances_onedimen <- c()
^
```
[R/generateArtificialData.R:50:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L50) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(m in 1:pool_richness){
^
```
[R/generateArtificialData.R:50:31:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                             ~^~~
```
[R/generateArtificialData.R:50:65:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L50) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                                                               ~^~
```
[R/generateArtificialData.R:51:1:](https://github.com/thijsjanzen/STEPCAM/blob/7a6af664e3a64735d7f61b7a1b5efd52e4510212/R/generateArtificialData.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^
```


People are missing you on the forum. ;)


      Build report #161060968 for sha 9fca4633347cf1b8a656f55bb75ec7894f478033:

      [![UnitTests](https://img.shields.io/badge/unittests-passed%20%283/3%29%20-brightgreen.svg)](#)
[![Coverage](https://img.shields.io/badge/coverage-14.07%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-2391%20/%209922%20%2824.10%20%25%29-yellow.svg)](#)
[![Documentation](https://img.shields.io/badge/doc-success-brightgreen.svg)](#)
[![Documentation coverage](https://img.shields.io/badge/doc--coverage-19.75%20%25-yellow.svg)](#)

      https://psycofdj.github.io/xtdcpp/feature/unitests/


Oops, remove the first semi-colon here.


In case of Exception, you put the transformer (which is null) in the map even if it has not been initialized?


Remember to use @fontface or an online service so custom fonts like "Futura" or this wont work on anyone else's browser.


in case of Exception ,we return null, might be better to continue the loop?


Use pixels or ems instead of points for font sizes.


[Code coverage](https://120-47334959-gh.circle-artifacts.com/0//home/ubuntu/parse-js/coverage/lcov-report/index.html) is currently at **100%**


Hi @vingarzan

I just want to check with you before I do a change related to this commit.

With this change Rx AAR for subscription to signalling status now uses the general flow-usage: AVP_EPC_Flow_Usage_No_Information instead of AVP_EPC_Flow_Usage_AF_Signaling as it previously did.

I want to change this so the the correct flow-usage is used (even though there is now a proper flow description as well).  Let me know if agreed.

Regards
Richard.


nonUnique здесь совсем не нужна.
Простой TreeSet с простым компаратором. Разве что компаратор для красоты сделать в виде цепочки - сначала один по длине + другой по содержимому


Можно обойтись обычным Integer


What changes were in this release? It's showing only the minor version number was changed.


ma sto ManagerDB che cos'e'??? questa e' logica che va messa nel giusto servizio.. PagamentiService per i pagamenti e cosi' via...


we were thinking about that as well, we'll discuss with robin


Используйте listIterator или descendingIterator


Ja gern ;-). Frage mich auch, ob bei Klassen Variablen das Überschreiben von builtins wie 'object' und 'type' so clever ist, auch wenn diese Variablen innerhalb des Klassen-Namespaces bleiben.


code that ***fails***
```js
        swalConfirm: function() {
            var isConfirmed = false;
            swal({
            title: "是否清空当前列表?",
             text: '确认: 清空'+danmaku_filter.filters.length+'条规则并导入XML规则\n取消: 将XML规则添加在当前规则后',
            type: "warning",
              showCancelButton: true,
            confirmButtonColor: "#DD6B55",
              confirmButtonText: "确认",
                    cancelButtonText: "取消"
            }, function(){ isConfirmed=true;  });
            return isConfirmed;
        },
```


Бессмысленен


129956421-Scalable-Sizing-HTRad-Heat-Crash (RKStrand) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1765 of 1766 tests passed, 0 test warnings)

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


I've already changed this to `else if (menuitems &&  !Array)`.  I must not have merged it to Edit.  I avoid embedding `if`s at all cost.  At some point I'm fairly sure you told me not to do that.


This should be linking to the stylesheet in your css folder. So it would be "css/style.css" to get it to work.


Ola, "Suivre le personnage" appear to be cut, rly cut.
Can you just change this by "Centrer" or "Centrer Sacha" or a funny word
ty
:)


Können wir hier klären #1


You could use `text-align: center;` to get this to be centered (and for the rest).


You see, now that breaks it on MY computer. Something tells me we should be doing this at home, and not on school computers XD.


For any of the r scripts, you just need to save, commit locally (within your RStudio session, for example, and then push to GitHub.


я не против, но что тогда писать в таких версиях?


[Code coverage](https://121-47334959-gh.circle-artifacts.com/0//home/ubuntu/parse-js/coverage/lcov-report/index.html) is currently at **100%**


@wildefyr This is *not* git release, I just just clone the repo and checkout stable 0.60 branch. The reason I did this is because upstream just has release news, no tarball are made.


Build report #161064519 for sha 680cca99fa980546a782287eeeed6755fd089d44:

[![UnitTests](https://img.shields.io/badge/unittests-passed%20%283/3%29%20-brightgreen.svg)](#)
[![Coverage](https://img.shields.io/badge/coverage-14.07%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-2391%20/%209922%20%2824.10%20%25%29-yellow.svg)](#)
[![Documentation](https://img.shields.io/badge/doc-success-brightgreen.svg)](#)
[![Documentation coverage](https://img.shields.io/badge/doc--coverage-19.75%20%25-yellow.svg)](#)

[Reports](https://psycofdj.github.io/xtdcpp/feature/unitests/)


Können wir hier klären: #2


@onodera-punpun if that repacked tarball is trustable, please fix source(). :-)


I removed that with a force push, shouldn't be in the branch any more


@chelmuth: please add to staging


```js
app.run(function ($rootScope) {
    $rootScope.$on('$stateChangeError', function (event, toState, toParams, fromState, fromParams, thrownError) {
      console.info(`The following error was thrown by ui-router while transitioning to state "${toState.name}". The origin of this error is probably a resolve function:`);
        console.error(thrownError);
    });
 });
```


Is there no dependency at all?


Wrong parentheses!


ASIHPValidation (shenb) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1190 of 1190 tests passed, 0 test warnings)

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


@drt2016 I did as you wished.


looks like we need to remove those single quotes now


Can somebody check if everything is right there ? This is the most problematic commit and mostly the one I needed reviews, as I don't remember most of the modifs there


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1049](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13571&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


I would just try it with both to see if it passes. iirc, iOS 8 simulator failed 100% of the time for me.


A forwarder maybe more useful.


second work


Ola, on line 71 :
 "%EVOLVE_IV_VALUE%": "Valeur IV pour Evolution",
Can you change this to "IV min pour évoluer" ,like line 80
ty
:)


i literally copied the port from contrib, sorry


Is there a way for this to pick up png images? What about the image titles integrated into the filename when retrieved via HTTP?
http://pictures.hentai-foundry.com//z/Zep/425726.png
http://pictures.hentai-foundry.com/z/Zep/425726/Zep-425726-Tamaranean_Casual_Friday.png


This is not a simplification...IMO.
Having the array has the benefit of no calculation overhead and developers easily know what the values are instead of doing the math.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1051](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13573&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


I'm going to save my battery!


@TrySound thanks!


Ola, the same.
Can you change "Recharger le Pokemon si IV Min" by
"IV Min pour recharger le Pokemon"
ty
:)


> it looks to me like, runtimes/aot/lib/netcore50 wins over lib/uap101. Is this expected? Is there anything that I can do about it?

Yes, that's correct.  NuGet always prefers the best-runtime qualified asset over an asset that isn't runtime-specific.  You could copy the uap101 asset into the runtime/aot/lib/uap10.1 folder.  That way you get the file in both places without cross-compiling. EG:
```
<ItemGroup>
  <PackageTargetFramework Include="uap10.1" />
  <PackageTargetFramework Include="uap10.1">
    <TargetRuntime>aot</TargetRuntime>
  </PackageTargetFramework>
</ItemGroup>
```


Being more explicit about the intent is important, you could either use better variable name or add comment in the code ... for example
```
QString line_code_without_last_dot = line_code.remove(line_code.lastIndexOf('.'), 1);
QString code = QString("%1 = %2").arg(instantiated_class_name).arg(line_code_without_last_dot);
```


fixed in ae734bc5a759b59473e74100d2ae25662c28bdb9


check honor among thieves, iirc it has a cooldown hack
rogue has area aura -> players can trigger their aura appli -> cooldown is added to players so they cannot trigger more than one proc each ... second? gosh my memory
so yeah I guess the add cooldown and check part wont be necessary? worth checking eitherway


Hah.


Looks like you've got Times New Roman repeated twice, the second one in quotes is the correct way of writing it. Don't forget to use @fontface or an online service like google fonts so special fonts like Baskerville.


Make sure to add bracket.

```
if (some_condition)
  {
  do();
  }
```

should be preferred.


Nice! Thanks!
Refering to the exact controller and the gist of the issue in the commit message might make it easier to read, e.g. `fix(TimeSheetController): redirect after timesheet submission, fix #441`


hey @mechamanny look at what i changed!


See http://www.commontk.org/index.php/Contributing_to_CTK#CTK_Coding_Style


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1049](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13571&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **SUCCESS**
Summary: Tests passed: 249, ignored: 3 Build time: 00:09:18


> duplicate application bundles

Where are you seeing those? We're moving app bundles, not copying them


Oops.

On line 172 :
%ORDERBY%": "CLASSER PAR",

Horrible display. "CLASSER P"
Just change this by "Classer" (no maj, bold if possible)

ty
:)


Make sure you're using straight quote marks. The ones above for the meta attributes are curved and can cause problems.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1050](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13572&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 9 (9 new), passed: 217, ignored: 3 Build time: 00:09:06
### Failed tests
```
org.genivi.sota.device_registry.DeviceResourceSpec.GET request with ?regex yields devices which match the regex.: <no details avaliable>

org.genivi.sota.core.transfer.DeviceUpdatesSpec.when multiple packages are pending sorted by installPos: <no details avaliable>

org.genivi.sota.core.transfer.DeviceUpdatesSpec.sets install priority for one package: <no details avaliable>

org.genivi.sota.core.transfer.DeviceUpdatesSpec.rest of installation queue (consecutive installPos) remains Pending upon one package failing to install: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.GET update requests for a device returns a list of PendingUpdateResponse: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.PUT to set install order should change the package install order: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.GET update results for a vehicle returns a list of OperationResults: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.GET update results for an update request returns a list of OperationResults: <no details avaliable>

org.genivi.sota.core.UpdateServiceSpec.queue an update for a single device creates an update request: <no details avaliable>

```


[Code coverage](https://122-47334959-gh.circle-artifacts.com/0//home/ubuntu/parse-js/coverage/lcov-report/index.html) is currently at **100%**


> will print stuff during the tabulation

This is not specific to your approach. It is specific to the code being executed.

Currently the console already capture the output. See https://github.com/commontk/CTK/blob/4481725aba45684ce90e47b93509e9cd1f6fcb19/Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp#L153-L156

May be you could look into setting the cursor location where you want the out to be displayed before execution  ...


call setIndex to verify negative values


[Code coverage](https://123-47334959-gh.circle-artifacts.com/0//home/ubuntu/parse-js/coverage/lcov-report/index.html) is currently at **100%**


Ok, just change all words with "Poke" to "Poké". There is no one accent here :)
And not just for French translation. Pokémon is Pokémon, not Pokemon.

Tyy
:)


:) Yes, but I mean what was broken?


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1051](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13573&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **SUCCESS**
Summary: Tests passed: 240, ignored: 3 Build time: 00:09:50


Let me take care of it. I'm programming in this region of code.

Sent from my phone

> On Sep 19, 2016, at 11:10, rolivia <notifications@github.com> wrote:
>
> I'll change the name. This is the method I use to parse eval strings. I pass in all of the variables that are in scope, but I have to remove window and global because otherwise variables will be parsed as window. or global. (because of how the curVars thing works).
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or mute the thread.
>


Build report #161070916 for sha 2accdb1da3f7b7a266d2f014cb60171a6924a7fe:

[![UnitTests](https://img.shields.io/badge/unittests-passed%20%283/3%29%20-brightgreen.svg)](#)
[![Coverage](https://img.shields.io/badge/coverage-14.07%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-2391%20/%209922%20%2824.10%20%25%29-yellow.svg)](#)
[![Documentation](https://img.shields.io/badge/doc-success-brightgreen.svg)](#)
[![Documentation coverage](https://img.shields.io/badge/doc--coverage-19.75%20%25-yellow.svg)](#)

[Reports](https://psycofdj.github.io/xtdcpp/feature/unitests/)


Build report #161071080 for sha 2accdb1da3f7b7a266d2f014cb60171a6924a7fe:

[![UnitTests](https://img.shields.io/badge/unittests-passed%20%283/3%29%20-brightgreen.svg)](#)
[![Coverage](https://img.shields.io/badge/coverage-14.07%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-2391%20/%209922%20%2824.10%20%25%29-yellow.svg)](#)
[![Documentation](https://img.shields.io/badge/doc-success-brightgreen.svg)](#)
[![Documentation coverage](https://img.shields.io/badge/doc--coverage-19.75%20%25-yellow.svg)](#)

[Reports](https://psycofdj.github.io/xtdcpp/master/)


IMHO, we should require molecular-structure and optionally allow InChI etc. that should validate to have the same molecular structure, if provided.


I have to finish others things, When I can I'll get on it. I can not Get Involved With anything more for now, I would not like to forget.

A cordial greeting


I didn't check the log. I just saw translated strings not showing and rolling back to previous version did the trick.


You should use `yaml.safe_load`


Лишние буковки - краткость здесь важнее - достаточно return index > 0


change to switch


Why are you declaring font-family twice?


change name to Factory for all tests


cd newrelic
java -jar newrelic.jar install


is the login necessary if we check using `expect(ability).to be_able_to`?


You could've use the shorthand for padding: `padding: 25px 10px;` which would set top and bottom to 25px and left and right to 10px.


`teste`


Hello friends!


do we need this second .then()?


I don't think we should give ORCID in the tests, unless we're specifically trying to test that functionality.


Missing your alt attribute for the image.


Missing your alt attribute for your images.


TaskCluster-GitHub: https://tools.taskcluster.net/task-graph-inspector/#AUS252SXRvSAiAB_MChgtw


This change will cause a merge conflict with the `species` branch :cry:


I would add this before your style.css line to ensure it loads in time.


Здесь тоже нарушится контракт на remove.
Правда стоит, конечно, учесть, что про эксепшены мы поговорим на следующем занятии.


ok, that makes sense.


hmm, so all species should be defined, even if common?


ok


Используйте List + ListIterator или Deque + descendingIterator


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1053](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13581&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1052](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13580&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


I thought about it some more... it would be better to store and return it as a list, gives more flexible rendering in the Web UI and saves any JSON client having to split the string into separate addresses.


Also, note that the gulpfile still puts the output into a non-standard version folder (ie, one ending in "x"), because I haven't gotten around to actually testing the resulting file yet.


ASIHPValidation (mjwitte) - x86_64-MacOS-10.9-clang: OK (2325 of 2330 tests passed, 0 test warnings)

 * 5 tests had: EIO diffs.
 * 4 tests had: ESO big diffs.
 * 1 test had: SSZ small diffs.
 * 4 tests had: ZSZ big diffs.
 * 5 tests had: Table big diffs.
 * 4 tests had: AUD diffs.
 * 4 tests had: ERR diffs.
 * 1 test had: ESO small diffs.
 * 1 test had: MDD diffs.
 * 2 tests had: MTD diffs.
 * 1 test had: RDD diffs.
 * 3 tests had: MTR big diffs.

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


Yes, I think the molecular structure should be the canonical way to represent the molecule.


поля created / updated сами создаются для всех унаследованных от CommonModel


Постарайтесь учесть информацию о средней длине строки.


This commit may be causing segmentation faults as mentioned in #86. A race condition may occur between the `RunControl` thread attempting to end the run and the `CommandControl` thread which is closing or has closed the run file.


Whenever the font-family is more than one word, wrap it in quotes, so: "Comic Sans MS".


I'm not seeing this image in your project. Also, it should be in an images folder and the path would've been "images/sampiano.jpg".


This should be between the `<head>` opening and closing tags. Also it should've been put into a css folder so the path would've been "css/style.css".


@joshuaknox I am going to get https://github.com/dakrone/clj-http/pull/333 in before cutting a release of 2.x and 3.x


Mit Heim Mannschaft meine ich die Mannschaft, die zuerst im Spielplan auftaucht. Üblicherweise ist das die höher gesetzte Mannschaft, muss aber nicht so sein. Man könnte bei Game TeamHome und TeamAway als Fremdschlüssel einfügen und dann bei GameScore nur Game als Fremschlüssel, dafür ScoreHome und ScoreAway.


оаеопшлгнрорпшлл


more error handling


This is where I would write something, under the "WRITE" tab. #wahoo!


Did you ever figure this out? I think I'm running into the same issue on trying to update an old site to the post-2.4 branch (don't ask)...


IMO it is a simplification since it removes two parameters. If it passes stc, we will ask Marco what is his opinion.


e.g. `Caskroom/subler/1.1.3/Subler.app`


HashSet<String> myHashSet
лучше заменить на Set<String> myHashSet - т.е. те, кто используют эту переменную не должны знать о конкретной реализации Set'а


asdasdasd


AAAAAAAAH IT BURNS


Consider a localStorage factory?


Cool ES6 trick: you can simply `return { getStash }`


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1053](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13581&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 2 (2 new), passed: 215, ignored: 3 Build time: 00:07:56
### Failed tests
```
org.genivi.sota.core.PackagesResourceSpec.returns package blacklist info when searching non blacklisted package: <no details avaliable>

org.genivi.sota.core.transfer.DeviceUpdatesSpec.can only sort pending update requests: <no details avaliable>

```


Missing quotes around "stylesheet".


(I know you didn't write this, I'm just mentioning it)


General Notes:

- Our files here are getting pretty long - it might be a good idea to separate out our controllers, factories, and states into different files.

- I didn't see any error handling - this should be done in our controllers


error handling


How old is that cask? It must have been installed before we switched from symlinking app bundles to moving them into `/Applications`.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1052](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13580&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **SUCCESS**
Summary: Tests passed: 240, ignored: 3 Build time: 00:08:56


Should this commit be done for 1.10 textures when overviewer does not yet seem to support the 1.10 texture


Так слова не будут отсортированы именно по своей длине


@siimon  I think this code is wrong.
process.cpuUsage will give you the total usage since start, not the last call to cpuUsage.
You have to pass it an explicit value of a previous call to get the difference.


Can these cards be directives? Can we `ng-repeat` over card data in the scope?


There is a lot going on in this controller - some of this can be abstracted out into our factory


Nice extending this pattern


error handling…


I added a bit to the README and also made some minor changes to the scopes and styles used in GraphQL.
See https://github.com/gandm/language-babel/commit/2caaae9e59513e72783f5c5565936ce3adfd0cb4 and the CHANGELOG for more info.


This looks like something that could be a directive.


   <title>
       Article-two : Premraj
   </title>
  <meta name="viewport" content="width-device-width, initial-scale-1">

    Home

  Article Two

      September, 21st ,2016

            This is the content for my second article

            This is the content for my second article

            This is the content for my second article

            This is the content for my second article
            This is the content for my second article
            This is the content for my second  article

            This is the content for my second article
            This is the content for my second  article


Попробуйте ещё варианты с List + ListIterator и ArrayDeque + descendingIterator


I like that you're defining filters!


Though, there is a kind of regression: functions with long signatures (such as)
```cpp
static BaseConnectionPtr create(const QString &cmName, const QString &protocolName,
                                    const QVariantMap &parameters,
                                    const QDBusConnection &dbusConnection = QDBusConnection::sessionBus())
```
now have text rendered outside of the "column" and boxes.

E.g. doc/html/a00089.html#a84186ce9113561539e34841a7012227b (I think you have the same page at the given relative address)


Addressed in https://github.com/tangrams/bubble-wrap/pull/205.


@adeelq $data needs to be checked for the expected value type before running the query.

so this should be array_type and not emtpy


This could easily work as `return items.filter(item => item.inventory > 0)`


Напишите полностью свою реализацию итератора - идея в том, чтобы понять все методы итератора и их контракты


Should be **.indexOf(shoved)** in both cases


Maybe a directive?


Instead of copying all these hard-coded props manually, why not just add `dateSubmitted` and `userId` etc. to `customer` and post `customer`? Or use `angular.copy` if you don't want to modify the original object.


versions*


The only variables that are being used in cart.html are itemNums, obj, and totalCents. Remember that $scope is what allows us to dynamically display data in our html files - if we are not using cartArray and userId anywhere in our .html file, we do not need to attach it to the $scope.


Did you really mean vis or via?


Uh oh — you are making a whole bunch of async post requests, but not waiting on them or checking to see if they succeed! Definitely need a `$q.all` in here or similar.


Due to this change the svg elements that should be interactive and where interactive before, are also non-interactive:-(


Again maybe a `localStorage` factory is a good idea


True :-) no other way todo right now but i will think about it :-)


There is a lot going on in this controller - some of this can be abstracted out into our factory


Am testing WebHook functionality


Definitely doesn't seem like a controller should know about `localStorage`. There is some kind of abstraction that should be used instead — e.g. call a `CartFactory` method which in turn uses a `LocalStorageFactory` method. This controller is getting too much into the implementation details of the cart.


Make sure you always use straight quote marks, the curved ones can cause problems. (All of your meta tags are using the curved ones).


Please create an issue with a minimal reproducible test case, and details about your OS, browser, and such.


Your changes to language-graphql-lb package is causing apm to push an
'update' to atom. You might want to pull out language-graphql-lb from the
babel-language. For language-babel each recent release has just appeared to
be increment to release version in your package.json.

On Mon, Sep 19, 2016 at 11:23 AM, Graham <notifications@github.com> wrote:

> I added a bit to the README and also made some minor changes to the scopes
> and styles used in GraphQL.
> See 2caaae9
> <https://github.com/gandm/language-babel/commit/2caaae9e59513e72783f5c5565936ce3adfd0cb4>
> and the CHANGELOG for more info.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/gandm/language-babel/commit/99944a66a788678e3faad68ba4b48d244906aec6#commitcomment-19081343>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFPIFPH28qLnFelH3lnCIigz2T4MunM_ks5qrrcUgaJpZM4KAoCV>
> .
>


makingPrettyTransition (mitchute) - x86_64-MacOS-10.9-clang: OK (2325 of 2332 tests passed, 3 test warnings)

 * 10 tests had: AUD diffs.
 * 10 tests had: ERR diffs.
 * 7 tests had: Table big diffs.

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


ops


Thanks for the heads up.  Will fix it.


@mbcosta por qual razão esse módulo foi removido?


Remember to use @fontface or an online service like Google Fonts for special fonts like Futura.


sans-serif is all lowercase.


Also see [Commit f57c4dced5bfbcd1](https://github.com/weidai11/cryptopp/commit/f57c4dced5bfbcd10d0883ae7161833a70eff268) and [Move config.h to config.compat; move config.recommend to config.h](http://groups.google.com/forum/#!topic/cryptopp-users/bWcRw1XgJ_Q) on the mailing list.


#include <stdio.h>
#include <stdlib.h>

void saindo (bool *mudar){

*mudar = true;

}

void segundaVez (bool *mudar){

*mudar = false;

}

void mult (int *x, int *y, int *rest, bool *verificar){

 if(*verificar == true){

*rest=*x  *  *y;
 }else {

*rest = *rest * *y;
}
}

void divisao (int *x, int *y, int *rest, bool *verificar){

 if(*verificar == true){

*rest=*x / *y;
 }else {

*rest = *rest / *y;

}
}

void sub (int *x, int *y, int *rest, bool *verificar){

 if(*verificar == true){

*rest=*x-*y;
 }else {

*rest = *rest - *y;

}
}

void soma (int *x, int *y, int *rest, bool *verificar){

 if(*verificar == true){

*rest=*x+*y;
 }else {

*rest = *rest + *y;

}

}

  void menu (int *resultado) {
int a;
int b;

  int r = *resultado;
bool primeiraVez = true;
bool sair = false;

        while (sair == false){

if( primeiraVez == true){

printf("escolha os dois numeros: \n");

scanf("%d", &a);
scanf("%d", &b);

          int opcao;
          printf("[1] soma \n [2] subitrção \n [3] multiplicação \n [4] divisao \n [5] sair \n");
          scanf(" %d", &opcao);

          switch(opcao){

case 1:
soma(&a,&b,&r,&primeiraVez);
printf("o resultado da soma dos 2 numeros é: %d \n " , r);
*resultado = r;
segundaVez(&primeiraVez);
break;

case 2:
sub(&a,&b,&r,&primeiraVez);
printf("o resultado da subtração dos 2 numeros é: %d \n " , r);
*resultado = r;
segundaVez(&primeiraVez);
break;

case 3:
mult(&a,&b,&r,&primeiraVez);
printf("o resultado da multiplicação dos 2 numeros é: %d \n " , r);
*resultado = r;
segundaVez(&primeiraVez);
break;

case 4:
divisao(&a,&b,&r,&primeiraVez);
printf("o resultado da divisão dos 2 numeros é: %d \n " , r);
*resultado = r;
segundaVez(&primeiraVez);
break;

case 5:
saindo(&sair);
break;

default :
printf("opção errada errada \n");
}
} else {

printf("escolha um numero para ultilizar com o resltado e depois escolha a opção \n");
scanf(" %d", &b);

         int opcao;
         printf("[1] soma \n [2] subitrção \n [3] multiplicação \n [4] divisao \n [5] sair \n");
       scanf(" %d", &opcao);

          switch(opcao){
case 1:
soma(&a,&b,&r,&primeiraVez);
*resultado = r;
printf("o resultado da soma dos 2 numeros é: %d \n " , r);
break;

case 2:
sub(&a,&b,&r,&primeiraVez);
*resultado = r;
printf("o resultado da soma dos 2 numeros é: %d \n " , r);
break;

case 3:
mult(&a,&b,&r,&primeiraVez);
*resultado = r;
printf("o resultado da soma dos 2 numeros é: %d \n " , r);
break;

case 4:
divisao(&a,&b,&r,&primeiraVez);
*resultado = r;
printf("o resultado da soma dos 2 numeros é: %d \n " , r);
break;

case 5:
saindo(&sair);
break;

default :
printf("errado \n");
}

}

}

}

int main(void) {
int result = 0;
menu(&result);
system ("pause");
return 0;
}


It might have been, hmm. I'll integrate and test again.


OK...


@ilteroi is this savegame compatible?


We can't gut `CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY` and `CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562` because `config.compat` still uses it.


Sounds good. I'll add and push a hotfix.


You need too add `display: inline-block;` to the two divs that should be inline with each other. You'll also need to decrease the width till they fit. Even though you're using percentages which add up to 100%, the padding on the left and right is being added to that as well. So either remove the left and right padding or add this to both divs `box-sizing: border-box;` < we'll learn that soon.


ainda vai cria, o br eh um mito no cs um bosta


I'm not sure what you mean? They are two separate packages that are targeted at different things. They don't share any common components, all I did was copied a chunk of my grammar and made another package. Language-Babel is distinct from language-graphql-lb.


It seems to me like some of this cart logic can be simplified. What are we doing when we add an item to the cart? Are we storing the cart in the database? We are performing many steps by storing the cart as a string and then getting the product names and then getting the product objects - is there a simpler way to do this?


thx


Степень числа

function pow(x, n) {
result = 1;
for (var i = 0; i < n; i++) {
  result *=x;
}
return result;
}

var x = prompt("press x" , "");
var n = prompt("press n" , "");
if (n < 0) {
  alert("Wrong!");
} else {
alert( pow(x, n));
}


I tried to perform the following to put an end to this madness once and for all:

```
#if defined(__GNUC__) && defined(__clang__)
# undef __GNUC__
# undef __GNUC_MINOR__
# undef __GNUC_PATCHLEVEL__
# define __GNUC__ 1
#endif
```

It results in the following on OS X:

```
$ CXX=c++ make
c++ -DNDEBUG -g2 -O2 -fPIC -march=native -pipe -c cryptlib.cpp
In file included from cryptlib.cpp:18:
In file included from ./cryptlib.h:87:
In file included from ./stdcpp.h:9:
In file included from /usr/include/c++/4.2.1/string:45:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:32:
/usr/include/sys/cdefs.h:81:2: warning: "Unsupported compiler detected"
      [-W#warnings]
#warning "Unsupported compiler detected"
```

And:

``
$ CXX=clang++ make
clang++ -DNDEBUG -g2 -O2 -fPIC -march=native -pipe -c cryptlib.cpp
In file included from cryptlib.cpp:18:
In file included from ./cryptlib.h:87:
In file included from ./stdcpp.h:9:
In file included from /usr/include/c++/4.2.1/string:45:
In file included from /usr/include/c++/4.2.1/bits/c++config.h:41:
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61:
In file included from /usr/include/unistd.h:71:
In file included from /usr/include/_types.h:27:
In file included from /usr/include/sys/_types.h:32:
/usr/include/sys/cdefs.h:81:2: warning: "Unsupported compiler detected"
      [-W#warnings]
#warning "Unsupported compiler detected"
```


@adeelq some guest orders can have no customer email address but can be found in billing address.

should check for $order->getCustomerEmail() for an email before adding to the contact table.


Yes, but that should be fine given that `OutputStream.close()` is supposed to be idempotent. If an `OutputStream` subclass somehow has a non-idempotent `close()` method then we should wrap that output stream with a wrapper that enforces idempotency by only calling the wrapped `close()` method once.


I dont think removing the events is necassary anymore. The events to discard can be removed.


One little issue is that if I go to the get_a_profile page, then click the login button and then log in, I get redirected back to the get_a_profile page.


oh shit! this version on github and fixed on heroku master


We just need to make sure that we are using the HTTP message protocol that we outlined in class. I also have the other documents completed that we need to upload to the dropbox with this project...I will add them later today(one of which includes the message protocol that we outlined in class).


I am not sure why that happened. In my IDE I can't see any deference between line 33 and line 34.. I will check that out.