[R/Condition.R:23:16:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L23) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  k  <-  lgamma( (theta_x / 2) + (theta_y / 2)) -
               ^
```
[R/Condition.R:23:50:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  k  <-  lgamma( (theta_x / 2) + (theta_y / 2)) -
                                                 ^
```
[R/Condition.R:25:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  l  <- ((theta_x / 2) - 1) * log(nx) + ( (theta_y / 2) - 1) * log(ny)
         ^
```
[R/Condition.R:25:41:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L25) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  l  <- ((theta_x / 2) - 1) * log(nx) + ( (theta_y / 2) - 1) * log(ny)
                                        ^
```
[R/Condition.R:74:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L74) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/Condition.R:115:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L115) *style:* **Variable and function names should be all lowercase.**
```r
logLikelihood.Guilds.Conditional <- function(parameters, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:115:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L115) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
logLikelihood.Guilds.Conditional <- function(parameters, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:115:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L115) *style:* **Variable and function names should not be longer than 30 characters.**
```r
logLikelihood.Guilds.Conditional <- function(parameters, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:121:3:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L121) *warning:* **local variable ‘LL’ assigned but may not be used**
```r
  LL <- -Inf
  ^~
```
[R/Condition.R:139:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L139) *style:* **Variable and function names should be all lowercase.**
```r
  ll <- logLikelihood.Guilds(parameters, model, sadx, sady, verbose)
        ^~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:139:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L139) *warning:* **no visible global function definition for ‘logLikelihood.Guilds’**
```r
  ll <- logLikelihood.Guilds(parameters, model, sadx, sady, verbose)
        ^~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:142:23:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L142) *warning:* **no visible global function definition for ‘calc_conditional’**
```r
  conditional_part <- calc_conditional(parameters, model, Nx, Ny)
                      ^~~~~~~~~~~~~~~~
```
[R/Condition.R:148:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L148) *style:* **Variable and function names should be all lowercase.**
```r
conditional.LogLik <- function(v, model, J, Sx, Sy, Nx, Ny, kda_x, kda_y,
^~~~~~~~~~~~~~~~~~
```
[R/Condition.R:168:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L168) *style:* **Variable and function names should be all lowercase.**
```r
  ll <- logLikguilds(theta_x, theta_y, alpha_x, alpha_y, J,
        ^~~~~~~~~~~~
```
[R/Condition.R:172:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L172) *warning:* **no visible global function definition for ‘calc_conditional’**
```r
  cond_ll <- calc_conditional(v, model, Nx, Ny)
             ^~~~~~~~~~~~~~~~
```
[R/Condition.R:177:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L177) *style:* **Variable and function names should be all lowercase.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:177:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L177) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:177:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L177) *style:* **Variable and function names should not be longer than 30 characters.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:181:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L181) *style:* **Variable and function names should be all lowercase.**
```r
  kda_x <- calcKDA(sadx)
           ^~~~~~~
```
[R/Condition.R:181:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L181) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda_x <- calcKDA(sadx)
           ^~~~~~~
```
[R/Condition.R:182:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L182) *style:* **Variable and function names should be all lowercase.**
```r
  kda_y <- calcKDA(sady)
           ^~~~~~~
