[R/ABC_SMC.R:2:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigma,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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:88:6:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L88) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in seq_along(sd_vals)) {
     ^
```
[R/ABC_SMC.R:89:7:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L89) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(sd_vals[[i]] == 0.000) {
      ^
```
[R/ABC_SMC.R:91:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L91) *style:* **lines should not be more than 80 characters.**
```r
           "one of the community summary statistics shows no variation in your dataset")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:97:18:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  disp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:98:18:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  filt_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:99:18:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  comp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:101:13:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:102:17:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L102) *style:* **Variable and function names should be all lowercase.**
```r
  rich_vec <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:103:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L103) *style:* **Variable and function names should be all lowercase.**
```r
  eve_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:104:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L104) *style:* **Variable and function names should be all lowercase.**
```r
  div_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:105:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L105) *style:* **Variable and function names should be all lowercase.**
```r
  opt_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:111:21:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L111) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:112:26:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L112) *style:* **Variable and function names should be all lowercase.**
```r
  next_weights <- rep(1, numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:113:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L113) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:120:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L120) *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:124:7:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L124) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(d[numParticles,1] == numParticles) {
      ^
```
[R/ABC_SMC.R:124:10:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L124) *style:* **Variable and function names should be all lowercase.**
```r
    if(d[numParticles,1] == numParticles) {
         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:124:23:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L124) *style:* **Commas should always have a space after.**
```r
    if(d[numParticles,1] == numParticles) {
                      ^
```
[R/ABC_SMC.R:124:29:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L124) *style:* **Variable and function names should be all lowercase.**
```r
    if(d[numParticles,1] == numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:145:5:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L145) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:146:28:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L146) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:146:28:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L146) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:154:12:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L154) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:154:29:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L154) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted < numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:158:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L158) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:158:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L158) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:160:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L160) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights,
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:162:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L162) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:186:20:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L186) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:186:20:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L186) *warning:* **no visible global function definition for ‘strippedDbFd’**
```r
      FD_output <- strippedDbFd(Ord, communities[, present_species])
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:187:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L187) *style:* **lines should not be more than 80 characters.**
```r
      FRic <- FD_output$FRic # FRic = functional richness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:188:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L188) *style:* **lines should not be more than 80 characters.**
```r
      FEve <- FD_output$FEve # FEve = functional evenness (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:189:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L189) *style:* **lines should not be more than 80 characters.**
```r
      FDiv <- FD_output$FDiv # FDiv = functional diversity (Villeger et al, 2008, Ecology)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:198:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L198) *style:* **lines should not be more than 80 characters.**
```r
      # calculate distance of trait mean simulated community from that of observed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:201:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L201) *style:* **lines should not be more than 80 characters.**
```r
      # (inverse) fit of model: euclidian distance of FD and trait mean values of
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:203:14:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
      fit <- calculateDistance(FRic[[1]], FEve[[1]], FDiv[[1]],
             ^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:9:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:208:27:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        next_disp[numberAccepted] <- params[1]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        next_filt[numberAccepted] <- params[2]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:211:19:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L211) *style:* **Variable and function names should be all lowercase.**
```r
        next_comp[numberAccepted] <- params[3]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:213:14:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L213) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] <- fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:18:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        rich_vec[numberAccepted] <- FRic[[1]]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:215:17:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        eve_vec[numberAccepted] <- FEve[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:17:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        div_vec[numberAccepted] <- FDiv[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:217:17:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L217) *style:* **Variable and function names should be all lowercase.**
```r
        opt_vec[numberAccepted] <- mean_optimum;
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:220:24:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L220) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] = 1
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:220:40:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L220) *style:* **Use <-, not =, for assignment.**
```r
          next_weights[numberAccepted] = 1
                                       ^
```
[R/ABC_SMC.R:222:24:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] =
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:222:40:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L222) *style:* **Use <-, not =, for assignment.**
```r
          next_weights[numberAccepted] =
                                       ^
```
[R/ABC_SMC.R:223:13:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L223) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, disp_vals, filt_vals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:227:13:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L227) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
            ^
```
[R/ABC_SMC.R:227:14:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:227:34:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L227) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
                                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:233:21:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L233) *style:* **Put spaces around all infix operators.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                   ~^~
```
[R/ABC_SMC.R:233:22:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L233) *style:* **Variable and function names should be all lowercase.**
```r
      if (tried > (1/stopRate) && tried > 50)  {
                     ^~~~~~~~
```
[R/ABC_SMC.R:235:13:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L235) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
            ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:235:38:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L235) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:253:54:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L253) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:256:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L256) *style:* **lines should not be more than 80 characters.**
```r
    cat(" ", mean(disp_vals), mean(filt_vals), mean(comp_vals), "\t", "accept rate = ",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:257:9:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L257) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted / (tried-1), "\n")
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:257:32:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L257) *style:* **Put spaces around all infix operators.**
```r
        numberAccepted / (tried-1), "\n")
                              ~^~
```
[R/ABC_SMC.R:260:27:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L260) *style:* **Commas should always have a space after.**
```r
    next_weights <- rep(1,numParticles)
                          ^
```
[R/ABC_SMC.R:260:27:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L260) *style:* **Variable and function names should be all lowercase.**
```r
    next_weights <- rep(1,numParticles)
                          ^~~~~~~~~~~~
```
[R/ABC_SMC.R:261:20:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L261) *style:* **Variable and function names should be all lowercase.**
```r
    next_disp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:262:20:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L262) *style:* **Variable and function names should be all lowercase.**
```r
    next_filt <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:263:20:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L263) *style:* **Variable and function names should be all lowercase.**
```r
    next_comp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:273:61:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L273) *style:* **Put spaces around all infix operators.**
```r
    d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                           ~^~
```
[R/ABC_SMC.R:277:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/ABC_SMC.R#L277) *style:* **lines should not be more than 80 characters.**
```r
           "Can't stop at iteration 1 - please set stop_at_iteration to 2 if you only want to generate from the prior")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:4:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:19:14:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
	      }
^
```
[R/generateArtificialData.R:45:18:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:46:25:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/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/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^
```
[R/generateArtificialData.R:51:30:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L51) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                            ~^~~
```
[R/generateArtificialData.R:51:49:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L51) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                                               ~^~
```
[R/generateArtificialData.R:52:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L52) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:53:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L53) *style:* **Use two spaces to indent, never tabs.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
^
```
[R/generateArtificialData.R:53:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L53) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(m in 1:pool_richness){
               ^
```
[R/generateArtificialData.R:54:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L54) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:54:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L54) *style:* **lines should not be more than 80 characters.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:54:43:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L54) *style:* **Put spaces around all infix operators.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
                                         ~^~~
```
[R/generateArtificialData.R:54:77:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L54) *style:* **Put spaces around all infix operators.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] * traits_distances[m, ]))
                                                                           ~^~
```
[R/generateArtificialData.R:56:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L56) *style:* **lines should not be more than 80 characters.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:56:27:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                         ~^~~
```
[R/generateArtificialData.R:56:31:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L56) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                              ^
```
[R/generateArtificialData.R:56:57:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                                                       ~^~
```
[R/generateArtificialData.R:56:90:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen - max(trait_distances_onedimen)) + 10^-99
                                                                                ~^~
```
[R/generateArtificialData.R:57:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L57) *style:* **Use two spaces to indent, never tabs.**
```r
	  comm_spec_matrix[i, c(present_species)] <- 1
^
```
[R/generateArtificialData.R:57:29:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L57) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:58:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L58) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:59:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L59) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix
^
```
[R/generateArtificialData.R:60:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L60) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
^
```
[R/generateArtificialData.R:62:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L62) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
^
```
[R/generateArtificialData.R:63:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L63) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
^
```
[R/generateArtificialData.R:63:11:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L63) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
          ^
```
[R/generateArtificialData.R:63:58:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L63) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) traits_pool_df <-
                                                        ~^~~
```
[R/generateArtificialData.R:65:14:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L65) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
            ~^~~
```
[R/generateArtificialData.R:65:62:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L65) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
                                                            ~^~~
```
[R/generateArtificialData.R:66:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L66) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
^
```
[R/generateArtificialData.R:66:11:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
          ^
```
[R/generateArtificialData.R:66:58:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L66) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) comm_spec_matrix <-
                                                        ~^~~
```
[R/generateArtificialData.R:67:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L67) *style:* **Use two spaces to indent, never tabs.**
```r
	names(comm_spec_matrix) <- row1
^
```
[R/generateArtificialData.R:69:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L69) *style:* **Use two spaces to indent, never tabs.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
^
```
[R/generateArtificialData.R:69:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L69) *style:* **lines should not be more than 80 characters.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:69:26:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L69) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- as.data.frame(cbind(comm_spec_matrix, rep("", n_communities)))
                        ~^~~
```
[R/generateArtificialData.R:70:33:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L70) *style:* **Put spaces around all infix operators.**
```r
	names(comm_spec_matrix) <- row1
                               ~^~~
```
[R/generateArtificialData.R:72:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L72) *style:* **Use two spaces to indent, never tabs.**
```r
	names(plots) <- traits_pool_df[, 1]
^
```
[R/generateArtificialData.R:72:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L72) *style:* **lines should not be more than 80 characters.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generateArtificialData.R:72:15:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L72) *style:* **Put spaces around all infix operators.**
```r
	plots <- as.data.frame(matrix(as.numeric(as.matrix(comm_spec_matrix[, -ncol(comm_spec_matrix)])),
             ~^~~
```
[R/generateArtificialData.R:74:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L74) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
^
```
[R/generateArtificialData.R:75:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L75) *style:* **Use two spaces to indent, never tabs.**
```r
	                traits_pool_df[ ,c(2:ncol(traits_pool_df))])
^
```
[R/generateArtificialData.R:75:22:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L75) *style:* **Put spaces around all infix operators.**
```r
	names(plots) <- traits_pool_df[, 1]
                    ~^~~
```
[R/generateArtificialData.R:77:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L77) *style:* **Use two spaces to indent, never tabs.**
```r
	for (i in 2:ncol(traits_pool_df)) {
^
```
[R/generateArtificialData.R:77:53:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L77) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
                                                   ~^~~
```
[R/generateArtificialData.R:79:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L79) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:80:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L80) *style:* **Use two spaces to indent, never tabs.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
^
```
[R/generateArtificialData.R:80:13:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L80) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for (i in 2:ncol(traits_pool_df)) {
            ^
```
[R/generateArtificialData.R:82:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L82) *style:* **Use two spaces to indent, never tabs.**
```r
	return(output)
^
```
[R/generateArtificialData.R:83:16:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
              ~^~~
```
[R/generateArtificialData.R:83:32:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
                              ~^~
```
[R/generateArtificialData.R:83:61:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L83) *style:* **Put spaces around all infix operators.**
```r
	output <- list( traits = traits_pool_df, abundances = plots);
                                                           ~^~
```
[R/generateArtificialData.R:87:1:](https://github.com/thijsjanzen/STEPCAM/blob/5ab29d94a832f5afca1dc93c4d9c8fc60be0a49e/R/generateArtificialData.R#L87) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Avoid typos.


The DownloadCount gives an error here: https://plugins.cuberite.org/showplugin.php?id=8374982


Remove commented code if not useful.


Try after changing this line to the original one


> Those are not the same things

True, but as `function * g() {}` is a *Generator Function*, `g()` returns a *Generator Object*, which in turn is an *Iterable*:

[25.3 Generator Objects](http://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects):
> A Generator object is an instance of a generator function and conforms to both the Iterator and Iterable interfaces.


SLow and very noisy no filter. so added Robert Mahony non-linear filter to stabilise it


fajne


Hate how the Infill class behaves like a factory, yet still has this humongous constructor full of traps. A factory pattern prevents this by setting all these properties after construction, so that it is clear which is which.

(Not blocking.)


Sounds good to me. Except for one thing - I see a problem with overloading+inheritance, and I see a (seemingly unfixable) problem with reversed operators. I don't understand where is the problem with the combination of overloading and reverse operators.


I see, thanks for the pointer. Fixed it.


dobra zmiana


Variable names should be meaningful.
here tasklistxml doesn't show variable purpose.


mapRelations lijkt mij dan nog beter te conformeren naar de guideline om functions met werkwoorden te laten beginnen https://swift.org/documentation/api-design-guidelines/#promote-clear-usage


This appears to be new hence incompatible with pre-Birch formats.


@zmwangx You've lost me, doesn't this fix the link while moving the file?


Так и задумано - это пасхалка)


I LOve to program, but sometimes i feel i'm just alone. I'm happy to discover github and i'm here to make the best use of her service


Read coding conventions from below url,
http://www.dofactory.com/reference/csharp-coding-standards


NB! Inode  pointer is invalid after  cpfs_unlock_ino( fs, ino );


commit


@MikeMcQuaid

```
$ grep -rI '\.github/CONTRIBUTING.md'
.github/ISSUE_TEMPLATE.md:**Please note by far the quickest way to get a new formula into Homebrew is to file a [Pull Request](https://github.com/Homebrew/homebrew-core/blob/master/.github/CONTRIBUTING.md).**
.github/PULL_REQUEST_TEMPLATE.md:- [ ] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew-core/blob/master/.github/CONTRIBUTING.md) document?
```


, у такой проверки есть две особенности:

Пустая строка и строка из пробельных символов преобразуются к 0, поэтому считаются числами.
Если применить такую проверку не к строке, то могут быть сюрпризы, в частности isNaN посчитает числами значения false, true, null, так как они хотя и не числа, но преобразуются к ним.
Если же нужна действительно точная проверка на число, которая не считает числом строку из пробелов, логические и специальные значения, а также отсекает Infinity – используйте следующую функцию isNumeric:

function isNumeric(n) {
  return !isNaN(parseFloat(n)) && isFinite(n);
}


Fixed with version 0.3.2.


All comments to this commit were fixed in the commit: 9ec40845b146528a4bd85ff9c3ebce15d7cebe4e


wwwww


aprendiendo a leer


ja ja


@zmwangx TextMate search 😭 https://github.com/Homebrew/homebrew-core/commit/37f8c5f736e9e238a882522e7e1bed6fd7e8f923 and https://github.com/Homebrew/homebrew-core/commit/d04e7ad28e6adab82bb0e27b63e47594d7b045a8


Gotta get a better text editor 😉


I'll publish them once I fix up the docs for the new release.


closes #3


hello


The pack with more sounds has 695 and all the process took 8 seconds.


Yeah... The settins page for pro:basic looked kind of funky... Could have fixed it in the template but thought it would be better to fix it here...

I'll remove the mentioned for loop...


I'd prefer named argument for `false` here


i suspected the server/url which has no dns but a ipv4 adress.
Now it works again - thx.


Why eliminate?


mergeonline


ehooo


done


@lfarah  Thanks!


Is this necessary? Iterators use `hasNext` to indicate the end.


These three could be made constant.


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


jjjjjjj


first exersice


As ajax-load.js isn't being used anywhere now, can it be removed completely?


Thomas Schorr your emails are not known to GithHb and thus it is impossible to know if you have signed the Plone Contributor Agreement, which is required to merge this pull request.

Learn about the Plone Contributor Agreement: http://docs.plone.org/develop/coredev/docs/contributors_agreement_explained.html How to add more emails to your GitHub account: https://help.github.com/articles/adding-an-email-address-to-your-github-account/


I'm fairly confident that I'm leaking `pcb`'s and it may be that `memp_free` needs to be called for TIME_WAIT, FIN_WAIT_2, and LAST_ACK connections, as done in `espconn_kill_oldest`.


Fantastic! It works now!! 🎉 Thank you Zach!


Do we want this change in develop @VoR0220 @benjaminbollen


I think it is a good idea. Since there are so many options it would be nice to get some more structure. It might be difficult to decide which category some of the options belong to  (e.g. does `fastq_ascii` belong to `Input` or `Parameters`), but in most cases it should be clear.


Deserialzied -> Deserialized


My beautiful alignment :-(


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


Airgap isn't always rounded to nearest layer height, is it?


Good point. Maybe we should not pass the response then? You can still override the entire write and if you're writing to the response then you probably won't delegate either.


This may be simpler with a reverse loop.


Que 15 minute


heihei


lol


@sakieltang What doesn't work? Can you give more info? Maybe I can help, as I'm trying to get the latest code to run on iOS 10 with Xcode8 too. For me it only crashes on the phone now as soon as I'm having contacts in my contactbook.


Ajouter la commande liquibase:version


This will only regress the find in files part (which actually makes no sense, since the user wouldn't know what to look for anyway).

They'll still be picked up by the searchbar via the typesystem.


An angle of 89 is already an allowed_angle_offset of 5.7cm!
At some point between 89 and 90 we'll start hitting overflow errors. I don't really care enough to figure out at what degree _exactly_ that will be.


develop (macumber) - i386-Windows-7-VisualStudio-12: OK (2403 of 2448 tests passed, 0 test warnings)

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


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


Current implementation of the 3rd version of conversion functions for the Gregorian calendar uses stuff from the first section (see http://aa.quae.nl/en/reken/juliaansedag.html). It really has a limitation: it does fail on dates before 1 March, -4700. The algorithm requires an additional stepping to be injected into the formula in order to fix the bug.

I'll try to implement another two algorithms from http://aa.quae.nl/en/reken/juliaansedag.html.

As a workaround (or permanent solution?): try to use `gregorian_to_jd2` and `jd_to_gregorian2` functions. They are our implementation of JDN-to-Gregorian conversion based on the [Wikipedia] (https://en.m.wikipedia.org/wiki/Julian_day). It looks like those function handles tests well, doesn't?


跟DOM插入相关的操作，建议先缓存起来，等最终一次性渲染出来，不然太多DOM插入对性能不好。这里建议改成：


这是一个像Windows的资源管理器一样的 PHP web后台图片管理器，稍加修改就是可以向Windows的资源管理器一样，当web的资源管理器用。


Are you sure this doesn't generate support between the model and the raft?


`for (Person s: stars.size())`


najs


`Person similarStar ;`


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


`similarStar = s`


This is still wrong. You've deleted the else clause


What a price for this major fix?) Who knows?)


Where'd the +2 arise from? Document that?
(Yes, I see the removed line 291, but it's not documented there either.)


Oops, forgot to add the shader check


https://en.wikipedia.org/wiki/GAU-8_Avenger ...


Yes


TeamCity OTA+ :: rvi_sota_server :: migrations container [Build 59](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13610&buildTypeId=ota_plus_RviSotaServer_MigrationsContainer) is now running


It's hard to give a %, of the core code maybe 25%-30% is done, but we then need to do a hell of a lot of testing.


Might be better putting the .desktop file in files/ so it's visible in our repo and "local".


no change


Looks good, except for the mix lookup. If a and b was switched, it wouldn't match.

> On Sep 20, 2016, at 7:31 AM, covers1624 <notifications@github.com> wrote:
>
> Basic EnumColour stuff. @MrTJP Good?
>
> --
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub:
> https://github.com/TheCBProject/CodeChickenLib/commit/b1341d3ae9b5b0825ca90168151b589a883986fd


Direct commit in master


TeamCity OTA+ :: rvi_sota_server :: migrations container [Build 59](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13610&buildTypeId=ota_plus_RviSotaServer_MigrationsContainer) outcome was **SUCCESS**
Summary: Running Build time: 00:01:15


这里的鼠标滚动事件交互应该为：当鼠标往下滚（一次内不论滚多少都应该只触发一次）。现在这样鼠标一次一直往下滚就不断切换了。建议改成：增加一个节流函数，控制多少时间内的滚动都只算一次。


comentario


ops... that is correct, let me remove that part. It should not be mandatory to have target data indeed..


yeah, try ... except will catch that one too.


此项目是基于原型设计工具Axure进行的案例实践


I'd split this class into FunctionCaller and FunctionCallerWithMember or something like this


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


Initial commit.


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


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


@shay-stratoscale, @ravid-stratoscale


oh obviously we have this change but this commit has been left dangling as unmerged, will remove branch


ASCII


We could have a generator that run at higher frequency, that inserts some dead cycles at some points, but still meet the average bandwidth.
But I see your point and that's probably better to handle that outside (because we would also need to report FIFO empty situations). So I'll use the clock domain of the first phy for the transport layer and elastic buffers between transport and the others links/phys.


GAMA -> typo?


Hey @ichrispa ,

can you give an example for a vartypenode that really is a datatype?
I will stop nagging with an example.
But that would mean that ns0 is violating the rule that every variable needs exactly one hastypedef reference to a variabletype.


I thought so....
The typical case I take care with this patch is
Ke1 e2 f3 g2 Black e4 Ne5 Re8 with 2 aligned blockers, one black, one white.
If the see square is f3, and black to move,
the see sequence will be .exf3 gxf3 Nxf3 and it stops there

But now I realise that iafter a simple disco check,, SEE should stop right away. in most cases, unless the king can capture the disco-blocker which just moved

example: White Rg1 Bg2 Black Kg8 Rf8 see square f3, white to move
g2-f3 and the see sequence cannot continue on the f3 square

example: White Rg1 Bg7 Black Kg8 Re8, see square f8, white to move
g7-f8 and in a see sequence, the only move would be Kf8 (if legal)


@ilaripih It should be working back. an exception will be raised when targets are actually used but not provided.


@cloud-fan I think this needs to be reverted in branch-2.0 as well, because the tests there are still failing.


312MHz is already pushing those sluggish FPGAs, and the additional flow control signals may actually slow things down further.


@emufreak thanks for the fix - this looks way cleaner now.


Только твоя пасхалка не даёт собрать pdf)


@ilaripih It should be working again. An exception will be raised when targets are actually used but not provided.


Yes it definitely should be! Correcting now.

> On 20 Sep 2016, at 4:40 PM, chadawagner <notifications@github.com> wrote:
>
> should this be env.addSegment(adsr[i], adsr[i+1]); ??
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <https://github.com/orsjb/beads/commit/f174fee8bc49823f0867884a2fd6d19a586f7829#commitcomment-19091375>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AABsIpLRlTIhpselzT9YxOeCZbJCyC2Zks5qr3_fgaJpZM4KBRmx>.
>


## test ##


@aymericdamien Thanks a lot for the quick fix!


Why do we use `defaultCaller` and it's interface here?

One may just call `createAnnotationInstance` here without retrieving arguments from the map and then putting them back again


i'm sorry, i'm using resharper to format all the code... :)


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

```


@hikalkan, this looks very nice. Much better than my attempt. Thank you for all the hard work.


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


When you have `filter()` here, `all()` is no longer needed. I'll modify this in my #445 resolution.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1062](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13616&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 1 (1 new), passed: 216, ignored: 3 Build time: 00:09:02
### Failed tests
```
org.genivi.sota.core.transfer.DeviceUpdatesSpec.marks reported packages as installed: <no details avaliable>

```


Negative layer_number means raft, not post-raft.


Initial commit.


I see, the first P&Rs seems OK on timings. If we have timing issues, I'll remove the flow control part, but for now it still seems interesting since you can prepare the data in advance and just release the stream when receiving the SYNC signal.


These could be made constant. `layer_thickness` also.

(Not blocking.)


@linzjax, is there a reason why `.filter(archived=False)` was not added here too, similar to the one you added in the `else` clause? Not adding the filter means that superusers can add projects to archived organizations.


Flow control is definitely not welcome. What would be more useful is handling divided (phase-aligned) clocks at the elastic buffer, but if you have complex layers on top it may be preferable to do that externally, where we send samples into the JESD core. @jordens what is the phaser target clock frequency?


@zingano you can enable by setting PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS=1 in your environment before starting Parse-server


wouldn't we want the change only for --squirrel-updated?


This processes the ooze shield, support and draft shield multiple times for layer 0. Isn't it better to do `if (layer_nr >= 0)`?


ah I see. :)


@volaya  do we still need this? If we want to upload to our BL server we don't use RPC2, if we want to upload to qgis official repo the address is wrong.


do we have an epw for brussels? I think that is where we get the other values for latitude and longitude from...


@mbluj @apyskir: another fixes for synchronization.


xx


Initial commit
moneroj


Again, primt tower is added multiple times to layer 0.


Thanks Ryan, that works for us in C#. Can you please try same thing in JavaScript REST API and share working code snippet with me. Thanks..


@yhoogstrate did you update and test on your build? Could you send a PR with the commit you've bumped to? No worries if not, I'll get to this as soon as I can.


I don't think you need to move the dev dependencies.


this kind of *temporary* fix tends to stay in the code base *forever* - would it be possible to just use a branch (e.g. "brussels-case-study") and keep that up-to-date with master?


Ehm, doesn't this make a copy of `sliceDataStorage` before passing it to `getFillerLayerCount`?


Ahh, ill add that.


Yeah, all the same thing.
I reverted it in https://github.com/FriendsOfCake/search/commit/45896eea9b7f78c4060fb0c3cbf4fda427082fcc to be consistent with the rest of the code, e.g.

- loadFilter()
- collection()
- conversion()
- _filterParams()
- _actionCheck()

etc


The `BigIntegerMethods.cs` can be removed if we move to .NET 4.5.2 as discussed in #146


[tests/testthat/test_beastscriptr.R:134:68:](https://github.com/richelbilderbeek/beastscriptr/blob/10c2f3698bf57776be1a09ab8e54f388d2423ce3/tests/testthat/test_beastscriptr.R#L134) *style:* **Commas should always have a space after.**
```r
  output_xml_state_filename <- basename(paste0(output_xml_filename,".state"))
                                                                   ^
```


ok


gs->getPlayerTeam(fc.player) inside loop is even worse.


@shay-stratoscale, @ravid-stratoscale

Did you see this comment?

Please respond so i know you saw this

Thanks


Calegário, comenta cada método que tu criar com /// em cima dele, pra que fique tudo documentado.


Copy of `SliceDataStorage`?


Não esquece de colocar esse GameObject.Find("PauseManager").GetComponent<Feedback>() como uma variável no topo do código, pra não precisar ficar chamando esse método toda vez


`parameterNames.singleOrNull() == "value"` looks clearly to me


//lkjk


Looks good - will also need to add the aliases here too.


@pb00068

 I think this brings us a slow-down, actually: I measure a 0.6% slow-down for the version where we have this test
````
  if (!stmAttackers)
        return swapList[0];
````
both in line 1006 and in line 1025 (as in the test currently running on fishtest),
compared to the version where we would have it only once in line 1025.

I will try to optimize the new idea for speed even more (the lsb() in line 67
is slow on 32-bits machines, can we avoid it, for example?)


## This is a markdown file


.\ _________ /


I've thought about it but it only saves exactly one `!!` at the moment, so probably not worth it.


@AlexFalappa fyi that user agent is now used in Spring Intializr to identify requests from NetBeans (see https://github.com/spring-io/initializr/issues/290).

Nothing to do on your side. If you decide to change the format, please let us know. Thanks!


How did you access a secret conversation?!


gooe


Fix the issue:
Module file's minimum deployment target is ios9.0 v9.0 in RxAlamofire.swift


I am an authorized person to access your secrets because of the fact mentioned in the secret message itself.


In AbstractWildFlyStandaloneLocalConfiguration.java the Method createApplicationRolesProperties should be implemented like createApplicationUsersProperties and createMgmtUsersProperties that:

```
    private void createApplicationRolesProperties()
    {
		// Add token filters for authenticated users
        if (!getUsers().isEmpty())
        {
        StringBuilder rolesToken = new StringBuilder(
            "# JBoss application-roles.properties file generated by CARGO\n");

        for (User user : getUsers())
        {
            rolesToken.append(user.getName());
            rolesToken.append("=");
            for (String role : user.getRoles())
            {
                rolesToken.append(role);
                rolesToken.append(",");
            }
            rolesToken.append('\n');
        }

        getFileHandler().writeTextFile(
            getFileHandler().append(getHome(), "/configuration/application-roles.properties"),
                rolesToken.toString(), "UTF-8");
		}
    }
```
otherwise it is inconsistent.


Negations are not good for code readability. At the end of the day the paradigms are meant to make code more readable and maintainable, so they should be followed judiciously.

The `return null` is also unnecessary but I added it to stop phpcs from whining.


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


hi !
i have downloaded the database and i have install tensorflow 8
when i  try to lanch train with "  python train.py"
i get this error :
--------------------------------------------------
Traceback (most recent call last):
  File "/write-rnn-tensorflow-master/train.py", line 74, in <module>
    main()
  File "/write-rnn-tensorflow-master/train.py", line 41, in main
    train(args)
  File "/write-rnn-tensorflow-master/train.py", line 49, in train
    model = Model(args)
  File "/write-rnn-tensorflow-master/model.py", line 18, in __init__
    cell_fn = tf.nn.rnn_cell.BasicLSTMCell
AttributeError: 'module' object has no attribute 'rnn_cell'
----------------------------------------
Please help.


Gj.


Since you're adding `+ primary_line_count % 2`, that would round the line count up instead of down. If an odd number doesn't fit, an odd number + 1 still doesn't fit. I suggest you change that `+` into a `-`.


Problema Magazin


Well, and there is your flaw: The return null should never be at the end, since it is in a clean code way used to return early. Please look at all the rest of the code, it is all properly doing what I said. Your change was really not a very nice cowboy move here.


创建Maven项目，在spring中整合mybaties

pom.xml配置，需要导入jar包：

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.zp</groupId>
  <artifactId>test2</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>war</packaging>

   <dependencies>

   <!-- 依赖servlet，导入servlet所需jar包  -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.0.1</version>
      <scope>provided</scope>
    </dependency>

    <!-- 依赖spring，导入spring所需jar包  -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>4.0.0.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>4.0.2.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-tx</artifactId>
        <version>4.0.2.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>4.0.2.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.data</groupId>
        <artifactId>spring-data-jpa</artifactId>
        <version>1.9.2.RELEASE</version>
    </dependency>

    <!-- URL重写filter,用于将访问静态资源http://localhost/foo.css　转为http://localhost/static/foo.css -->
    <dependency>
         <groupId>org.tuckey</groupId>
         <artifactId>urlrewritefilter</artifactId>
         <version>4.0.4</version>
    </dependency>

    <!-- json的jar包 -->
    <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-core-asl</artifactId>
        <version>1.9.11</version>
    </dependency>

    <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>1.9.12</version>
    </dependency>

    <!-- 数据库连接所需jar包 -->
    <dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>commons-pool</groupId>
        <artifactId>commons-pool</artifactId>
        <version>1.6</version>
    </dependency>
    <!-- 阿里巴巴公司开发的Druid数据库连接池 -->
    <dependency>
        <groupId>com.alibaba</groupId>
        <artifactId>druid</artifactId>
        <version>1.0.16</version>
      </dependency>

    <!-- mybatis核心包 -->
    <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis</artifactId>
        <version>3.1.1</version>
    </dependency>

    <!-- mybatis/spring包 -->
    <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis-spring</artifactId>
            <version>1.2.2</version>
        </dependency>

    <!-- Mysql驱动包 -->
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.27</version>
    </dependency>

   </dependencies>

    <build>
    <plugins>
       <!-- 声明jdk编译版本1.7  -->
       <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
          <version>3.1</version>
         <configuration>
              <source>1.7</source>
              <target>1.7</target>
         </configuration>
      </plugin>
      <!-- tomcat插件 -->
      <plugin>
        <groupId>org.apche.tomcat.maven</groupId>
        <artifactId>tomcat7-maven-plugin</artifactId>
        <version>2.2</version>
      </plugin>
    </plugins>
  </build>
</project>
_____________________________________________________________________________________________________________
applicationContext.xml的配置：

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util"
    xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:jpa="http://www.springframework.org/schema/data/jpa" xmlns:mvc="http://www.springframework.org/schema/mvc"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
        http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.9.xsd
        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">

    <bean id="dbcp" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
        <property name="username" value="root">
        </property>
        <property name="password" value="123">
        </property>
        <property name="driverClassName" value="com.mysql.jdbc.Driver">
        </property>
        <property name="url" value="jdbc:mysql://localhost:3306/OrderDatabase?characterEncoding=utf8">
        </property>

        <!-- 连接初始值，连接池启动时创建的连接数量的初始值 -->
        <property name="initialSize"><value>4</value></property>
        <!-- 连接池的最大值，同一时间可以从池分配的最多连接数量，0时无限制 -->
        <property name="maxActive"><value>100</value></property>
        <!-- 最大空闲值.当经过一个高峰时间后，连接池可以慢慢将已经用不到的连接慢慢释放一部分，一直减少到maxIdle为止 ，0时无限制-->
        <property name="maxIdle"><value>50</value></property>
        <!-- 最小空闲值.当空闲的连接数少于阀值时，连接池就会预申请去一些连接，以免洪峰来时来不及申请 -->
        <property name="minIdle"><value>15</value></property>
        <!-- 配置获取连接等待超时的时间 -->
        <property name="maxWait"><value>10000</value></property><!-- 最大等待时间 -->
        <!-- 配置间隔多久才进行一次检测，检测需要关闭的空闲连接，单位是毫秒 -->
        <property name="timeBetweenEvictionRunsMillis"><value>60000</value></property>
        <!-- 配置一个连接在池中最小生存的时间，单位是毫秒 -->
        <property name="minEvictableIdleTimeMillis"><value>300000</value></property>

    </bean>

    <!-- 设置sqlsession工厂 -->
    <bean id="sqlsessionfactory"
        class="org.mybatis.spring.SqlSessionFactoryBean">
        <property name="dataSource"
                ref="dbcp">
        </property>
        <property name="mapperLocations"
                value="classpath:com/zp/test/sql/*.xml">
        </property>
    </bean>

    <!-- DAO层 -->
    <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
        <property name="basePackage"
                value="com.zp.test.dao">
        </property>
    </bean>

    <!-- viewresolver 视图解析器-->
    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="prefix" value="/WEB-INF/jsp/">
        </property>
        <property name="suffix" value=".jsp">
        </property>
    </bean>

    <!-- 扫描service,controller -->
    <context:component-scan
        base-package="com.zp.test"/>

    <!-- handlermapping @RequestMapping,
    @ResponseBody,@ExceptionHanlder -->
    <mvc:annotation-driven/>

    <!-- Spring事务管理 -->
    <!-- 定义事务管理(共通处理)组件 -->
    <bean id="tx"
        class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
        <!-- 必须注入dataSource连接资源 -->
        <property name="dataSource" ref="dbcp">
        </property>
    </bean>
    <!-- 启动@Transactional注解,将来哪个组件方法
    带有该标记就会切入tx事务管理功能 -->
    <tx:annotation-driven transaction-manager="tx"/>
</beans>
____________________________________________________________________________________________________________

web.xml配置

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
    id="schedule-console" version="3.0">

  <!-- 配置spring的servlet -->
  <servlet>
    <servlet-name>springmvc</servlet-name>
    <servlet-class>
org.springframework.web.servlet.DispatcherServlet
    </servlet-class>
    <init-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>/WEB-INF/applicationContext.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
<!--　覆盖default　servlet的/,　springmvc　servlet将处理原来处理静态资源的映射　-->
<servlet-mapping>
<servlet-name>springmvc</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>

<!--　该servlet为tomcat,jetty等容器提供,将静态资源映射从/改为/static/目录，如原来访问　http://localhost/foo.css　,现在http://localhost/static/foo.css　-->
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/static/*</url-pattern>
</servlet-mapping>

<!--　URL重写filter,用于将访问静态资源http://localhost/foo.css　转为http://localhost/static/foo.css　-->
<filter>
<filter-name>UrlRewriteFilter</filter-name>
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
<init-param>
<param-name>confReloadCheckInterval</param-name>
<param-value>60</param-value>
</init-param>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</filter>

<!--　浏览器不支持put,delete等method,由该filter将/blog?_method=delete转换为标准的http　delete方法　-->
<filter>
<filter-name>HiddenHttpMethodFilter</filter-name>
<filter-class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>HiddenHttpMethodFilter</filter-name>
<servlet-name>springmvc</servlet-name>
</filter-mapping>

    <!-- Spring的log4j监听器 -->
    <listener>
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
    </listener>

    <!-- 字符集 过滤器  -->
    <filter>
        <filter-name>CharacterEncodingFilter</filter-name>
        <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>UTF-8</param-value>
        </init-param>
        <init-param>
            <param-name>forceEncoding</param-name>
            <param-value>true</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>CharacterEncodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

  <!-- 欢迎页 -->
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>

  <!-- 设置session有效时间 -->
  <session-config>
  <session-timeout>9999</session-timeout>
</session-config>

    </web-app>


Potentially. Currently, CSS Fonts Level 4 says 999. Maybe 1000 makes more sense. @nattokirai do you remember why 999 was chosen?


The `args` map does not necessarily have values for default arguments. E.g. it may be even empty, if all arguments have default values. Whereas `createAnnotationInstance` takes a map that should have a value for every argument. Also types of these values should be checked and transformed if necessary (Class<->KClass), and that happens in `caller.call` below.

The reason this is not so straightforward here is that some of the stuff that does not depend on the actual arguments passed, may be cached. Imagine if you get an instance of a constructor and then invoke it 10^6 times. We create an instance of `AnnotationConstructorCaller` only once before the first call, compute default values and required parameter types and save them, and then on each call try to do only things that depend on the actual arguments, for example checking their types and finally creating an annotation instance.