[R/ABC_SMC.R:3:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L3) *style:* **Variable and function names should be all lowercase.**
```r
getRandomVals <- function(max_val)  {
^~~~~~~~~~~~~
```
[R/ABC_SMC.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L16) *style:* **Variable and function names should be all lowercase.**
```r
getFromPrevious <- function(inds, ws, disps, filts, comps)  {
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:23:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L23) *style:* **Variable and function names should be all lowercase.**
```r
calculateWeight <- function(params, target, sigma,
^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:26:68:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L26) *style:* **Commas should always have a space after.**
```r
  diff <- params[target] - cbind(disp_vals, filt_vals, comp_vals)[,target]
                                                                   ^
```
[R/ABC_SMC.R:27:54:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L27) *style:* **Trailing whitespace is superfluous.**
```r
  vals <- weights * dnorm(diff, mean = 0, sd = sigma)
                                                     ^~
```
[R/ABC_SMC.R:28:12:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L28) *style:* **Put spaces around all infix operators.**
```r
  return( 1/sum(vals) )
          ~^~
```
[R/ABC_SMC.R:32:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L32) *style:* **Variable and function names should be all lowercase.**
```r
normalizeWeights <- function(x) {
^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:66:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L66) *style:* **Variable and function names should be all lowercase.**
```r
calculateDistance <- function(rich, even, div, opt_diff, obs, sd_vals)  {
^~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:70:40:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L70) *style:* **Put spaces around all infix operators.**
```r
  fit_optima <- (opt_diff / sd_vals[4])^2
                                      ~^~
```
[R/ABC_SMC.R:78:21:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L78) *style:* **Variable and function names should be all lowercase.**
```r
ABC_SMC <- function(numParticles, species_fallout, taxa, esppres, n_traits,
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:80:46:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L80) *style:* **Variable and function names should be all lowercase.**
```r
                    abundances, frequencies, stopRate, Ord,
                                             ^~~~~~~~
```
[R/ABC_SMC.R:80:60:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L80) *style:* **Trailing whitespace is superfluous.**
```r
                    abundances, frequencies, stopRate, Ord,
                                                           ^
```
[R/ABC_SMC.R:86:52:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L86) *style:* **Trailing whitespace is superfluous.**
```r
           "one of the community summary statistics
                                                   ^
```
[R/ABC_SMC.R:90:10:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L90) *style:* **Variable and function names should be all lowercase.**
```r
  res <- detMnbsp(Ord, abundances)
         ^~~~~~~~
```
[R/ABC_SMC.R:90:10:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L90) *warning:* **no visible global function definition for ‘detMnbsp’**
```r
  res <- detMnbsp(Ord, abundances)
         ^~~~~~~~
```
[R/ABC_SMC.R:93:18:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L93) *style:* **Variable and function names should be all lowercase.**
```r
  disp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:94:18:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L94) *style:* **Variable and function names should be all lowercase.**
```r
  filt_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:95:18:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L95) *style:* **Variable and function names should be all lowercase.**
```r
  comp_vals <- 1:numParticles
                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:97:13:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L97) *style:* **Variable and function names should be all lowercase.**
```r
  fits <- 1:numParticles
            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:98:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L98) *style:* **Variable and function names should be all lowercase.**
```r
  rich_vec <- 1:numParticles
                ^~~~~~~~~~~~
```
[R/ABC_SMC.R:99:16:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L99) *style:* **Variable and function names should be all lowercase.**
```r
  eve_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:100:16:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L100) *style:* **Variable and function names should be all lowercase.**
```r
  div_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:101:16:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L101) *style:* **Variable and function names should be all lowercase.**
```r
  opt_vec <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:107:21:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L107) *style:* **Variable and function names should be all lowercase.**
```r
  weights <- rep(1, numParticles)
                    ^~~~~~~~~~~~
```
[R/ABC_SMC.R:108:26:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L108) *style:* **Variable and function names should be all lowercase.**
```r
  next_weights <- rep(1, numParticles)
                         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:109:16:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L109) *style:* **Variable and function names should be all lowercase.**
```r
  indices <- 1:numParticles
               ^~~~~~~~~~~~
```
[R/ABC_SMC.R:121:7:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L121) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(d[numParticles,1] == numParticles) {
      ^
```
[R/ABC_SMC.R:121:10:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L121) *style:* **Variable and function names should be all lowercase.**
```r
    if(d[numParticles,1] == numParticles) {
         ^~~~~~~~~~~~
```
[R/ABC_SMC.R:121:23:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L121) *style:* **Commas should always have a space after.**
```r
    if(d[numParticles,1] == numParticles) {
                      ^
```
[R/ABC_SMC.R:121:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L121) *style:* **Variable and function names should be all lowercase.**
```r
    if(d[numParticles,1] == numParticles) {
                            ^~~~~~~~~~~~
```
[R/ABC_SMC.R:143:5:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L143) *style:* **Variable and function names should be all lowercase.**
```r
    numberAccepted <- 0
    ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:144:28:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L144) *style:* **Variable and function names should be all lowercase.**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:144:28:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L144) *warning:* **no visible global function definition for ‘normalizeWeights’**
```r
    if (t != 1) weights <- normalizeWeights(weights)
                           ^~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:152:12:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L152) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted <= numParticles) {
           ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:152:30:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L152) *style:* **Variable and function names should be all lowercase.**
```r
    while (numberAccepted <= numParticles) {
                             ^~~~~~~~~~~~
```
[R/ABC_SMC.R:156:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L156) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:156:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L156) *warning:* **no visible global function definition for ‘getRandomVals’**
```r
        params <- getRandomVals(species_fallout)
                  ^~~~~~~~~~~~~
```
[R/ABC_SMC.R:158:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L158) *style:* **Variable and function names should be all lowercase.**
```r
        params <- getFromPrevious(indices, weights,
                  ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:160:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L160) *warning:* **no visible global function definition for ‘perturb’**
```r
        params <- perturb(params, sigma)
                  ^~~~~~~
```
[R/ABC_SMC.R:170:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L170) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~
```
[R/ABC_SMC.R:174:40:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L174) *style:* **Commas should always have a space after.**
```r
      traits <- as.data.frame(species[,c(2:(n_traits+1))],
                                       ^
```
[R/ABC_SMC.R:174:53:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L174) *style:* **Put spaces around all infix operators.**
```r
      traits <- as.data.frame(species[,c(2:(n_traits+1))],
                                                   ~^~
```
[R/ABC_SMC.R:175:40:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L175) *style:* **Put spaces around all infix operators.**
```r
                              row.names=c(1:taxa))
                                      ~^~
```
[R/ABC_SMC.R:179:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L179) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/ABC_SMC.R:180:20:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L180) *style:* **Variable and function names should be all lowercase.**
```r
      FD_output <- strippedDbFd(Ord, communities,
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:180:50:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L180) *style:* **Trailing whitespace is superfluous.**
```r
      FD_output <- strippedDbFd(Ord, communities,
                                                 ^
```
[R/ABC_SMC.R:181:64:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L181) *style:* **Trailing whitespace is superfluous.**
```r
                                m = res[[1]], nb.sp = res[[2]])
                                                               ^
```
[R/ABC_SMC.R:182:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L182) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ABC_SMC.R:184:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L184) *style:* **Trailing whitespace is superfluous.**
```r
      FRic <- FD_output$FRic
                            ^
```
[R/ABC_SMC.R:186:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L186) *style:* **Trailing whitespace is superfluous.**
```r
      FEve <- FD_output$FEve
                            ^
```
[R/ABC_SMC.R:188:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L188) *style:* **Trailing whitespace is superfluous.**
```r
      FDiv <- FD_output$FDiv
                            ^
```
[R/ABC_SMC.R:197:69:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L197) *style:* **Trailing whitespace is superfluous.**
```r
      # calculate distance of trait mean between simulated community
                                                                    ^
```
[R/ABC_SMC.R:201:72:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L201) *style:* **Trailing whitespace is superfluous.**
```r
      # (inverse) fit of model: euclidian distance of FD and trait mean
                                                                       ^
```
[R/ABC_SMC.R:203:14:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/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:205:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L205) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/ABC_SMC.R:208:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L208) *style:* **Variable and function names should be all lowercase.**
```r
        next_disp[numberAccepted] <- params[1]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:209:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L209) *style:* **Variable and function names should be all lowercase.**
```r
        next_filt[numberAccepted] <- params[2]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:210:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L210) *style:* **Variable and function names should be all lowercase.**
```r
        next_comp[numberAccepted] <- params[3]
                  ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:212:14:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L212) *style:* **Variable and function names should be all lowercase.**
```r
        fits[numberAccepted] <- fit
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:213:18:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L213) *style:* **Variable and function names should be all lowercase.**
```r
        rich_vec[numberAccepted] <- FRic[[1]]
                 ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:214:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L214) *style:* **Variable and function names should be all lowercase.**
```r
        eve_vec[numberAccepted] <- FEve[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:215:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L215) *style:* **Variable and function names should be all lowercase.**
```r
        div_vec[numberAccepted] <- FDiv[[1]]
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:216:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L216) *style:* **Variable and function names should be all lowercase.**
```r
        opt_vec[numberAccepted] <- mean_optimum
                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:219:24:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L219) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] <- 1
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:221:24:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L221) *style:* **Variable and function names should be all lowercase.**
```r
          next_weights[numberAccepted] <-
                       ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:222:13:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L222) *style:* **Variable and function names should be all lowercase.**
```r
            calculateWeight(params, changed, sigma, disp_vals, filt_vals,
            ^~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:225:9:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L225) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
        ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:225:27:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L225) *style:* **Variable and function names should be all lowercase.**
```r
        numberAccepted <- numberAccepted + 1
                          ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:226:13:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L226) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
            ^
```
[R/ABC_SMC.R:226:14:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L226) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
             ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:226:34:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L226) *style:* **Variable and function names should be all lowercase.**
```r
        if ((numberAccepted) %% (numParticles / PRINT_FREQ) == 0) {
                                 ^~~~~~~~~~~~
```
[R/ABC_SMC.R:233:21:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/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/f0710e5ed19ef189092f849b98031f2530f113e4/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/f0710e5ed19ef189092f849b98031f2530f113e4/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/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L235) *style:* **Variable and function names should be all lowercase.**
```r
        if (numberAccepted / tried < stopRate) {
                                     ^~~~~~~~
```
[R/ABC_SMC.R:255:54:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L255) *style:* **Put spaces around all infix operators.**
```r
    file_name <- paste("particles_t=", t, ".txt", sep="", collapse = NULL)
                                                    ~^~
```
[R/ABC_SMC.R:258:64:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L258) *style:* **Trailing whitespace is superfluous.**
```r
    cat(" ", mean(disp_vals), mean(filt_vals), mean(comp_vals),
                                                               ^
```
[R/ABC_SMC.R:259:33:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L259) *style:* **Variable and function names should be all lowercase.**
```r
        "\t", "accept rate = ", numberAccepted / (tried-1), "\n")
                                ^~~~~~~~~~~~~~
```
[R/ABC_SMC.R:259:56:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L259) *style:* **Put spaces around all infix operators.**
```r
        "\t", "accept rate = ", numberAccepted / (tried-1), "\n")
                                                      ~^~
```
[R/ABC_SMC.R:262:27:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L262) *style:* **Commas should always have a space after.**
```r
    next_weights <- rep(1,numParticles)
                          ^
```
[R/ABC_SMC.R:262:27:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L262) *style:* **Variable and function names should be all lowercase.**
```r
    next_weights <- rep(1,numParticles)
                          ^~~~~~~~~~~~
```
[R/ABC_SMC.R:263:20:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L263) *style:* **Variable and function names should be all lowercase.**
```r
    next_disp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:264:20:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L264) *style:* **Variable and function names should be all lowercase.**
```r
    next_filt <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:265:20:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L265) *style:* **Variable and function names should be all lowercase.**
```r
    next_comp <- 1:numParticles
                   ^~~~~~~~~~~~
```
[R/ABC_SMC.R:275:61:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L275) *style:* **Put spaces around all infix operators.**
```r
    d <- read.table(paste("particles_t=", t - 1, ".txt", sep="",
                                                           ~^~
```
[R/ABC_SMC.R:279:40:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L279) *style:* **Trailing whitespace is superfluous.**
```r
           "Can't stop at iteration 1 -
                                       ^
```
[R/ABC_SMC.R:280:57:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/ABC_SMC.R#L280) *style:* **Trailing whitespace is superfluous.**
```r
           please set stop_at_iteration to 2 if you only
                                                        ^
```
[R/generateArtificialData.R:5:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L5) *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/f0710e5ed19ef189092f849b98031f2530f113e4/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/f0710e5ed19ef189092f849b98031f2530f113e4/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/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	                                    mean = 0, sd = 1), 3),
^
```
[R/generateArtificialData.R:10:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	                       ncol = n_traits, nrow = pool_richness)
^
```
[R/generateArtificialData.R:10:23:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L10) *style:* **Put spaces around all infix operators.**
```r
	pool_richness <- n_species
                     ~^~~
```
[R/generateArtificialData.R:12:21:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                   ~^~~
```
[R/generateArtificialData.R:12:47:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                             ~^~
```
[R/generateArtificialData.R:12:49:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L12) *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:12:64:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L12) *style:* **Put spaces around all infix operators.**
```r
	traits_pool <- matrix( round( rnorm(n = (pool_richness * n_traits),
                                                              ~^~
```
[R/generateArtificialData.R:13:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:pool_richness) {
^
```
[R/generateArtificialData.R:13:50:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                ~^~
```
[R/generateArtificialData.R:13:58:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L13) *style:* **Put spaces around all infix operators.**
```r
	                                    mean = 0, sd = 1), 3),
                                                        ~^~
```
[R/generateArtificialData.R:14:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
	  column1[i] <- paste("species", i, sep = "")
^
```
[R/generateArtificialData.R:14:37:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L14) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                   ~^~
```
[R/generateArtificialData.R:14:54:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L14) *style:* **Put spaces around all infix operators.**
```r
	                       ncol = n_traits, nrow = pool_richness)
                                                    ~^~
```
[R/generateArtificialData.R:15:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:16:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- rep(NA, (n_traits + 1))
^
```
[R/generateArtificialData.R:17:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_traits + 1) {
^
```
[R/generateArtificialData.R:17:12:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:pool_richness) {
           ^
```
[R/generateArtificialData.R:18:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
^
```
[R/generateArtificialData.R:18:22:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L18) *style:* **Put spaces around all infix operators.**
```r
	  column1[i] <- paste("species", i, sep = "")
                    ~^~~
```
[R/generateArtificialData.R:19:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:20:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	row1[1] <- "species"
^
```
[R/generateArtificialData.R:20:14:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L20) *style:* **Put spaces around all infix operators.**
```r
	row1 <- rep(NA, (n_traits + 1))
            ~^~~
```
[R/generateArtificialData.R:20:25:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L20) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	row1 <- rep(NA, (n_traits + 1))
                        ^
```
[R/generateArtificialData.R:21:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/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:12:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_traits + 1) {
           ^
```
[R/generateArtificialData.R:22:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df <- as.data.frame(columns)
^
```
[R/generateArtificialData.R:22:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L22) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                 ~^~~
```
[R/generateArtificialData.R:22:37:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L22) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                    ^
```
[R/generateArtificialData.R:22:40:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L22) *style:* **Put spaces around all infix operators.**
```r
	  row1[i] <- paste("trait", (i - 1), sep="")
                                      ~^~
```
[R/generateArtificialData.R:23:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
	names(traits_pool_df) <- row1
^
```
[R/generateArtificialData.R:24:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L24) *style:* **Put spaces around all infix operators.**
```r
	row1[1] <- "species"
               ~^~~
```
[R/generateArtificialData.R:25:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/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:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L25) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix( cbind( column1, traits_pool), ncol = (n_traits + 1))
               ~^~~
```
[R/generateArtificialData.R:25:63:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L25) *style:* **Put spaces around all infix operators.**
```r
	columns <- matrix( cbind( column1, traits_pool), ncol = (n_traits + 1))
                                                             ~^~
```
[R/generateArtificialData.R:25:65:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L25) *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:26:24:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L26) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df <- as.data.frame(columns)
                      ~^~~
```
[R/generateArtificialData.R:27:31:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L27) *style:* **Put spaces around all infix operators.**
```r
	names(traits_pool_df) <- row1
                             ~^~~
```
[R/generateArtificialData.R:28:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/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:29:26:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L29) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- matrix(rep(0, (n_communities * pool_richness)),
                        ~^~~
```
[R/generateArtificialData.R:29:43:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L29) *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:29:58:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L29) *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/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) *
^
```
[R/generateArtificialData.R:31:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
	                            (sd_richness * pool_richness) +
^
```
[R/generateArtificialData.R:32:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L32) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10 ^ rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                 ~^~~
```
[R/generateArtificialData.R:32:25:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L32) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10 ^ rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                       ~^~
```
[R/generateArtificialData.R:32:53:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L32) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10 ^ rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                   ~^~
```
[R/generateArtificialData.R:32:61:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L32) *style:* **Put spaces around all infix operators.**
```r
	occurence <- 10 ^ rnorm(pool_richness, mean = 0, sd = occurence_distribution)
                                                           ~^~
```
[R/generateArtificialData.R:33:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
^
```
[R/generateArtificialData.R:34:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
	richness_values[which(richness_values < 0)] <- 0
^
```
[R/generateArtificialData.R:34:25:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L34) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) *
                       ~^~~
```
[R/generateArtificialData.R:34:34:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L34) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) *
                                 ^
```
[R/generateArtificialData.R:34:61:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L34) *style:* **Put spaces around all infix operators.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) *
                                                           ~^~
```
[R/generateArtificialData.R:34:68:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
	richness_values <- round((rnorm(n_communities, mean = 0, sd = 1) *
                                                                   ^
```
[R/generateArtificialData.R:35:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
	for(i in 1:n_communities) {
^
```
[R/generateArtificialData.R:35:37:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	                            (sd_richness * pool_richness) +
                                    ^
```
[R/generateArtificialData.R:35:50:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L35) *style:* **Put spaces around all infix operators.**
```r
	                            (sd_richness * pool_richness) +
                                                ~^~
```
[R/generateArtificialData.R:36:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L36) *style:* **Use two spaces to indent, never tabs.**
```r
	  if(mechanism_random == TRUE){
^
```
[R/generateArtificialData.R:37:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L37) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:37:47:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L37) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                             ~^~
```
[R/generateArtificialData.R:37:65:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L37) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values > pool_richness)] <- pool_richness
                                                               ~^~~
```
[R/generateArtificialData.R:38:47:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L38) *style:* **Put spaces around all infix operators.**
```r
	richness_values[which(richness_values < 0)] <- 0
                                             ~^
```
[R/generateArtificialData.R:39:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
	  } else {
^
```
[R/generateArtificialData.R:39:12:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L39) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for(i in 1:n_communities) {
           ^
```
[R/generateArtificialData.R:40:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L40) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
^
```
[R/generateArtificialData.R:40:13:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L40) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	  if(mechanism_random == TRUE){
            ^
```
[R/generateArtificialData.R:40:31:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L40) *style:* **Put spaces around all infix operators.**
```r
	  if(mechanism_random == TRUE){
                             ~^~~
```
[R/generateArtificialData.R:41:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- c()
^
```
[R/generateArtificialData.R:41:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L41) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:42:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L42) *style:* **Use two spaces to indent, never tabs.**
```r
	    for (j in 1:n_traits) {
^
```
[R/generateArtificialData.R:43:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L43) *style:* **Use two spaces to indent, never tabs.**
```r
	      for (k in 1:pool_richness) {
^
```
[R/generateArtificialData.R:44:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L44) *style:* **Use two spaces to indent, never tabs.**
```r
		      l <- (j - 1) * pool_richness + k
^~
```
[R/generateArtificialData.R:44:24:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L44) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                      ~^~~
```
[R/generateArtificialData.R:44:48:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L44) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits <- rnorm(n_traits, mean = 0, sd = 1)
                                              ~^~
```
[R/generateArtificialData.R:45:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
^~
```
[R/generateArtificialData.R:46:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	      }
^
```
[R/generateArtificialData.R:46:17:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for (j in 1:n_traits) {
                ^
```
[R/generateArtificialData.R:47:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:47:19:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L47) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	      for (k in 1:pool_richness) {
                  ^
```
[R/generateArtificialData.R:48:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
^
```
[R/generateArtificialData.R:48:25:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L48) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                       ~^~~
```
[R/generateArtificialData.R:48:28:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L48) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		      l <- (j - 1) * pool_richness + k
                           ^
```
[R/generateArtificialData.R:48:31:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L48) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                             ~^~
```
[R/generateArtificialData.R:48:36:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L48) *style:* **Put spaces around all infix operators.**
```r
		      l <- (j - 1) * pool_richness + k
                                  ~^
```
[R/generateArtificialData.R:49:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L49) *style:* **Use two spaces to indent, never tabs.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
^
```
[R/generateArtificialData.R:49:44:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L49) *style:* **Put spaces around all infix operators.**
```r
		      opt_traits_matrix[l] <- opt_traits[j]
                                          ~^~~
```
[R/generateArtificialData.R:50:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L50) *style:* **Use two spaces to indent, never tabs.**
```r
	    trait_distances_onedimen <- c()
^
```
[R/generateArtificialData.R:51:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	    for(m in 1:pool_richness){
^
```
[R/generateArtificialData.R:52:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L52) *style:* **Use two spaces to indent, never tabs.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] *
^
```
[R/generateArtificialData.R:52:31:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L52) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                             ~^~~
```
[R/generateArtificialData.R:52:65:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L52) *style:* **Put spaces around all infix operators.**
```r
	    opt_traits_matrix <- matrix(opt_traits_matrix, ncol = n_traits)
                                                               ~^~
```
[R/generateArtificialData.R:53:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L53) *style:* **Use two spaces to indent, never tabs.**
```r
	                                              traits_distances[m, ]))
^
```
[R/generateArtificialData.R:53:30:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L53) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                            ~^~~
```
[R/generateArtificialData.R:53:49:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L53) *style:* **Put spaces around all infix operators.**
```r
	    traits_distances <- abs(traits_pool - opt_traits_matrix)
                                               ~^~
```
[R/generateArtificialData.R:54:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L54) *style:* **Use two spaces to indent, never tabs.**
```r
	    }
^
```
[R/generateArtificialData.R:55:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L55) *style:* **Use two spaces to indent, never tabs.**
```r
	    inv_distances <- -(trait_distances_onedimen -
^
```
[R/generateArtificialData.R:55:16:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L55) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    for(m in 1:pool_richness){
               ^
```
[R/generateArtificialData.R:56:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L56) *style:* **Use two spaces to indent, never tabs.**
```r
	                       max(trait_distances_onedimen)) + 10 ^ -99
^
```
[R/generateArtificialData.R:56:43:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L56) *style:* **Put spaces around all infix operators.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] *
                                         ~^~~
```
[R/generateArtificialData.R:56:71:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L56) *style:* **Trailing whitespace is superfluous.**
```r
	      trait_distances_onedimen[m] <- sqrt(sum(traits_distances[m, ] *
                                                                      ^
```
[R/generateArtificialData.R:57:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L57) *style:* **Use two spaces to indent, never tabs.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
^
```
[R/generateArtificialData.R:59:27:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L59) *style:* **Put spaces around all infix operators.**
```r
	    inv_distances <- -(trait_distances_onedimen -
                         ~^~~
```
[R/generateArtificialData.R:59:31:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L59) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	    inv_distances <- -(trait_distances_onedimen -
                              ^
```
[R/generateArtificialData.R:59:51:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L59) *style:* **Trailing whitespace is superfluous.**
```r
	    inv_distances <- -(trait_distances_onedimen -
                                                  ^
```
[R/generateArtificialData.R:60:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L60) *style:* **Use two spaces to indent, never tabs.**
```r
	  comm_spec_matrix[i, c(present_species)] <- 1
^
```
[R/generateArtificialData.R:60:63:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L60) *style:* **Put spaces around all infix operators.**
```r
	                       max(trait_distances_onedimen)) + 10 ^ -99
                                                              ^~
```
[R/generateArtificialData.R:61:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L61) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:61:29:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L61) *style:* **Put spaces around all infix operators.**
```r
	    present_species <- sample(c(1:pool_richness), richness_values[i],
                           ~^~~
```
[R/generateArtificialData.R:62:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L62) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix
^
```
[R/generateArtificialData.R:63:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L63) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
^
```
[R/generateArtificialData.R:64:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L64) *style:* **Use two spaces to indent, never tabs.**
```r
	  traits_pool_df <-
^
```
[R/generateArtificialData.R:66:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L66) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:67:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L67) *style:* **Use two spaces to indent, never tabs.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
^
```
[R/generateArtificialData.R:67:11:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L67) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
          ^
```
[R/generateArtificialData.R:67:58:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L67) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
                                                        ~^~~
```
[R/generateArtificialData.R:68:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L68) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
^
```
[R/generateArtificialData.R:69:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L69) *style:* **Use two spaces to indent, never tabs.**
```r
	  comm_spec_matrix <-
^
```
[R/generateArtificialData.R:71:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L71) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:71:14:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L71) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
            ~^~~
```
[R/generateArtificialData.R:71:62:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L71) *style:* **Put spaces around all infix operators.**
```r
	row1 <- c(column1[-c(which(colSums(comm_spec_matrix) == 0))])
                                                            ~^~~
```
[R/generateArtificialData.R:72:11:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L72) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
          ^
```
[R/generateArtificialData.R:72:58:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L72) *style:* **Put spaces around all infix operators.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
                                                        ~^
```
[R/generateArtificialData.R:72:58:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L72) *style:* **Trailing whitespace is superfluous.**
```r
	if(length(which(colSums(comm_spec_matrix) == 0)) != 0) {
                                                         ^
```
[R/generateArtificialData.R:73:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L73) *style:* **Use two spaces to indent, never tabs.**
```r
	comm_spec_matrix <- as.data.frame(
^
```
[R/generateArtificialData.R:74:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L74) *style:* **Use two spaces to indent, never tabs.**
```r
	                      cbind(comm_spec_matrix, rep("", n_communities)))
^
```
[R/generateArtificialData.R:75:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L75) *style:* **Use two spaces to indent, never tabs.**
```r
	names(comm_spec_matrix) <- row1
^
```
[R/generateArtificialData.R:77:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L77) *style:* **Use two spaces to indent, never tabs.**
```r
	plots <- as.data.frame(matrix(
^
```
[R/generateArtificialData.R:77:26:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L77) *style:* **Put spaces around all infix operators.**
```r
	comm_spec_matrix <- as.data.frame(
                        ~^~~
```
[R/generateArtificialData.R:78:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L78) *style:* **Use two spaces to indent, never tabs.**
```r
	            as.numeric(as.matrix(comm_spec_matrix[,-ncol(comm_spec_matrix)])),
^
```
[R/generateArtificialData.R:79:33:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L79) *style:* **Put spaces around all infix operators.**
```r
	names(comm_spec_matrix) <- row1
                               ~^~~
```
[R/generateArtificialData.R:81:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L81) *style:* **Use two spaces to indent, never tabs.**
```r
	names(plots) <- traits_pool_df[, 1]
^
```
[R/generateArtificialData.R:81:15:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L81) *style:* **Put spaces around all infix operators.**
```r
	plots <- as.data.frame(matrix(
             ~^~~
```
[R/generateArtificialData.R:83:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L83) *style:* **Use two spaces to indent, never tabs.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
^
```
[R/generateArtificialData.R:84:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L84) *style:* **Use two spaces to indent, never tabs.**
```r
	                traits_pool_df[ ,c(2:ncol(traits_pool_df))])
^
```
[R/generateArtificialData.R:85:22:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L85) *style:* **Put spaces around all infix operators.**
```r
	names(plots) <- traits_pool_df[, 1]
                    ~^~~
```
[R/generateArtificialData.R:86:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L86) *style:* **Use two spaces to indent, never tabs.**
```r
	for (i in 2:ncol(traits_pool_df)) {
^
```
[R/generateArtificialData.R:87:53:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L87) *style:* **Put spaces around all infix operators.**
```r
	traits_pool_df[ ,c(2:ncol(traits_pool_df))] <- as.matrix(
                                                   ~^~~
```
[R/generateArtificialData.R:88:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L88) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/generateArtificialData.R:89:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L89) *style:* **Use two spaces to indent, never tabs.**
```r
	output <- list( traits = traits_pool_df, abundances = plots)
^
```
[R/generateArtificialData.R:90:13:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L90) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	for (i in 2:ncol(traits_pool_df)) {
            ^
```
[R/generateArtificialData.R:91:1:](https://github.com/thijsjanzen/STEPCAM/blob/f0710e5ed19ef189092f849b98031f2530f113e4/R/generateArtificialData.R#L91) *style:* **Use two spaces to indent, never tabs.**
```r
	return(output)
^
```


Is the `import copy` still needed in states/pkg.py


Makes sense. Basically what we could do is just log in to every user associated with the demo session and store the tokens within the user object, instead of outside of it within the 'demoSession' object.

Then we can just make sure to use the "loggedIn" user's token when making any calls which require the token being passed.


From the viewpoint of nette/di are dead.


Cool! Louise.

Just a reminder if you use allowed address pairs here, do not forget to update max_allowed_address_pair in neutron, by default it is allow 10 allowed address pairs for one port. This means you can only create less then 10 containers on one vm by default.

This limitation is for security, if there is no limitation, end user can attack compute node by adding huge number of allowed address pairs.

neutron/extensions/allowedaddresspairs.py
allowed_address_pair_opts = [
    #TODO(limao): use quota framework when it support quota for attributes
    cfg.IntOpt('max_allowed_address_pair', default=10,
               help=_("Maximum number of allowed address pairs")),
]


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


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


I can try to use your instructions panel though.


Could we change that to a *SHOULD*? It's not something critical at all.


`virtual` cannot work: `Vector` is a class that is made to point to FlatBuffer data.


Thx @tidoust LGTM


Ok I found the issue.
The code of  ndeloof is correct. In my case the issue is due the envinject plugin that with the EnvInjectPluginAction#buildEnvVars() overrides the enhanced enviroment with own (empty from scratch), also if the plugin in the job configuration is off.


TeamCity Glyssen :: Glyssen pull requests [Build *.*.250.b329dd8df459bcee9c3338cf6de5097b44bf53d5](http://build.palaso.org/viewLog.html?buildId=77012&buildTypeId=Glyssen_GlyssenPullRequests) outcome was **SUCCESS**
Summary: Tests passed: 1496, ignored: 17 Build time: 00:07:31


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1090](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13824&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Compilation error: Scala compiler (new) Build time: 00:02:43


Adding types here has huge consequences for a lot of code (in many languages) that now needs to support this or safely ignore it. We likely won't want to do this.


You will notice I've updated the build and coveralls badge. I did it across all three projects. Please ensure this new badge is consistent across all the Logistics Wizard projects. Although, what is the use of this icon? We already advertise Zenhub in the Wiki.


Yeah but they're equivalent. Just curious is all.


Will fix it a little different, no worries :-) but thx as always for your offer


@dignifiedquire excellent, thanks!


Wouldn't the simply dropping the else have been easier ?

```diff
  #if defined(HAVE_MPI) && !defined(_JOHN_MISC_NO_LOG)
  	if (mpi_p > 1)
  		fprintf(stderr, "%u@%s: ", mpi_id + 1, mpi_name);
  #endif
-  	else
 #elif OS_FORK && !defined(_JOHN_MISC_NO_LOG)
  	if (options.fork)
  		fprintf(stderr, "%u: ", options.node_min);
  #endif
```


> the client SHALL treat this incident as a protocol error.

I don't quite agree. What if this case happens?

- ICE candidate is sent via Websocket
- Handover
- 11 data messages are sent via Data Channel
- Websocket was already closed, we get a `send-error` message for the ICE candidate
- Protocol error, the entire connection dies

What about logging it as a warning? Or do we need to guarantee the delivery of all messages?


Wouuups, copy-pasted too quickly ahah


wow xD


#2520943-WindowsCalc-Engine_Integration (vidanovic) - Win64-Windows-7-VisualStudio-12: Build Failed

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


Error: unable to create file sql/updates/world/3.3.5/ 	2016_09_21_03_world.sql (Invalid argument)


??

Sent from my iPhone

> On 21 Sep 2016, at 19:36, Alexey <notifications@github.com> wrote:
>
> wow xD
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>


Sure we can just copy this line to the other repos.
it's mostly for anyone coming to the repo who doesn't already know about or have zenhub installed, so that they can get the plugin and see our board.


What's the reasoning behind this change? IMO it's a bit dirty to use `clientMutationId` (rather than `clientSubscriptionId`) to identify subscriptions.

Among other things, this is extremely difficult for userspace implementations to make use of in a reasonable way – the generation of sequential `clientMutationId`s is not something that a third-party subscription implementation can reach into and make use of.

Wouldn't it be best to instead move forward with https://github.com/facebook/relay/pull/736 to drop the remaining dependency on `clientMutationId` in subscription handling instead?


Sounds about right.

The functions is along the idea at the end of [this article](https://datascience.blog.wzb.eu/2016/07/13/accurate-part-of-speech-tagging-of-german-texts-with-nltk/) but instead of the Hunspell stemmer (which, according to the article, actually does not do stemming but a kind of lemmatization) I used the available stemmer from NLTK.

This is not an ideal solution, and one might want to add the Hunspell spellchecker anyway, but the main reason this does not perform very good for now, is the limited trainings set in the TIGER corpus.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1091](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13823&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 2 (2 new), passed: 224, ignored: 3 Build time: 00:08:57
### Failed tests
```
org.genivi.sota.device_registry.DeviceResourceSpec.PUT request with same deviceName fails with conflict.: <no details avaliable>

org.genivi.sota.device_registry.DeviceResourceSpec.PUT request with same deviceId fails with conflict.: <no details avaliable>

```


it is a pity that an empty repository


This fails for a contribution page with multiple payment processors where there is no site default (presumably due to an earlier issue).


Mhh. What if the path gets completely blocked by some broken implementation or a DoS attack?


All rights reserved, Free for public use


Then the 60 seconds probably won't help us either. The implementation can add countermeasures to drop connections in such a case. Or regular network based DDOS protection devices can be used.


Depends on what they are used for. This code is for simplifying the
polygons so that offsets will be easier to compute.

You could argue these should depend on the nozzle size, but then the
fraction of the nozzle size is still a magic number.

These values have been tweaked for fast slicing while retaining accurate
brims.

Do you think these should depend the nozzle size?

Op 21 sep. 2016 15:44 schreef "Aldo Hoeben" <notifications@github.com>:

> As someone diving fresh into CuraEngine code, do we need to worry about
> these "magic numbers"?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/Ultimaker/CuraEngine/commit/0b4eda9592d2025b8461524eb4562013160eb82b#commitcomment-19113845>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AIe9EcEJxqfYKSkPpdw5OGzMRJALGUExks5qsTSUgaJpZM4KC0Og>
> .
>


Ah, I think I just noticed a silly error,
`true_data = np.append(true_data, np.repeat(true_data[:,-1].reshape((6,1)), length_difference, axis=1), axis=1)`
Where I wrote 6, that is the number of chemical species that I had in my test case.
It should probably be `true_data.shape[0]`


You


Stop messing with my text files!


Have you guys hears of pep8? 💃


This will obfuscate the name.  `decoded_samples`?


129956421-Scalable-Sizing-HTRad-Heat-Crash (mjwitte) - x86_64-MacOS-10.9-clang: OK (2334 of 2334 tests passed, 0 test warnings)

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


I have reverted to the original fw. It reports hardware version R02.


> why you change the version definition

Because
* len(`VERSION 1.0.2`)=13
* len(`set(LIB_MAJOR_VERSION "1")...ION}.${LIB_PATCH_VERSION}")`=169

Also standard variables describing project version can be used by [write_basic_package_version_file](https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html), if you use nonstandard `LIB_*_VERSION` you have to set them manually. As a rule of thumb always use standard CMake stuff.

>  cmake-config files for the use in hunter

Previous version is simply broken. If config will be written with `INCLUDE_INSTALL_DIR` it became unrelocatable since `INCLUDE_INSTALL_DIR` is a full path. Again, there are standard way to create config automatically - use it. Also I don't think it will work with DESTDIR and CPack, the presence of CMAKE_INSTALL_PREFIX in CMakeLists.txt usually is an indicator of badly designed code. See details: http://cgold.readthedocs.io/en/latest/tutorials/install/install-prefix.html#summary


Without the rewrite on Ubuntu 12 and Clang 3.4:

```
clang++ -DNDEBUG -g2 -O2 -march=native -pipe -c blake2.cpp
In file included from blake2.cpp:11:
In file included from ./blake2.h:23:
./seckey.h:218:17: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
                if (keylength < (size_t)MIN_KEYLENGTH)
                    ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
./seckey.h:304:65: note: in instantiation of member function
      'CryptoPP::VariableKeyLength<64, 0, 64, 1, 4, 0>::StaticGetValidKeyLength'
      requested here
        size_t GetValidKeyLength(size_t keylength) const {return INFO::StaticGet...
                                                                       ^
./blake2.h:259:71: note: in instantiation of member function
      'CryptoPP::SimpleKeyingInterfaceImpl<CryptoPP::MessageAuthenticationCode,
      CryptoPP::BLAKE2_Info<true> >::GetValidKeyLength' requested here
  ...treeMode=false, unsigned int digestSize = DIGESTSIZE) : ThisBase(treeMod...
                                                             ^
In file included from blake2.cpp:11:
In file included from ./blake2.h:23:
./seckey.h:218:17: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
                if (keylength < (size_t)MIN_KEYLENGTH)
                    ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
./seckey.h:304:65: note: in instantiation of member function
      'CryptoPP::VariableKeyLength<32, 0, 32, 1, 4, 0>::StaticGetValidKeyLength'
      requested here
        size_t GetValidKeyLength(size_t keylength) const {return INFO::StaticGet...
                                                                       ^
./blake2.h:295:71: note: in instantiation of member function
      'CryptoPP::SimpleKeyingInterfaceImpl<CryptoPP::MessageAuthenticationCode,
      CryptoPP::BLAKE2_Info<false> >::GetValidKeyLength' requested here
  ...treeMode=false, unsigned int digestSize = DIGESTSIZE) : ThisBase(treeMod...
                                                             ^
```


TeamCity Glyssen :: Glyssen pull requests [Build *.*.251.9eeea487ecbd7e136ec45a38439737fd20d729a4](http://build.palaso.org/viewLog.html?buildId=77014&buildTypeId=Glyssen_GlyssenPullRequests) outcome was **SUCCESS**
Summary: Tests passed: 1496, ignored: 17 Build time: 00:08:11


program for word-separator

import java.util.*;

public class Main

{

	public static void main(String[] args)

	{

		System.out.println("Hello World!");

		Scanner sc = new Scanner(System.in);

		String s ;

		System.out.println("enter a name : ");

		StringBuilder sb = new StringBuilder(sc.nextLine());

		System.out.println("enter a saperator : ");

		s=sc.nextLine();

		while(true)

		{

			if(sb.indexOf(s)!=-1)

				sb.delete(sb.indexOf(s) , sb.indexOf(s) + s.length());

			else

				break;

		}

		System.out.println(sb);

		}

}


Предполагам Toolchain-а ви е все още същия? GCC, G++, CMake, Make, python, ruby, java? Нещо още специално да ви трябва?


Issue


@miclaus what's the problem?
Personally I think it's not a big deal for our use case. We only need to components written in React not a whole app...


Could just be:
var ids = this.of$cls.ids || [ 'id' ];


LGTM


ok


Адрес не тут нужно менять, этот для тестирования, смотри файл конфига в папке server


Looks like that is a mistake.


Harjinder Gill


Layout править в файле App.js в задание есть упоминание на счет этого


Heap sort using max heap & heapify


Yup that did the trick @pgoodman thanks


> How do I revertPlayerChatEvent?

What do you mean by that?

Well, for those rare occasions when event may have more results, you can
add this enum individually, otherwise you can make the "Cancellable" event
class with predefined "Result" enum and some utility methods.

21 сент. 2016 г. 18:54 пользователь "Tux" <notifications@github.com>
написал:

> Let's say that I applied this generic enumeration everywhere. How do I
> revert PlayerChatEvent?
>
> Perhaps we have events where more than two results are possible. In fact,
> I was considering adding a third result status but decided against it
> because of the fact that it was a fairly complex usage.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/minecrafter/voxelwind/commit/fe8d1cebd2aa3a61216b81524f39d76aea5ac99d#commitcomment-19115054>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGc0Wthc46iAcsaNEEzJhXwQ3PajIcXcks5qsUUGgaJpZM4KCwZ->
> .
>


GraphQL subscription payloads are handled by the same logic that is used to process mutation payloads, and right now, without this `clientMutationId`, it would throw. I'm new to this codebase, and so I wasn't aware of #736, but looking at the code, that would solve the problem too.

cc @josephsavona. Should this particular change be reverted as part of that PR?


Sorry, but I'd need more guidance on that structured type. (I understand
"structured type", but I don't know where to begin in this case.) As a
stopgap compromise, I added a remember table to the type. Perhaps a cached
remember table would be better. Also, I see now that LO(anything) was just
plain wrong, and I changed it to specfunc(LO).

On Wed, Sep 21, 2016 at 8:23 AM, Jacques Carette <notifications@github.com>
wrote:

> That's an amusing way to do it. But let's not do that -- please build a
> proper 'structured type', which does not do any actual computation.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/hakaru-dev/hakaru/commit/a9e11b68b4dee10cb9e1a519c78a89d919c3b9db#commitcomment-19112718>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ASYo9YTDw1BdSSAJsbtqJUr64-njtJ3hks5qsSG-gaJpZM4KCvGb>
> .
>


Since line 3 `require`s dblib, it would be better to call [dblib.assertErrorCode()](https://github.com/xtuple/xtuple/blob/4_11_x/test/database/dblib.js#L16) here. Then if we change the format of the messages in the future, the test will be less sensitive to the change and it'll be easier to find places that need to change.


hjgjhgj


welcom


Thanks! Was built and working fine now!


In implementing Relay subscriptions in userspace, the only place where this has come up is in needing `clientMutationId` (and some `__typename` bits) for `RANGE_ADD` configs.

I haven't needed `clientMutationId` elsewhere and currently do not use it.


Re: refresh_db
SaltStacks preference is 'filename' instead of "filename" i.e use single instead of double?  Might be worth adding to the style code.

L487 Collecting all the failed to deletes and raising it at the end is a good change/pickup, matches the rest of the behavior of the code I added.   I am expecting not being able to delete  is a file in use or a permission denied or does not exist.


You're correct. Probably, I was still thinking about your proposed changes above when I wrote this.


@prasoonsrivas hey, the solution is in #28. Check the last comments.


Stuck here as the rootView.addView(wordView); line gives a nullpointerexception error and cant seems to resolve it.
What can be done to remove this and move on?


We could remove "wikimedia"...


I mean it built with the 2 commits you cherry-picked last time I tried. This was before devcon.


The check that the 1-bits are contiguous and at the correct position is done in IPNetwork::create()


sure i will look into it for sure


I cannot reproduce that. Additionally, what else does it break apart from not showing BetterTTV settings?


@abisz Like I said above. I didn't manage to install a JSX transformer and ES6 transpiler and still get the "glue" going w/ Angular.

With the current implementation I can expect to see some nasty code, which will most probably have to be rewritten somewhen in the future.

Since for the current version we don't have enough time, we will have to postpone it until the next version, which could then include the new editor and drag&drop functionality.


小さな課題：appendではなく、appendToを使って書くように変更できますか？


121784677-OAControllerFixes4633 (mjwitte) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1769 of 1769 tests passed, 0 test warnings)

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


vvvvv


121784677-OAControllerFixes4633 (mjwitte) - x86_64-Linux-Ubuntu-14.04-custom_check: OK (0 of 0 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg)


I think when the hub is in azure the request should wait no longer than the azure idle connection timeout which by default is 4 minutes. From what I've observed if any request is open and no data is sent for 4 minutes the request will be terminated on the server side with no error raised on the client. Additionally it seems that rolling updates through a cloud service also trigger this server side only drop of requests. My experience is with azure cloud services so other hosting options in azure might have different behavior.


Wonderfully creepy pic! 👍


Yes, this just changes the initial default value to 3G. You can still manually change it to LTE.


TeamCity Glyssen :: Glyssen pull requests [Build *.*.252.5211ac39d40f5b926ff1cc0e7fda69784fe0735b](http://build.palaso.org/viewLog.html?buildId=77015&buildTypeId=Glyssen_GlyssenPullRequests) outcome was **SUCCESS**
Summary: Tests passed: 1496, ignored: 17 Build time: 00:07:11


This is based on the fact we dynamically do `endpoint.baseurl = endpoint.protocol+"://"+endpoint.id+"/";`
So as there's no id yet, we start with http:/// and update on fly as the user types in an ID.


Olá Igor,

Continua dando segmentation fault aqui tanto no mac como no ubuntu =/


Re: _get_repo_details or _get_repo_src_dest_details
I was expecting to see this as a class, when I started to read the code above it. I will have a look at python collections

Good idea to cache the results, given how often its called.

I had it like this at one stage
```
stat_result = os.stat(winrepo_file)
mtime = stat_result.st_mtime
winrepo_age = time.time() - mtime
```
then I shorten it to
`winrepo_age = time.time()-os.stat(winrepo_file).st_mtime`
Does making it multiple lines help with raise error pointing out the issue.

Good point, If you can not state the winrepo.p  for some reason other than not existing, more than likely salt-minion will not be able to update it


Que no compila con C++11


121784677-OAControllerFixes4633 (mjwitte) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: Tests Failed (1802 of 2375 tests passed, 0 test warnings)

 * 573 tests had: AUD diffs.
 * 11 tests had: RDD diffs.
 * 5 tests had: EIO diffs.
 * 3 tests had: Table small diffs.

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


ASFAIK in every platform first parameter in argv will be program name itself, so it is pointless to check program name itself to flags.


@Ravenstine I really like how this is coming together - nice work!

I do think the grid math is the biggest remaining blocker to considering this work ready for a pull request. Let me look over the code a bit more and then we can get together this afternoon and talk through it.


Nope, I replaced the old type storing mechanism with the new c++11 method.


[R/convert_merge_table_to_phyloseq_otu_table.R:17:1:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/R/convert_merge_table_to_phyloseq_otu_table.R#L17) *style:* **Variable and function names should not be longer than 30 characters.**
```r
convert_merge_table_to_phyloseq_otu_table <- function(filepath, TAXON){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/convert_merge_table_to_phyloseq_otu_table.R:25:40:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/R/convert_merge_table_to_phyloseq_otu_table.R#L25) *warning:* **no visible binding for global variable ‘LEVEL’**
```r
  taxa_level_table <- base::subset(df, LEVEL == TAXON, select=-c(LEVEL))
                                       ^~~~~
```
[R/convert_merge_table_to_phyloseq_otu_table.R:25:40:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/R/convert_merge_table_to_phyloseq_otu_table.R#L25) *warning:* **no visible binding for global variable ‘LEVEL’**
```r
  taxa_level_table <- base::subset(df, LEVEL == TAXON, select=-c(LEVEL))
                                       ^~~~~
```
[R/convert_merge_table_to_phyloseq_otu_table.R:25:62:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/R/convert_merge_table_to_phyloseq_otu_table.R#L25) *style:* **Put spaces around all infix operators.**
```r
  taxa_level_table <- base::subset(df, LEVEL == TAXON, select=-c(LEVEL))
                                                            ~^~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:4:8:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L4) *style:* **Variable and function names should not be longer than 30 characters.**
```r
dat <- convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "class")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:21:22:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L21) *style:* **Commas should always have a space after.**
```r
expect_that(sum(dat[,1]), equals(1.0))
                     ^
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:26:2:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L26) *style:* **Commented code should be removed.**
```r
#expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/nonexistantfile.txt", "class"), throws_error())
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:27:1:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L27) *style:* **lines should not be more than 100 characters.**
```r
expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "non_existent_taxa_level"), throws_error())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:27:13:](https://github.com/seninp-bioinfo/MetaComp/blob/f645e8530369fd416628aaec5fce1705edc74a02/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L27) *style:* **Variable and function names should not be longer than 30 characters.**
```r
expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "non_existent_taxa_level"), throws_error())
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


In the case where you depend on some specific behavior for the items, then yes. Binary tree is a good example where you need a `Less` method.

Keep in mind that even in a statically typed language with generics, you still need to declare what "behavior" that your input requires. The main thing is that those other languages typically have built-in methods. For example, the '<' operator would be syntactic sugar for just calling the `Less` method. If Go ends up supporting generics, I'm fairly certain that every primitive type in Go will have built-in methods.


This was supposed to say "remove heading for standard layout" so it was separate from change in style.css


Use `let` 😉


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


Damn son :b


styled-divs is pretty generic sounding. Do something like "nav-rectangle-shapes"


Is creating a new `PendingResources` model the best way to go about this?  I very well may be but the code is 95% the same as Resources.. makes me think there may be a better way.

Thoughts, @dogi, @umarWaris?


Thanks


Cara, essa daí eu testei. O negócio é que se vc aumenta o tamanho do
kernel, vc precisa aumentar o padding. O que faz todo sentido, já que as
camadas convolucionais não promovem redução de dimensionalidade (pelo menos
não nas arquiteturas da disciplina). Experimenta colocar um kernel 7x7 com
padding 3, ou um kernel 9x9 com padding 4 (e por aí vai...).

On Wed, Sep 21, 2016 at 2:14 PM, raphaottoni <notifications@github.com>
wrote:

> Olá Igor,
>
> Continua dando segmentation fault aqui tanto no mac como no ubuntu =/
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/camilalaranjeira/RPV-VGG19/commit/97f83120d06f1a8c20b30564c1ba2ccdaa0156b1#commitcomment-19117200>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABCLRF8d5z_BSGk0mxE0QQUaqWQC6XyCks5qsWX5gaJpZM4KDDrH>
> .
>


if not tag?


Also, just noticed some of the standard template readme.md s we esacpe using the span tag e.g `# TimerTrigger - C<span>#</span>`
e.g.  [readme.md](https://raw.githubusercontent.com/Azure/azure-webjobs-sdk-templates/dev/Templates/TimerTrigger-CSharp/readme.md)


i initially created a master page to understand how to code.


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


Re:  genrepo
doc string failhard  Missing default value setting, still be worth mentioning dict contains info about the errors.

Need to run it to look at the logging adjustment. Cannot notice anything obvious.


What is the idea behind this code?

```
if(self._credentials[credentials.username] == credentials.password):
```

Are we really checking the user password here?


[R/convert_merge_table_to_phyloseq_otu_table.R:17:1:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/R/convert_merge_table_to_phyloseq_otu_table.R#L17) *style:* **Variable and function names should not be longer than 30 characters.**
```r
convert_merge_table_to_phyloseq_otu_table <- function(filepath, TAXON){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:4:8:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L4) *style:* **Variable and function names should not be longer than 30 characters.**
```r
dat <- convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "class")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:21:22:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L21) *style:* **Commas should always have a space after.**
```r
expect_that(sum(dat[,1]), equals(1.0))
                     ^
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:26:2:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L26) *style:* **Commented code should be removed.**
```r
#expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/nonexistantfile.txt", "class"), throws_error())
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:27:1:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L27) *style:* **lines should not be more than 100 characters.**
```r
expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "non_existent_taxa_level"), throws_error())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:27:13:](https://github.com/seninp-bioinfo/MetaComp/blob/6d8fc9936240abcdc9949bcb74359518ebd101c9/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L27) *style:* **Variable and function names should not be longer than 30 characters.**
```r
expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "non_existent_taxa_level"), throws_error())
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


So maybe we can just do that escaping rather than say we can't have any trailing #?


wow only 2 char fix 👍


After take a closer look, it seems like the old me is doing something tricky here. Probably need a refactor on this function. (Or remove it completely)


[R/convert_merge_table_to_phyloseq_otu_table.R:17:1:](https://github.com/seninp-bioinfo/MetaComp/blob/db6e75b2c2ab6b2c9a5f52411bea48e9c97c13a6/R/convert_merge_table_to_phyloseq_otu_table.R#L17) *style:* **Variable and function names should not be longer than 30 characters.**
```r
convert_merge_table_to_phyloseq_otu_table <- function(filepath, TAXON){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:4:8:](https://github.com/seninp-bioinfo/MetaComp/blob/db6e75b2c2ab6b2c9a5f52411bea48e9c97c13a6/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L4) *style:* **Variable and function names should not be longer than 30 characters.**
```r
dat <- convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv", "class")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:21:22:](https://github.com/seninp-bioinfo/MetaComp/blob/db6e75b2c2ab6b2c9a5f52411bea48e9c97c13a6/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L21) *style:* **Commas should always have a space after.**
```r
expect_that(sum(dat[,1]), equals(1.0))
                     ^
```
[tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R:26:13:](https://github.com/seninp-bioinfo/MetaComp/blob/db6e75b2c2ab6b2c9a5f52411bea48e9c97c13a6/tests/testthat/test_convert_merge_table_to_phyloseq_otu_table.R#L26) *style:* **Variable and function names should not be longer than 30 characters.**
```r
expect_that(convert_merge_table_to_phyloseq_otu_table("../test_data/merged_table.tsv",
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


virtual was a way to try and reuse much of the Vector/String code for IVector/IString. I can try to figure out another way of code reuse.


I can't think of any other way of implementing a string/vector that doesn't store length right next to the data. How hard is it to get other languages to safely ignore it?


Yes, in a crude way. The idea is that we use the add_user method to explicitly add new users to the test and only those users are authenticated


I don't like how the Windows GitHub client added this a default commit including those random emoticons...


ok


Oh, no that doesn't seem right.  I did some initial tests but must
have missed that.  I'll investigate further.

On 9/21/16, Daniel Carcich <notifications@github.com> wrote:
> After running my unit tests, I noticed that this change modified the default
> behavior for the _required_ schema keyword. For example:
>
> Schema:
> `{ "type": "object", "properties": { "test": { "type": "integer" } },
> "required": [ "test" ] }`
>
> Input:
> `{ "TEST": 0 }`
>
> The validation used to return false (because the property name was incorrect
> and failed the required check), but now returns true. Was this intended?
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/netmail-open/wjelement/commit/d5898528ca89978f2996248dbb04ec8c4cc55dc3#commitcomment-19112789


Just tested using the span tag, did not work for me, i could see <span>#<span> in the portal


129956421-Scalable-Sizing-HTRad-Heat-Crash (mjwitte) - x86_64-MacOS-10.9-clang: OK (2334 of 2334 tests passed, 0 test warnings)

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


"relevant"


Опять много стрингбуфферов создаешь. Юзай один и обновляй его на каждой итерации.


Lgtm
![gg](https://cloud.githubusercontent.com/assets/4271679/14215651/1ec642f0-f7f9-11e5-8a8b-1133354c6305.gif)


"ore" => "or"


Example subposts will be deleted later.


Google.maps is not being found when server starts up.