```
[R/Condition.R:182:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L182) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda_y <- calcKDA(sady)
           ^~~~~~~
```
[R/Condition.R:203:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L203) *style:* **Variable and function names should be all lowercase.**
```r
    out <- -1 * conditional.LogLik(x, model, J, Sx, Sy, Nx, Ny,
                ^~~~~~~~~~~~~~~~~~
```
[R/Condition.R:211:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L211) *warning:* **no visible global function definition for ‘simplex’, Did you mean 'complex'?**
```r
    x <- simplex(init_vals, g, verbose)
         ^~~~~~~
```
[R/Condition.R:214:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/Condition.R#L214) *warning:* **no visible global function definition for ‘subplex’**
```r
    x <- subplex(init_vals, g)
         ^~~~~~~
```
[R/drawLocal.R:2:15:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L2) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  k1 <- unique( round(10 ^ seq(0, log10(j - 1) , len = 1000)))
              ^
```
[R/drawLocal.R:2:48:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L2) *style:* **Commas should never have a space before.**
```r
  k1 <- unique( round(10 ^ seq(0, log10(j - 1) , len = 1000)))
                                              ~^
```
[R/drawLocal.R:3:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L3) *style:* **Use two spaces to indent, never tabs.**
```r
	idx0 <- which( x == 0 )
^
```
[R/drawLocal.R:4:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L4) *style:* **Use two spaces to indent, never tabs.**
```r
	if(length(idx0) > 0) {
^
```
[R/drawLocal.R:5:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L5) *style:* **Use two spaces to indent, never tabs.**
```r
		aux <- log(th) + lgamma(I) - lgamma(I+j) +
^~
```
[R/drawLocal.R:6:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
		k <- k1[cnt]
^~
```
[R/drawLocal.R:6:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L6) *style:* **Use two spaces to indent, never tabs.**
```r
			  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
^~~
```
[R/drawLocal.R:7:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
		f <- function(x) {
^~
```
[R/drawLocal.R:7:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
			  lgamma(k) +   lgamma(I+j-k) - lgamma(I) + log(I)
^~~
```
[R/drawLocal.R:7:19:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L7) *style:* **Put spaces around all infix operators.**
```r
		f <- function(x) {
                 ~^~~
```
[R/drawLocal.R:8:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
			return(-1 * pm_sadaux(x, I, th, j, k))
^~~
```
[R/drawLocal.R:8:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
		y[idx0] = aux
^~
```
[R/drawLocal.R:8:16:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L8) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
			return(-1 * pm_sadaux(x, I, th, j, k))
               ^~~~~~~~~
```
[R/drawLocal.R:8:35:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L8) *style:* **Put spaces around all infix operators.**
```r
			return(-1 * pm_sadaux(x, I, th, j, k))
                                 ~^~
```
[R/drawLocal.R:9:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:9:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/drawLocal.R:10:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
		xmax <- optimize(f, c(0,1))$minimum
^~
```
[R/drawLocal.R:10:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
	idx1 = which(x == 1)
^
```
[R/drawLocal.R:10:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L10) *style:* **Put spaces around all infix operators.**
```r
		xmax <- optimize(f, c(0,1))$minimum
                    ~^~~
```
[R/drawLocal.R:11:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
		ymax <- pm_sadaux(xmax, I, th, j, k)
^~
```
[R/drawLocal.R:11:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
	if (length(idx1) > 0) {
^
```
[R/drawLocal.R:11:11:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L11) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
		ymax <- pm_sadaux(xmax, I, th, j, k)
          ^~~~~~~~~
```
[R/drawLocal.R:11:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L11) *style:* **Put spaces around all infix operators.**
```r
		ymax <- pm_sadaux(xmax, I, th, j, k)
                    ~^~~
```
[R/drawLocal.R:12:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
		y0 <- pm_sadaux(0, I, th, j, k)
^~
```
[R/drawLocal.R:12:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
^~
```
[R/drawLocal.R:12:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L12) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
		y0 <- pm_sadaux(0, I, th, j, k)
        ^~~~~~~~~
```
[R/drawLocal.R:12:20:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L12) *style:* **Put spaces around all infix operators.**
```r
		y0 <- pm_sadaux(0, I, th, j, k)
                  ~^~~
```
[R/drawLocal.R:13:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
		if (ymax < (y0 + 1)) {
^~
```
[R/drawLocal.R:13:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
			  y[idx1] <- Inf
^~~
```
[R/drawLocal.R:14:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
			xmin <- 0
^~~
```
[R/drawLocal.R:14:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
		  } else if ((k == j) && (th == 1)) {
^~
```
[R/drawLocal.R:15:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
		} else {
^~
```
[R/drawLocal.R:15:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
		      y[idx1] <- 0
^~
```
[R/drawLocal.R:16:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
			f <- function(x) {
^~~
```
[R/drawLocal.R:16:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
		  } else if ((k == j) && (th < 1)) {
^~
```
[R/drawLocal.R:17:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
				return(pm_sadaux(x, I, th, j, k) - ymax + 1)
^~~~
```
[R/drawLocal.R:17:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
			  y[idx1] <- Inf
^~~
```
[R/drawLocal.R:17:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L17) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
				return(pm_sadaux(x, I, th, j, k) - ymax + 1)
           ^~~~~~~~~
```
[R/drawLocal.R:18:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
			}
^~~
```
[R/drawLocal.R:18:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
		  }
^~
```
[R/drawLocal.R:19:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
			xmin <- uniroot(f, c(1e-10, xmax))$root
^~~
```
[R/drawLocal.R:19:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L19) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/drawLocal.R:19:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L19) *style:* **Put spaces around all infix operators.**
```r
			xmin <- uniroot(f, c(1e-10, xmax))$root
                            ~^~~
```
[R/drawLocal.R:20:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:20:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L20) *style:* **Use two spaces to indent, never tabs.**
```r
	idxp <- which((x > 0) & (x < 1))
^
```
[R/drawLocal.R:21:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
		x1 <- (xmax + 1) / 2
^~
```
[R/drawLocal.R:21:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L21) *style:* **Use two spaces to indent, never tabs.**
```r
	xx <- x[idxp]
^
```
[R/drawLocal.R:21:20:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L21) *style:* **Put spaces around all infix operators.**
```r
		x1 <- (xmax + 1) / 2
                   ^~~
```
[R/drawLocal.R:21:23:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		x1 <- (xmax + 1) / 2
                      ^
```
[R/drawLocal.R:22:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L22) *style:* **Use two spaces to indent, never tabs.**
```r
		y1 <- pm_sadaux(x1, I, th, j, k)
^~
```
[R/drawLocal.R:22:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L22) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
		y1 <- pm_sadaux(x1, I, th, j, k)
        ^~~~~~~~~
```
[R/drawLocal.R:22:20:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L22) *style:* **Put spaces around all infix operators.**
```r
		y1 <- pm_sadaux(x1, I, th, j, k)
                  ~^
```
[R/drawLocal.R:23:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		while(ymax < (y1 + 1)) {
^~
```
[R/drawLocal.R:23:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L23) *style:* **Use two spaces to indent, never tabs.**
```r
		  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
^~
```
[R/drawLocal.R:24:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r
			x1 <- (x1 + 1) / 2;
^~~
```
[R/drawLocal.R:24:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L24) *style:* **Use two spaces to indent, never tabs.**
```r
		  lgamma(I * xx + k) - lgamma(I * xx) +
^~
```
[R/drawLocal.R:25:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
			y1 <- pm_sadaux(x1, I, th, j, k)
^~~
```
[R/drawLocal.R:25:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L25) *style:* **Use two spaces to indent, never tabs.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
^~
```
[R/drawLocal.R:25:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L25) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
			y1 <- pm_sadaux(x1, I, th, j, k)
         ^~~~~~~~~
```
[R/drawLocal.R:25:28:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L25) *style:* **Put spaces around all infix operators.**
```r
			y1 <- pm_sadaux(x1, I, th, j, k)
                          ~^
```
[R/drawLocal.R:26:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L26) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:26:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L26) *style:* **Use two spaces to indent, never tabs.**
```r
		  (th-1) * log(1 - xx) - log(xx)
^~
```
[R/drawLocal.R:27:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
		f <- function(x) {
^~
```
[R/drawLocal.R:27:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
	y[idxp] <- aux
^
```
[R/drawLocal.R:27:19:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L27) *style:* **Put spaces around all infix operators.**
```r
		f <- function(x) {
                 ~^~~
```
[R/drawLocal.R:28:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L28) *style:* **Use two spaces to indent, never tabs.**
```r
				return(pm_sadaux(x, I, th, j, k)- ymax + 1)
^~~~
```
[R/drawLocal.R:28:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L28) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
				return(pm_sadaux(x, I, th, j, k)- ymax + 1)
           ^~~~~~~~~
```
[R/drawLocal.R:29:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:30:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r

^~
```
[R/drawLocal.R:30:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L30) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/drawLocal.R:31:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
		xplu <- uniroot(f, c(xmax, x1), tol=eps())$root
^~
```
[R/drawLocal.R:31:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L31) *style:* **Put spaces around all infix operators.**
```r
		xplu <- uniroot(f, c(xmax, x1), tol=eps())$root
                     ^~~
```
[R/drawLocal.R:31:39:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L31) *warning:* **no visible global function definition for ‘eps’, Did you mean 'esk'?**
```r
		xplu <- uniroot(f, c(xmax, x1), tol=eps())$root
                                      ^~~
```
[R/drawLocal.R:32:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L32) *style:* **Use two spaces to indent, never tabs.**
```r
		xlft <- xmax - 10 * (xmax - xmin)
^~
```
[R/drawLocal.R:32:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L32) *style:* **Put spaces around all infix operators.**
```r
		xlft <- xmax - 10 * (xmax - xmin)
                    ~^~~
```
[R/drawLocal.R:32:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L32) *style:* **Put spaces around all infix operators.**
```r
		xlft <- xmax - 10 * (xmax - xmin)
                            ~^~
```
[R/drawLocal.R:32:35:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L32) *style:* **Put spaces around all infix operators.**
```r
		xlft <- xmax - 10 * (xmax - xmin)
                                 ~^
```
[R/drawLocal.R:32:36:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
		xlft <- xmax - 10 * (xmax - xmin)
                                   ^
```
[R/drawLocal.R:33:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L33) *style:* **Use two spaces to indent, never tabs.**
```r
		xlft <- max(0, xlft)
^~
```
[R/drawLocal.R:33:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L33) *style:* **Put spaces around all infix operators.**
```r
		xlft <- max(0, xlft)
                    ~^~~
```
[R/drawLocal.R:34:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L34) *style:* **Use two spaces to indent, never tabs.**
```r
		xrgt <- xmax + 10 * (xplu - xmax)
^~
```
[R/drawLocal.R:34:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L34) *style:* **Put spaces around all infix operators.**
```r
		xrgt <- xmax + 10 * (xplu - xmax)
                    ~^~~
```
[R/drawLocal.R:34:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L34) *style:* **Put spaces around all infix operators.**
```r
		xrgt <- xmax + 10 * (xplu - xmax)
                            ~^~
```
[R/drawLocal.R:34:35:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L34) *style:* **Put spaces around all infix operators.**
```r
		xrgt <- xmax + 10 * (xplu - xmax)
                                 ~^~
```
[R/drawLocal.R:35:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L35) *style:* **Use two spaces to indent, never tabs.**
```r
		xrgt <- min(1, xrgt)
^~
```
[R/drawLocal.R:35:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L35) *style:* **Put spaces around all infix operators.**
```r
		xrgt <- min(1, xrgt)
                    ~^~~
```
[R/drawLocal.R:37:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L37) *style:* **Use two spaces to indent, never tabs.**
```r
		f <- function(x) {
^~
```
[R/drawLocal.R:37:19:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L37) *style:* **Put spaces around all infix operators.**
```r
		f <- function(x) {
                 ~^~~
```
[R/drawLocal.R:38:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L38) *style:* **Use two spaces to indent, never tabs.**
```r
		    return( exp( pm_sadaux(x, I, th, j, k)))
^~
```
[R/drawLocal.R:38:20:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L38) *warning:* **no visible global function definition for ‘pm_sadaux’**
```r
		    return( exp( pm_sadaux(x, I, th, j, k)))
                   ^~~~~~~~~
```
[R/drawLocal.R:39:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:41:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L41) *style:* **Use two spaces to indent, never tabs.**
```r
		res[cnt] = integrate(f, xlft, xrgt, abs.tol=1e-9)$val  #checked!!!!!1
^~
```
[R/drawLocal.R:41:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L41) *style:* **Use <-, not =, for assignment.**
```r
		res[cnt] = integrate(f, xlft, xrgt, abs.tol=1e-9)$val  #checked!!!!!1
                         ^
```
[R/drawLocal.R:41:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L41) *style:* **Put spaces around all infix operators.**
```r
		res[cnt] = integrate(f, xlft, xrgt, abs.tol=1e-9)$val  #checked!!!!!1
                        ~^~
```
[R/drawLocal.R:41:60:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L41) *style:* **Put spaces around all infix operators.**
```r
		res[cnt] = integrate(f, xlft, xrgt, abs.tol=1e-9)$val  #checked!!!!!1
                                                          ~^~
```
[R/drawLocal.R:44:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L44) *style:* **Use two spaces to indent, never tabs.**
```r
	#the original algorithm had 1:j, but at the interp1 algorithm
^
```
[R/drawLocal.R:44:63:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L44) *style:* **Trailing whitespace is superfluous.**
```r
	#the original algorithm had 1:j, but at the interp1 algorithm
                                                              ^
```
[R/drawLocal.R:45:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L45) *style:* **Use two spaces to indent, never tabs.**
```r
	# does not evaluate at the ends.
^
```
[R/drawLocal.R:46:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L46) *style:* **Use two spaces to indent, never tabs.**
```r
	k2 <- 1:(j - 1)
^
```
[R/drawLocal.R:46:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L46) *style:* **Put spaces around all infix operators.**
```r
	k2 <- 1:(j - 1)
          ~^
```
[R/drawLocal.R:46:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	k2 <- 1:(j - 1)
                ^
```
[R/drawLocal.R:46:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L46) *style:* **Trailing whitespace is superfluous.**
```r
	k2 <- 1:(j - 1)
                ^~
```
[R/drawLocal.R:47:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
^
```
[R/drawLocal.R:47:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *warning:* **no visible global function definition for ‘interp1’**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
         ^~~~~~~
```
[R/drawLocal.R:47:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
            ~^~~
```
[R/drawLocal.R:47:27:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                         ~^~
```
[R/drawLocal.R:47:41:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                        ^~
```
[R/drawLocal.R:47:46:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                             ^~
```
[R/drawLocal.R:47:56:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                      ~^~
```
[R/drawLocal.R:47:75:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                                         ~^~
```
[R/drawLocal.R:48:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L48) *style:* **Use two spaces to indent, never tabs.**
```r
	k2 <- c(k2, j)
^
```
[R/drawLocal.R:48:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L48) *style:* **Put spaces around all infix operators.**
```r
	k2 <- c(k2, j)
          ~^~~
```
[R/drawLocal.R:49:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L49) *style:* **Use two spaces to indent, never tabs.**
```r
	kesk <- c(kesk, 0)
^
```
[R/drawLocal.R:49:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L49) *style:* **Put spaces around all infix operators.**
```r
	kesk <- c(kesk, 0)
            ~^~~
```
[R/drawLocal.R:50:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L50) *style:* **Use two spaces to indent, never tabs.**
```r
	esk <- kesk / k2
^
```
[R/drawLocal.R:50:13:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L50) *style:* **Put spaces around all infix operators.**
```r
	esk <- kesk / k2
           ~^
```
[R/drawLocal.R:51:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	esk[esk < eps()] <- eps()
^
```
[R/drawLocal.R:51:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L51) *warning:* **no visible global function definition for ‘eps’, Did you mean 'esk'?**
```r
	esk[esk < eps()] <- eps()
           ^~~
```
[R/drawLocal.R:51:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L51) *warning:* **no visible global function definition for ‘eps’, Did you mean 'esk'?**
```r
	esk[esk < eps()] <- eps()
           ^~~
```
[R/drawLocal.R:51:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L51) *style:* **Put spaces around all infix operators.**
```r
	esk[esk < eps()] <- eps()
               ~^
```
[R/drawLocal.R:51:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L51) *style:* **Put spaces around all infix operators.**
```r
	esk[esk < eps()] <- eps()
                        ~^~~
```
[R/drawLocal.R:52:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L52) *style:* **Use two spaces to indent, never tabs.**
```r
	return(esk)
^
```
[R/drawLocal.R:57:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L57) *style:* **Put spaces around all infix operators.**
```r
	idx0 <- which( x == 0 )
            ~^
```
[R/drawLocal.R:58:11:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L58) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if(length(idx0) > 0) {
          ^
```
[R/drawLocal.R:59:21:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L59) *style:* **Put spaces around all infix operators.**
```r
		aux <- log(th) + lgamma(I) - lgamma(I+j) +
                   ~^~~
```
[R/drawLocal.R:59:32:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L59) *style:* **Put spaces around all infix operators.**
```r
		aux <- log(th) + lgamma(I) - lgamma(I+j) +
                               ^~
```
[R/drawLocal.R:60:35:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L60) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                                 ~^~
```
[R/drawLocal.R:60:39:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L60) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                                     ~^~
```
[R/drawLocal.R:60:49:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L60) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                                               ~^~
```
[R/drawLocal.R:61:37:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L61) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(k) +   lgamma(I+j-k) - lgamma(I) + log(I)
                                   ~^~
```
[R/drawLocal.R:61:49:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L61) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(k) +   lgamma(I+j-k) - lgamma(I) + log(I)
                                               ~^~
```
[R/drawLocal.R:61:51:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L61) *style:* **Put spaces around all infix operators.**
```r
			  lgamma(k) +   lgamma(I+j-k) - lgamma(I) + log(I)
                                                 ~^~
```
[R/drawLocal.R:62:25:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L62) *style:* **Use <-, not =, for assignment.**
```r
		y[idx0] = aux
                        ^
```
[R/drawLocal.R:64:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L64) *style:* **Use <-, not =, for assignment.**
```r
	idx1 = which(x == 1)
             ^
```
[R/drawLocal.R:64:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L64) *style:* **Put spaces around all infix operators.**
```r
	idx1 = which(x == 1)
            ~^~
```
[R/drawLocal.R:65:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L65) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	if (length(idx1) > 0) {
           ^
```
[R/drawLocal.R:66:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                     ^
```
[R/drawLocal.R:66:25:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                       ~^~
```
[R/drawLocal.R:66:28:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                          ~^~~
```
[R/drawLocal.R:66:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                             ^
```
[R/drawLocal.R:66:31:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                              ^
```
[R/drawLocal.R:66:34:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                                ~^~~
```
[R/drawLocal.R:66:40:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
		  if ((k<j)||((k == j) && (th > 1))) {
                                       ^~~
```
[R/drawLocal.R:68:29:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L68) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  } else if ((k == j) && (th == 1)) {
                            ^
```
[R/drawLocal.R:68:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L68) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  } else if ((k == j) && (th == 1)) {
                             ^
```
[R/drawLocal.R:68:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L68) *style:* **Put spaces around all infix operators.**
```r
		  } else if ((k == j) && (th == 1)) {
                               ~^~~
```
[R/drawLocal.R:68:39:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L68) *style:* **Put spaces around all infix operators.**
```r
		  } else if ((k == j) && (th == 1)) {
                                      ^~~
```
[R/drawLocal.R:70:29:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L70) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  } else if ((k == j) && (th < 1)) {
                            ^
```
[R/drawLocal.R:70:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L70) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  } else if ((k == j) && (th < 1)) {
                             ^
```
[R/drawLocal.R:70:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L70) *style:* **Put spaces around all infix operators.**
```r
		  } else if ((k == j) && (th < 1)) {
                               ~^~~
```
[R/drawLocal.R:70:39:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L70) *style:* **Put spaces around all infix operators.**
```r
		  } else if ((k == j) && (th < 1)) {
                                     ~^~~
```
[R/drawLocal.R:74:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L74) *style:* **Put spaces around all infix operators.**
```r
	idxp <- which((x > 0) & (x < 1))
            ~^~~
```
[R/drawLocal.R:74:23:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L74) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	idxp <- which((x > 0) & (x < 1))
                      ^
```
[R/drawLocal.R:74:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L74) *style:* **Put spaces around all infix operators.**
```r
	idxp <- which((x > 0) & (x < 1))
                         ^~
```
[R/drawLocal.R:74:31:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L74) *style:* **Put spaces around all infix operators.**
```r
	idxp <- which((x > 0) & (x < 1))
                              ^~
```
[R/drawLocal.R:74:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L74) *style:* **Place a space before left parenthesis, except in a function call.**
```r
	idxp <- which((x > 0) & (x < 1))
                                ^
```
[R/drawLocal.R:75:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L75) *style:* **Put spaces around all infix operators.**
```r
	xx <- x[idxp]
          ~^~~
```
[R/drawLocal.R:76:29:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L76) *style:* **Put spaces around all infix operators.**
```r
  aux <- log(th) + lgamma(I)-lgamma(I+j) +
                           ~^~
```
[R/drawLocal.R:76:38:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L76) *style:* **Put spaces around all infix operators.**
```r
  aux <- log(th) + lgamma(I)-lgamma(I+j) +
                                    ~^~
```
[R/drawLocal.R:77:27:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L77) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                         ~^~
```
[R/drawLocal.R:77:41:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L77) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                                       ~^~
```
[R/drawLocal.R:77:45:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L77) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(j+1) - lgamma(k+1) - lgamma(j-k+1) +
                                           ~^
```
[R/drawLocal.R:78:28:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L78) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * xx + k) - lgamma(I * xx) +
                          ~^~
```
[R/drawLocal.R:78:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L78) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * xx + k) - lgamma(I * xx) +
                               ~^
```
[R/drawLocal.R:78:38:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L78) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * xx + k) - lgamma(I * xx) +
                                    ~^~
```
[R/drawLocal.R:79:28:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                          ~^~
```
[R/drawLocal.R:79:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                             ^
```
[R/drawLocal.R:79:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                               ~^~
```
[R/drawLocal.R:79:39:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                                     ~^~
```
[R/drawLocal.R:79:43:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                                         ~^
```
[R/drawLocal.R:79:48:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L79) *style:* **Put spaces around all infix operators.**
```r
		  lgamma(I * (1 - xx) + j - k) - lgamma(I * (1 - xx)) +
                                              ~^
```
[R/drawLocal.R:80:19:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L80) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		  (th-1) * log(1 - xx) - log(xx)
                  ^
```
[R/drawLocal.R:80:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L80) *style:* **Put spaces around all infix operators.**
```r
		  (th-1) * log(1 - xx) - log(xx)
                     ^~
```
[R/drawLocal.R:80:34:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L80) *style:* **Put spaces around all infix operators.**
```r
		  (th-1) * log(1 - xx) - log(xx)
                                ~^~
```
[R/drawLocal.R:87:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L87) *style:* **Use <-, not =, for assignment.**
```r
  J = JX + JY
    ^
```
[R/drawLocal.R:88:6:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L88) *style:* **Use <-, not =, for assignment.**
```r
  nx = getPX(theta, alpha_x, alpha_y, JX, JY)
     ^
```
[R/drawLocal.R:88:8:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L88) *style:* **Variable and function names should be all lowercase.**
```r
  nx = getPX(theta, alpha_x, alpha_y, JX, JY)
       ^~~~~
```
[R/drawLocal.R:88:8:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L88) *warning:* **no visible global function definition for ‘getPX’, Did you mean 'setPS'?**
```r
  nx = getPX(theta, alpha_x, alpha_y, JX, JY)
       ^~~~~
```
[R/drawLocal.R:89:6:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L89) *style:* **Use <-, not =, for assignment.**
```r
  ny = 1 - nx
     ^
```
[R/drawLocal.R:92:7:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L92) *style:* **Use <-, not =, for assignment.**
```r
  I_X = alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
      ^
```
[R/drawLocal.R:92:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L92) *style:* **Put spaces around all infix operators.**
```r
  I_X = alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                        ~^~
```
[R/drawLocal.R:93:7:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L93) *style:* **Use <-, not =, for assignment.**
```r
  I_Y = alpha_y * ny * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
      ^
```
[R/drawLocal.R:93:26:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L93) *style:* **Put spaces around all infix operators.**
```r
  I_Y = alpha_y * ny * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                        ~^~
```
[R/drawLocal.R:95:8:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L95) *style:* **Use <-, not =, for assignment.**
```r
  sadx = pm_sad(theta, I_X, JX)
       ^
```
[R/drawLocal.R:95:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L95) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sadx = pm_sad(theta, I_X, JX)
         ^~~~~~
```
[R/drawLocal.R:96:8:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L96) *style:* **Use <-, not =, for assignment.**
```r
  sady = pm_sad(theta, I_Y, JY)
       ^
```
[R/drawLocal.R:96:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L96) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sady = pm_sad(theta, I_Y, JY)
         ^~~~~~
```
[R/drawLocal.R:107:27:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L107) *style:* **Put spaces around all infix operators.**
```r
  I_X <- alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                         ~^~
```
[R/drawLocal.R:107:66:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L107) *style:* **Trailing whitespace is superfluous.**
```r
  I_X <- alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                                                                 ^
```
[R/drawLocal.R:108:27:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L108) *style:* **Put spaces around all infix operators.**
```r
  I_Y <- alpha_y * ny * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                         ~^~
```
[R/drawLocal.R:111:3:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L111) *style:* **Variable and function names should be all lowercase.**
```r
  allN <- 0:J
  ^~~~
```
[R/drawLocal.R:112:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L112) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.infinite(I_X) && is.infinite(I_Y)) {
    ^
```
[R/drawLocal.R:113:28:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L113) *style:* **Put spaces around all infix operators.**
```r
     probs <- exp( lgamma(J+1) -
                          ~^~
```
[R/drawLocal.R:113:33:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L113) *style:* **Trailing whitespace is superfluous.**
```r
     probs <- exp( lgamma(J+1) -
                                ^
```
[R/drawLocal.R:114:27:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L114) *style:* **Variable and function names should be all lowercase.**
```r
                  (lgamma(allN + 1) +
                          ^~~~
```
[R/drawLocal.R:114:38:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L114) *style:* **Trailing whitespace is superfluous.**
```r
                  (lgamma(allN + 1) +
                                     ^
```
[R/drawLocal.R:115:30:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L115) *style:* **Variable and function names should be all lowercase.**
```r
                  lgamma(J - allN + 1)) +
                             ^~~~
```
[R/drawLocal.R:115:42:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L115) *style:* **Trailing whitespace is superfluous.**
```r
                  lgamma(J - allN + 1)) +
                                         ^
```
[R/drawLocal.R:116:21:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L116) *style:* **Variable and function names should be all lowercase.**
```r
                    allN * log(nx) +
                    ^~~~
```
[R/drawLocal.R:116:37:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L116) *style:* **Trailing whitespace is superfluous.**
```r
                    allN * log(nx) +
                                    ^
```
[R/drawLocal.R:117:23:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L117) *style:* **Put spaces around all infix operators.**
```r
                    (J-allN) * log(ny))
                     ~^~
```
[R/drawLocal.R:117:24:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L117) *style:* **Variable and function names should be all lowercase.**
```r
                    (J-allN) * log(ny))
                       ^~~~
```
[R/drawLocal.R:119:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L119) *style:* **Variable and function names should be all lowercase.**
```r
    probs <- PolyaEggenberger(I_X, I_Y, J, allN) #set up a probability vector
             ^~~~~~~~~~~~~~~~
```
[R/drawLocal.R:119:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L119) *warning:* **no visible global function definition for ‘PolyaEggenberger’**
```r
    probs <- PolyaEggenberger(I_X, I_Y, J, allN) #set up a probability vector
             ^~~~~~~~~~~~~~~~
```
[R/drawLocal.R:119:44:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L119) *style:* **Variable and function names should be all lowercase.**
```r
    probs <- PolyaEggenberger(I_X, I_Y, J, allN) #set up a probability vector
                                           ^~~~
```
[R/drawLocal.R:125:11:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L125) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sadx <- pm_sad(theta, I_X, NX)
          ^~~~~~
```
[R/drawLocal.R:126:11:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/drawLocal.R#L126) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sady <- pm_sad(theta, I_Y, NY)
          ^~~~~~
```
[R/ESF_function.R:1:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L1) *style:* **Variable and function names should be all lowercase.**
```r
logLikelihood.ESF <- function(theta, m, abund) {
^~~~~~~~~~~~~~~~~
```
[R/ESF_function.R:2:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L2) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(theta < 1 ||
    ^
```
[R/ESF_function.R:2:18:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
  if(theta < 1 ||
                 ^
```
[R/ESF_function.R:3:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L3) *style:* **Put spaces around all infix operators.**
```r
     m > (1-.Machine$double.eps) ||
          ~^~
```
[R/ESF_function.R:9:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L9) *style:* **Use <-, not =, for assignment.**
```r
  J = sum(abund)
    ^
```
[R/ESF_function.R:10:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L10) *style:* **Use <-, not =, for assignment.**
```r
  S = length(abund)
    ^
```
[R/ESF_function.R:11:5:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L11) *style:* **Use <-, not =, for assignment.**
```r
  I = m * (J-1) / (1 - m)
    ^
```
[R/ESF_function.R:11:13:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L11) *style:* **Put spaces around all infix operators.**
```r
  I = m * (J-1) / (1 - m)
           ~^~
```
[R/ESF_function.R:13:7:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L13) *style:* **Use <-, not =, for assignment.**
```r
  kda = calcKDA(abund)  #confirmed in PARI
      ^
```
[R/ESF_function.R:13:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L13) *style:* **Variable and function names should be all lowercase.**
```r
  kda = calcKDA(abund)  #confirmed in PARI
        ^~~~~~~
```
[R/ESF_function.R:13:9:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L13) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda = calcKDA(abund)  #confirmed in PARI
        ^~~~~~~
```
[R/ESF_function.R:15:10:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L15) *style:* **Use <-, not =, for assignment.**
```r
  sumkda = calc_sum_kda(S, J, I, theta, kda)
         ^
```
[R/ESF_function.R:15:12:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L15) *warning:* **no visible global function definition for ‘calc_sum_kda’**
```r
  sumkda = calc_sum_kda(S, J, I, theta, kda)
           ^~~~~~~~~~~~
```
[R/ESF_function.R:15:45:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L15) *style:* **Trailing whitespace is superfluous.**
```r
  sumkda = calc_sum_kda(S, J, I, theta, kda)
                                            ^~
```
[R/ESF_function.R:16:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L16) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/ESF_function.R:19:6:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 1:length(x)) freq_x[i] <- x[[i]]
     ^
```
[R/ESF_function.R:20:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L20) *style:* **Use <-, not =, for assignment.**
```r
  prefactor1 = -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
             ^
```
[R/ESF_function.R:20:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L20) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  prefactor1 = -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                ^
```
[R/ESF_function.R:20:17:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L20) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  prefactor1 = -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                ^
```
[R/ESF_function.R:20:60:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L20) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  prefactor1 = -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                                                           ^
```
[R/ESF_function.R:21:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L21) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:22:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L22) *style:* **lines should not be more than 80 characters.**
```r
  factor1 <- lgamma(J+1) + prefactor1  #J!/[prod(n1)prod(Sx!)]  #confirmed in PARI
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ESF_function.R:22:22:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L22) *style:* **Put spaces around all infix operators.**
```r
  factor1 <- lgamma(J+1) + prefactor1  #J!/[prod(n1)prod(Sx!)]  #confirmed in PARI
                    ~^~
```
[R/ESF_function.R:23:1:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L23) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:24:11:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L24) *style:* **Use <-, not =, for assignment.**
```r
  factor2 = S*log(theta)   -  (lgamma(I + J) - lgamma(I))
          ^
```
[R/ESF_function.R:24:14:](https://github.com/thijsjanzen/GUILDS/blob/6b95966f7b559d84fca638b4c7f31c44d790098e/R/ESF_function.R#L24) *style:* **Put spaces around all infix operators.**
```r
  factor2 = S*log(theta)   -  (lgamma(I + J) - lgamma(I))
            ~^~
```


```
nix-repl> lib.optionalString null "abc"
error: value is null while a Boolean was expected
```


I will remove it, thanks :+1:


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1123](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13975&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 7 (7 new), passed: 215, ignored: 3 Build time: 00:08:33
### Failed tests
```
org.genivi.sota.core.DeviceUpdatesResourceSpec.POST queues a package for update to a specific vehicle: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.update requests with blacklisted packages are excluded from queue: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.queue items includes update status: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.returns in flight updates for /queued endpoint: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.updates updated_time field is returned to client: <no details avaliable>

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

org.genivi.sota.core.DeviceUpdatesResourceSpec.can cancel pending updates: <no details avaliable>

```


```
gmake[1]: Entering directory '/usr/src/kamailio/modules/ipops'
Makefile.defs defs skipped
clang -fPIC -DPIC -g -m64    -DNAME='"kamailio"' -DVERSION='"5.0.0-dev6"' -DARCH='"x86_64"' -DOS='freebsd_' -DOS_QUOTED='"freebsd"' -DCOMPILER='"clang 3.4"' -D__CPU_x86_64 -D__OS_freebsd -DSER_VER=5000000 -DCFG_DIR='"/usr/local/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_NETINET_IN_SYSTM -DUSE_RAW_SOCKS -DHAVE_KQUEUE -DHAVE_SELECT  -DKAMAILIO_MOD_INTERFACE -DMOD_NAME='"ipops"' -c detailed_ip_type.c -o detailed_ip_type.o
detailed_ip_type.c:103:17: error: use of undeclared identifier 'AF_INET6'
  if (inet_pton(AF_INET6, in6_string, in6_addr) != 1)  return 0;
                ^
detailed_ip_type.c:131:17: error: use of undeclared identifier 'AF_INET'
  if (inet_pton(AF_INET, in4_string, &in4_addr) != 1)  return 0;
                ^
2 errors generated.
gmake[1]: *** [../../Makefile.rules:97: detailed_ip_type.o] Error 1
gmake[1]: Leaving directory '/usr/src/kamailio/modules/ipops'
gmake: *** [Makefile:511: modules] Error 1
```

`#include <sys/socket.h>` is missing to compile it on FreeBSD maschine.
Because AF_INET and AF_INET6 are defined in this file.


looks good and should add some more stability in the future :+1:


yummy


Entries for #11949 and #11950 are duplicated - it should be removed.


What did you use to figure these out?


Totally agree. I will make some tests with OPi Lite and NEO within the next weeks to get an idea where to tweak settings for SY8113B but just to send it directly back to megi. Can you add the 480 MHz back? And decide whether you want to set BPi M2+ back to 816 MHz while you're at it (no opinion on that, our thermal experiments said it would be necessary when people are trying out mainline but OTH I don't care about this board at all)


This was the initial commit, which was a simple copy of the original file. Meanwhile I renamed it, edited it, and removed this part (I created a few issues in CMFPlone based on the comments I had here).


Yes, will fix. Thanks for catching it.


There was a memleak. Still is, have a testcase. Look at it tomorrow.


Introduire la notion de zone d'affichage d'une colonne


I need to think about the right way to present this.  It might actually be sufficient to use `dlet` in the relevant places.  The two properties I need are that I can prevent `simpl` from inlining it, and that when I explicitly unfold it, I am left with a let-in.  Shall I see if it works using `dlet` and removing this file?


Some kinds of flexible outfits, you can include certain followers, which decorate in between. In some cases, noticing afterwards will treated accord to their efforts.


partager la configuration pour le fichier films.csv


This commit breaks DB names with dashed like "DB1234-lime" which is a pretty common DB naming scheme for several providers. PLease include "-" as valid character.
I have re-opened https://bugs.limesurvey.org/view.php?id=11621 (yes, I know it is not exactly the same problem).


source code for assignment 1


Formatting looks a bit awkward here, suggest

```fsharp
    let permissions = BlobContainerPermissions(PublicAccess = BlobContainerPublicAccessType.Blob)
    container.SetPermissions permissions
```


TO use this, ``path\myfile`` must exist. I suppose add something to first create that directory and file. Also I think we should use ``path/myfile`` as that will work on Linux.


I prefer using wicket-utils' Strings.replaceAll() for such things. String#replace(CharSequence, CharSequence) uses non-compiled regex and is slower.


David James Potratz


This makes sense in general, but since CompositorWorker has a bug with reading the scroll position of the root scroller (https://crbug.com/645493) I've updated my demo to have the overflow scroller and background be siblings and not have a root. See https://github.com/flackr/houdini-samples/commit/fcfe14f69f6d71f40e8949be42156ec7d665ccdd


You can also do `ls ~/.dotfiles/tag-* | sed ...`, if you like.


I'm pretty sure the chroma offset is wrong, see the `FIXME` in the code. I gave up while trying to devise an algorithm to correctly rotate the chroma offset, but I'm sure it can be done.


heck off merge commit


Why the hell did I not think of that earlier

Thank you Gabe :)


I successfully installed cyres but I can't run this example as it is. FirstOrderFunction is not defined nor GradientProblemSolver(), ... even though I ran "from cyres import *" ok. What are the steps in getting this up and running? Thank you.


e.g.

```
    let _ =
        Directory.CreateDirectory(__SOURCE_DIRECTORY__ + "/path") |> ignore
        File.WriteAllText(__SOURCE_DIRECTORY__ + "/path/myfile", "some data")
        use fileStream = System.IO.File.OpenRead(__SOURCE_DIRECTORY__ + "/path/myfile")
        blockBlob.UploadFromStream(fileStream)
```


There will always be a next time 👍


I hope nobody noticed >.>


Actually I'll prepare a PR with a set of changes for these fixes


Comment 1


consciente..


Will the root always be the scrollable element or do we need something equivalent to document.scrollingElement?


I'm afraid not. I usually just monitor the driver through RegenD's RAM viewer.


Forgot to remove, sorry.
Yeah, safer but checking this every time honestly becomes too much. Not expansive I see but another useless line of code while we should simple remember to use that polyfill :D
I think we can remember it :D
Even the centerImages and imgSmartLoad use $.originalWidth (Height)  without checks... (my fault also in those cases :D )


Could you guys put out a new release with this change included? Need it as part of https://github.com/accessd/rails-settings-ui


Working on fixing this one - is there a bug in the original curriculum?
`self.class.connection.execute` <<-SQL
       UPDATE #{self.class.table}
       SET #{fields}
       WHERE id = #{self.id};
     SQL
`
Shouldn't the SET command here have the syntax pattern of `column-name = expression` or:
`SET #{fields} = attributes[0], #{fields} = attributes[1]`


Thanks!


Sorry, this fork is super broken, as I've started re-implementing various bits, but stopped before it was usable.


What's sed?

Sed is the superman of UNIX stream editing. It's a small utility that's present on every UNIX system and it transforms one stream of text into another. Let's take a look at several practical examples that sed can carry out easily. All these examples and many more are explained in the e-book.

I have also made the first chapter of the book, Introduction to sed, freely available. Please download the e-book preview to read it. The introductory chapter explains the general principles of sed, introduces the four spaces of sed, addresses and ranges, and various command line flags.

Example 1: Replace "lamb" with "goat" on every line

sed 's/lamb/goat/'
This one-liner uses the famous s/.../.../ command. The s command substitutes the text in the first part of the command with the text in the second part. In this one-liner it replaces "lamb" with "goat".

A very detailed explanation of how sed reads the lines, how it executes the commands and how the printing happens is presented in the freely available introduction chapter. Please take a look.

Example 2: Replace only the second occurrence of "lamb" with "goat" on every line

sed 's/lamb/goat/2'
Sed is the only tool that I know that takes a numeric argument to the s command. The numeric argument, in this case 2, specifies which occurrence of the text to replace. In this example only the 2nd occurrence of "lamb" gets replaced with "goat".

Example 3: Number the lines in a file

sed = file | sed 'N; s/\n/: /'
This one-liner is actually two one-liners. The first one uses the = command that inserts a line containing the line number before every original line in the file. Then this output gets piped to the second sed command that joins two adjacent lines with the N command. When joining lines with the N command, a newline character \n is placed between them. Therefore it uses the s command to replace this newline \n with a colon followed by a space ": ".

So for example, if the file contains lines:

hello world
good job
sunny day
Then after running the one-liner, the result is going to be:

1: hello world
2: good job
3: sunny day
Example 4: Delete every 2nd line

sed 'n;d'
This one-liner uses the n command that prints the current line (actually the current pattern space, see the introduction chapter for in-depth explanation), deletes it, and reads the next line. Then sed executes the d command that deletes the current line without printing. This way the 1st line gets printed, the 2nd line gets deleted, then the 3rd line gets printed again, then the 4th gets deleted, etc.

Example 5: ROT 13 encode every line

sed '
y/abcdefghijklmnopqrstuvwxyz/nopqrstuvwxyzabcdefghijklm/
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/NOPQRSTUVWXYZABCDEFGHIJKLM/
'
Here the y/set1/set2/ command is used. The y command substitutes elements in the set1 with the corresponding elements in the set2. The first y command replaces all lowercase letters with their 13-char-shifted counterparts, and the second y command does the same for the uppercase letters. So for example, character a gets replaced by n, b gets replaced by o, character Z gets replaced by M, etc.

Sed is actually very powerful. It's as powerful as a Turing machine, meaning you can write any computer program in it. Check out these programs written in sed. Run them as sed -f file.sed:


@ramanbuttar yes I'll push a release shortly


@edolstra This is another case where `cfg.attribute` should probably be `cfg.${attribute}`.


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


I am stupid. Ignore this ever happened!!!


Bug found: there are currently two ways the hash can be changed to "#":

1. extra clicks on back-button;
2. selection clearing clicks.

While scroll to the top of the page is a reasonable behavior for 1, it is not for 2. For 2, the page should stay put.


I think there are still symbols (pkg-config search for 2d from pcl_features-1.8.pc) I had to revert this commit to compile python-pcl.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1124](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13981&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **UNKNOWN**
Summary: Canceled (Exit code 137 (new)) Build time: 00:00:55


I cant figure out the problem.


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


第二次修改


I honestly don't remember.

If it causes problems we can remove it, that's no problem.


I really like this additional option --- are you planning on submitting a PR to the main project?


Wondering if this CSS related tooling should be here at all? Is this not covered (or should be) under the CSS section?


dfgdf


Nice to see this fix after I had found the address in PJ64's memory search/viewer that the cheat-engine guide obscures.
The end result I had still ran into issues with the sky moving where the refresh point made the sky jump into place.


>I can't believe this has been here since the 23rd Feb.

-- secknv 22nd Sept.


@bitwalker out of curiosity, why not include the test / a test as well?


You wrote: "These changes allows IsAboveBelow bug to occur."

I believe you meant to say something like: These changes test the fix in commit 1133deb3a6d126d1b05927fa86e234232daf60f8


But today is 2016, isn't it?


ok, I think better for memake SAI 👍 not C++ ))))))


// TODO figure out if this is in any way required,


El manejo del cron aún es un poco básico, ya que hace 1 llamada por minuto, por lo que sale o se consulta un documento por minuto, se debe mejorar para que se pueda automáticamente hacer un lote de envío


>I can't believe this has been here since the 23rd Feb.

—secknv, 22nd Sept. 2016 after deleting the first `helplist[func] =`


@knewter You mean the test you wrote? I did, just in a separate commit [here](https://github.com/bitwalker/exirc/commit/4539c8f5f81c11389a6d1d14525fcf5152f0a181) :)


We need this because it's used to create rootfs + all system apps installed. This is the only way to create image.


prueba


So it is. I should fix the header. Thanks.


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


ええですね


@bontgoy


Should this be `// eslint some-feature: "off"` as it's a single line comment?


**Good job Gleb!**


here too // ?


@ohinckel did u test the webbased code editor for logics (the CodeMirror one)? just curious..


Missing HARDENEDBSD guard. If you compile your system WITHOUT_HARDENEDBSD, then the buildworld should fail.


Same here.


ahhh ok ^^


Here is good. :)


**[unitTests_js_branches run failed](http://jenkins.wikia-prod:8080/job/unitTests_js_branches/33221/testReport/) for this commit**


what is the meaning of break at lure? im using the bot. please enlighten me. and also i cant set default new location. please guide me . thank you


This seems at odds with the earlier statement of 'Do not use global variables.'


hello


hello test


Why not 'Lax'?


It's already merged into the main project :)

https://github.com/digidem/react-dimensions/commit/09ee0f2bbd3d7ba63eda378ff160219c4d5f5681


You forgot to add prefixes for metric_points too.
Now you will only receive a code 500, because mysql won't find the other table if you use prefixes.


kek


Green band is not (to fix them by adding libmmcamera_interface.so).
But there was another problem, band graphic artifacts, the offset frame.
This flag is, in fact, does not fix anything.
Since it is included by default so msm8974 platforms.
But you can try to do to turn it off and check the result, and it will try.


automatically apply? maybe add parameter autoapply=False?


This should go before the non-system includes.


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


How do you think about to reduce the probability for name clashes a bit more by [adding another prefix (or suffix) to such include guards](https://en.wikipedia.org/wiki/Include_guard#Difficulties "Coherent naming scheme for include guards?")?


That's a nice commit desc you got there


looks like a hack :hammer:


@pb00068 Why ?


develop (Myoldmopar) - x86_64-MacOS-10.9-clang: OK (1768 of 1768 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)


Nice


This is bullshit.

Not commenting any blah doesn't mean agreeing with it.
And merging another pull just to revert is even more crap.


s/it/them/ (as names is plural)


s/codes/code/


# Issue #68 and not #65 .


develop (Myoldmopar) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1768 of 1768 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.14%25-green.svg)


#2520943-WindowsCalc-Engine_Integration (vidanovic) - Win64-Windows-7-VisualStudio-12: Tests Failed (1766 of 2339 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-75.5%25-red.svg)


👍
Curious why you implemented a custom timeout rather than use [`timed-out`](https://github.com/floatdrop/timed-out) (as you suggested in https://github.com/lpinca/shopify-token/issues/4)?


It's alive :). Will an update be pushed to the play store or do we need to compile ourselves?


This feels a bit leaky to me. I believe these parsers will always succeed (maybe thats ok). So for instance if there's a bug with the version number parser I've implemented now or going forward, it will just report that there was no version, masking the error. One alternative here is to have something like `newtype MaybeNA a = MaybeNA { maybeNA :: Maybe a }` and `instance FromJSON a => FromJSON (MaybeNA a)` that specifically parses the "NA" case. Then in your parsers here it would be like `MaybeNA load <- o .: "load_average"`


Bah, fail.


Fixed :+1:


Please double check DB changes: if someone have already used a choice custom field, it will crash or produce strange results. I hope that no-one is using it yet..


Comments seen :8ball: