[R/Condition.R:23:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L23) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  k  <-  lgamma((theta_x / 2) + (theta_y / 2)) -
                ^
```
[R/Condition.R:25:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:25:43:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:115:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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:137:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L137) *style:* **Variable and function names should be all lowercase.**
```r
  ll <- logLikelihood.Guilds(parameters, model, sadx, sady, verbose)
        ^~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:137:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L137) *warning:* **no visible global function definition for ‘logLikelihood.Guilds’**
```r
  ll <- logLikelihood.Guilds(parameters, model, sadx, sady, verbose)
        ^~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:140:23:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L140) *warning:* **no visible global function definition for ‘calc_conditional’**
```r
  conditional_part <- calc_conditional(parameters, model, Nx, Ny)
                      ^~~~~~~~~~~~~~~~
```
[R/Condition.R:146:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L146) *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:166:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L166) *style:* **Variable and function names should be all lowercase.**
```r
  ll <- logLikguilds(theta_x, theta_y, alpha_x, alpha_y, J,
        ^~~~~~~~~~~~
```
[R/Condition.R:170:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L170) *warning:* **no visible global function definition for ‘calc_conditional’**
```r
  cond_ll <- calc_conditional(v, model, Nx, Ny)
             ^~~~~~~~~~~~~~~~
```
[R/Condition.R:175:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L175) *style:* **Variable and function names should be all lowercase.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:175:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L175) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:175:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L175) *style:* **Variable and function names should not be longer than 30 characters.**
```r
maxLikelihood.Guilds.Conditional <- function(init_vals, model,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/Condition.R:179:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L179) *style:* **Variable and function names should be all lowercase.**
```r
  kda_x <- calcKDA(sadx)
           ^~~~~~~
```
[R/Condition.R:179:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L179) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda_x <- calcKDA(sadx)
           ^~~~~~~
```
[R/Condition.R:180:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L180) *style:* **Variable and function names should be all lowercase.**
```r
  kda_y <- calcKDA(sady)
           ^~~~~~~
```
[R/Condition.R:180:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L180) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda_y <- calcKDA(sady)
           ^~~~~~~
```
[R/Condition.R:201:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L201) *style:* **Variable and function names should be all lowercase.**
```r
    out <- -1 * conditional.LogLik(x, model, J, Sx, Sy, Nx, Ny,
                ^~~~~~~~~~~~~~~~~~
```
[R/Condition.R:209:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/Condition.R#L209) *warning:* **no visible global function definition for ‘simplex’, Did you mean 'complex'?**
```r
    x <- simplex(init_vals, g, verbose)
         ^~~~~~~
```
[R/drawLocal.R:8:19:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:9:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
	}
^
```
[R/drawLocal.R:10:36:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L10) *style:* **Commas should always have a space after.**
```r
    xmax <- stats::optimize(f, c(0,1))$minimum
                                   ^
```
[R/drawLocal.R:11:13:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:12:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:14:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		  y[idx1] <- Inf
^~
```
[R/drawLocal.R:17:16:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L18) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:22:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:23:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L23) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    while(ymax < (y1 + 1)) {
         ^
```
[R/drawLocal.R:25:13:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:26:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L26) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:27:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L27) *style:* **Use two spaces to indent, never tabs.**
```r
		f <- function(x) {
^~
```
[R/drawLocal.R:27:19:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:30:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r

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

^~
```
[R/drawLocal.R:31:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L31) *style:* **Use two spaces to indent, never tabs.**
```r
		xplu <- stats::uniroot(f, c(xmax, x1), tol = pracma::eps())$root
^~
```
[R/drawLocal.R:31:22:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L31) *style:* **Put spaces around all infix operators.**
```r
		xplu <- stats::uniroot(f, c(xmax, x1), tol = pracma::eps())$root
                    ~^~~
```
[R/drawLocal.R:31:60:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L31) *style:* **Put spaces around all infix operators.**
```r
		xplu <- stats::uniroot(f, c(xmax, x1), tol = pracma::eps())$root
                                                          ~^~
```
[R/drawLocal.R:32:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L39) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/drawLocal.R:41:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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:62:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Use two spaces to indent, never tabs.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
^
```
[R/drawLocal.R:47:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **lines should not be more than 80 characters.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/drawLocal.R:47:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
            ~^~~
```
[R/drawLocal.R:47:35:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                 ~^~
```
[R/drawLocal.R:47:49:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                ^~
```
[R/drawLocal.R:47:54:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                     ^~
```
[R/drawLocal.R:47:64:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                              ~^~
```
[R/drawLocal.R:47:83:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L47) *style:* **Put spaces around all infix operators.**
```r
	kesk <- pracma::interp1(x = log2(k1), y = k1 * res, xi = log2(k2), method = "spline")
                                                                                ~^~
```
[R/drawLocal.R:48:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L51) *style:* **Use two spaces to indent, never tabs.**
```r
	esk[esk < pracma::eps()] <- pracma::eps()
^
```
[R/drawLocal.R:51:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L51) *style:* **Put spaces around all infix operators.**
```r
	esk[esk < pracma::eps()] <- pracma::eps()
               ~^~
```
[R/drawLocal.R:51:34:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L51) *style:* **Put spaces around all infix operators.**
```r
	esk[esk < pracma::eps()] <- pracma::eps()
                                ~^~~
```
[R/drawLocal.R:52:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L52) *style:* **Use two spaces to indent, never tabs.**
```r
	return(esk)
^
```
[R/drawLocal.R:58:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:42:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L59) *style:* **Put spaces around all infix operators.**
```r
    aux <- log(th) + lgamma(I) - lgamma(I+j) +
                                        ~^~
```
[R/drawLocal.R:66:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
    if ((k<j)||((k == j) && (th > 1))) {
         ~^~
```
[R/drawLocal.R:66:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L66) *style:* **Put spaces around all infix operators.**
```r
    if ((k<j)||((k == j) && (th > 1))) {
            ~^~~
```
[R/drawLocal.R:66:16:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:68:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:28:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:31:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L68) *style:* **Put spaces around all infix operators.**
```r
		} else if ((k == j) && (th == 1)) {
                             ~^~~
```
[R/drawLocal.R:68:37:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L68) *style:* **Put spaces around all infix operators.**
```r
		} else if ((k == j) && (th == 1)) {
                                    ^~~
```
[R/drawLocal.R:70:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:28:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:31:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L70) *style:* **Put spaces around all infix operators.**
```r
		} else if ((k == j) && (th < 1)) {
                             ~^~~
```
[R/drawLocal.R:70:37:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L70) *style:* **Put spaces around all infix operators.**
```r
		} else if ((k == j) && (th < 1)) {
                                   ~^~~
```
[R/drawLocal.R:74:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:76:29:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L76) *style:* **Put spaces around all infix operators.**
```r
  aux <- log(th) + lgamma(I)-lgamma(I + j) +
                           ~^~
```
[R/drawLocal.R:80:13:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L80) *style:* **Put spaces around all infix operators.**
```r
         (th-1) * log(1 - xx) - log(xx)
           ~^~
```
[R/drawLocal.R:87:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L87) *warning:* **no visible global function definition for ‘getpx’, Did you mean 'get'?**
```r
  nx <- getpx(theta, alpha_x, alpha_y, JX, JY)
        ^~~~~
```
[R/drawLocal.R:91:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L91) *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:92:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L92) *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:94:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L94) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sadx <- pm_sad(theta, I_X, JX)
          ^~~~~~
```
[R/drawLocal.R:95:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L95) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sady <- pm_sad(theta, I_Y, JY)
          ^~~~~~
```
[R/drawLocal.R:106:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L106) *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:106:66:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L106) *style:* **Trailing whitespace is superfluous.**
```r
  I_X <- alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                                                                 ^
```
[R/drawLocal.R:107:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L107) *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:110:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L110) *style:* **Variable and function names should be all lowercase.**
```r
  allN <- 0:J
  ^~~~
```
[R/drawLocal.R:111:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L111) *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:112:28:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L112) *style:* **Put spaces around all infix operators.**
```r
     probs <- exp( lgamma(J+1) -
                          ~^~
```
[R/drawLocal.R:112:33:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L112) *style:* **Trailing whitespace is superfluous.**
```r
     probs <- exp( lgamma(J+1) -
                                ^
```
[R/drawLocal.R:113:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L113) *style:* **Variable and function names should be all lowercase.**
```r
                  (lgamma(allN + 1) +
                          ^~~~
```
[R/drawLocal.R:113:38:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L113) *style:* **Trailing whitespace is superfluous.**
```r
                  (lgamma(allN + 1) +
                                     ^
```
[R/drawLocal.R:114:30:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L114) *style:* **Variable and function names should be all lowercase.**
```r
                  lgamma(J - allN + 1)) +
                             ^~~~
```
[R/drawLocal.R:114:42:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L114) *style:* **Trailing whitespace is superfluous.**
```r
                  lgamma(J - allN + 1)) +
                                         ^
```
[R/drawLocal.R:115:21:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L115) *style:* **Variable and function names should be all lowercase.**
```r
                    allN * log(nx) +
                    ^~~~
```
[R/drawLocal.R:115:37:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L115) *style:* **Trailing whitespace is superfluous.**
```r
                    allN * log(nx) +
                                    ^
```
[R/drawLocal.R:116:23:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L116) *style:* **Put spaces around all infix operators.**
```r
                    (J-allN) * log(ny))
                     ~^~
```
[R/drawLocal.R:116:24:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L116) *style:* **Variable and function names should be all lowercase.**
```r
                    (J-allN) * log(ny))
                       ^~~~
```
[R/drawLocal.R:118:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L118) *warning:* **no visible global function definition for ‘polyaeggenberger’**
```r
    probs <- polyaeggenberger(I_X, I_Y, J, allN)
             ^~~~~~~~~~~~~~~~
```
[R/drawLocal.R:118:44:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L118) *style:* **Variable and function names should be all lowercase.**
```r
    probs <- polyaeggenberger(I_X, I_Y, J, allN)
                                           ^~~~
```
[R/drawLocal.R:124:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L124) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  sadx <- pm_sad(theta, I_X, NX)
          ^~~~~~
```
[R/drawLocal.R:125:11:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/drawLocal.R#L125) *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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L3) *style:* **Put spaces around all infix operators.**
```r
     m > (1-.Machine$double.eps) ||
          ~^~
```
[R/ESF_function.R:11:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L11) *style:* **Put spaces around all infix operators.**
```r
  I <- m * (J-1) / (1 - m)
            ~^~
```
[R/ESF_function.R:13:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:13:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:46:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L16) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/ESF_function.R:19:6:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in seq_along(x)) freq_x[i] <- x[[i]]
     ^
```
[R/ESF_function.R:20:18:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:18:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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:61:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/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/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L21) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:23:22:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L23) *style:* **Put spaces around all infix operators.**
```r
  factor1 <- lgamma(J+1) + prefactor1
                    ~^~
```
[R/ESF_function.R:23:38:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  factor1 <- lgamma(J+1) + prefactor1
                                     ^~
```
[R/ESF_function.R:24:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L24) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:25:15:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L25) *style:* **Put spaces around all infix operators.**
```r
  factor2 <- S*log(theta)   -  (lgamma(I + J) - lgamma(I))
             ~^~
```
[R/ESF_function.R:26:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L26) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:29:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L29) *style:* **Use two spaces to indent, never tabs.**
```r
	  out <- -1 * esf_local(x, abund, prefactor, kda)
^
```
[R/ESF_function.R:30:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L30) *style:* **Use two spaces to indent, never tabs.**
```r
		return(out)
^~
```
[R/ESF_function.R:35:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(theta < 1 ||
    ^
```
[R/ESF_function.R:35:18:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L35) *style:* **Trailing whitespace is superfluous.**
```r
  if(theta < 1 ||
                 ^
```
[R/ESF_function.R:36:15:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L36) *style:* **Trailing whitespace is superfluous.**
```r
     m <= 0 ||
              ^
```
[R/ESF_function.R:37:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L37) *style:* **Put spaces around all infix operators.**
```r
     m > (1-.Machine$double.eps)) {
          ~^~
```
[R/ESF_function.R:40:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L40) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/ESF_function.R:43:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L43) *style:* **Put spaces around all infix operators.**
```r
  I <- m * (J-1) / (1 - m)
            ~^~
```
[R/ESF_function.R:45:13:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L45) *warning:* **no visible global function definition for ‘calc_sum_kda’**
```r
  sumkda <- calc_sum_kda(S, J, I, theta, kda)
            ^~~~~~~~~~~~
```
[R/ESF_function.R:46:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L46) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/ESF_function.R:47:15:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L47) *style:* **Put spaces around all infix operators.**
```r
  factor2 <- S*log(theta)   -  (lgamma(I + J) - lgamma(I))
             ~^~
```
[R/ESF_function.R:48:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L48) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:53:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L53) *style:* **Variable and function names should be all lowercase.**
```r
maxLikelihood.ESF <- function(init_vals, abund, verbose=TRUE) {
^~~~~~~~~~~~~~~~~
```
[R/ESF_function.R:71:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L71) *style:* **Variable and function names should be all lowercase.**
```r
  kda <- calcKDA(abund)  #confirmed in PARI
         ^~~~~~~
```
[R/ESF_function.R:71:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L71) *warning:* **no visible global function definition for ‘calcKDA’**
```r
  kda <- calcKDA(abund)  #confirmed in PARI
         ^~~~~~~
```
[R/ESF_function.R:74:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L74) *warning:* **local variable ‘S’ assigned but may not be used**
```r
  S <- length(abund)
  ^
```
[R/ESF_function.R:78:24:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L78) *style:* **Put spaces around all infix operators.**
```r
  prefactor <- lgamma(J+1) -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                      ~^~
```
[R/ESF_function.R:78:28:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L78) *style:* **Put spaces around all infix operators.**
```r
  prefactor <- lgamma(J+1) -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                           ^~
```
[R/ESF_function.R:78:29:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L78) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  prefactor <- lgamma(J+1) -( sum(log(abund)) + sum(lgamma(1 + freq_x)) )
                            ^
```
[R/ESF_function.R:79:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L79) *style:* **Trailing whitespace is superfluous.**
```r

^~~
```
[R/ESF_function.R:81:15:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L81) *style:* **Put spaces around all infix operators.**
```r
	  out <- -1 * esf_local(x, abund, prefactor, kda)
             ~^~~
```
[R/ESF_function.R:81:16:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L81) *warning:* **no visible global function definition for ‘esf_local’**
```r
	  out <- -1 * esf_local(x, abund, prefactor, kda)
               ^~~~~~~~~
```
[R/ESF_function.R:81:21:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L81) *style:* **Put spaces around all infix operators.**
```r
	  out <- -1 * esf_local(x, abund, prefactor, kda)
                   ~^~
```
[R/ESF_function.R:83:4:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L83) *style:* **Trailing whitespace is superfluous.**
```r
  }
   ^~
```
[R/ESF_function.R:84:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L84) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/ESF_function.R:85:14:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/ESF_function.R#L85) *warning:* **no visible global function definition for ‘simplex’, Did you mean 'complex'?**
```r
  optimum <- simplex(init_vals, g, verbose)
             ^~~~~~~
```
[R/evaluateLogLik2.R:1:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L1) *style:* **Variable and function names should be all lowercase.**
```r
evaluateLogLik <- function(v, theta_x, theta_y, alpha_x, alpha_y,
^~~~~~~~~~~~~~
```
[R/evaluateLogLik2.R:4:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L4) *style:* **Put spaces around all infix operators.**
```r
  ny <- 1-v
        ~^~
```
[R/evaluateLogLik2.R:5:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L5) *style:* **Put spaces around all infix operators.**
```r
  I_X <- alpha_x * nx * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                         ~^~
```
[R/evaluateLogLik2.R:6:27:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L6) *style:* **Put spaces around all infix operators.**
```r
  I_Y <- alpha_y * ny * (J-1) / (1 - alpha_x * nx - alpha_y * ny)
                         ~^~
```
[R/evaluateLogLik2.R:7:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L7) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/evaluateLogLik2.R:11:6:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L11) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(cnt in seq_along(I_X)) {
     ^
```
[R/evaluateLogLik2.R:17:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L17) *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/evaluateLogLik2.R:17:17:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L17) *style:* **Put spaces around all infix operators.**
```r
  l <- ((theta_x/2) - 1) * log(nx) + ((theta_y/2) - 1) * log(ny)
               ~^~
```
[R/evaluateLogLik2.R:17:39:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L17) *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/evaluateLogLik2.R:17:47:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L17) *style:* **Put spaces around all infix operators.**
```r
  l <- ((theta_x/2) - 1) * log(nx) + ((theta_y/2) - 1) * log(ny)
                                             ~^~
```
[R/evaluateLogLik2.R:19:8:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L19) *warning:* **no visible global function definition for ‘calc_sum_kda’**
```r
  s <- calc_sum_kda(Sx, Nx, I_X, (theta_x/2), KDA_X)
       ^~~~~~~~~~~~
```
[R/evaluateLogLik2.R:19:42:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L19) *style:* **Put spaces around all infix operators.**
```r
  s <- calc_sum_kda(Sx, Nx, I_X, (theta_x/2), KDA_X)
                                        ~^~
```
[R/evaluateLogLik2.R:20:8:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L20) *warning:* **no visible global function definition for ‘calc_sum_kda’**
```r
  z <- calc_sum_kda(Sy, Ny, I_Y, (theta_y/2), KDA_Y)
       ^~~~~~~~~~~~
```
[R/evaluateLogLik2.R:20:42:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L20) *style:* **Put spaces around all infix operators.**
```r
  z <- calc_sum_kda(Sy, Ny, I_Y, (theta_y/2), KDA_Y)
                                        ~^~
```
[R/evaluateLogLik2.R:21:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/evaluateLogLik2.R#L21) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/expected.R:1:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L1) *style:* **Variable and function names should be all lowercase.**
```r
prestonSort <- function(A) {
^~~~~~~~~~~
```
[R/expected.R:2:19:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L2) *style:* **Commas should always have a space after.**
```r
  output <- rep(0,13)
                  ^
```
[R/expected.R:3:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L3) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/expected.R:4:6:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L4) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(k in 1:length(output)) {
     ^
```
[R/expected.R:5:15:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L5) *style:* **Put spaces around all infix operators.**
```r
    start <- 2^(k-1)
             ~^~
```
[R/expected.R:5:16:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L5) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    start <- 2^(k-1)
               ^
```
[R/expected.R:5:18:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L5) *style:* **Put spaces around all infix operators.**
```r
    start <- 2^(k-1)
                ~^~
```
[R/expected.R:6:18:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L6) *style:* **Put spaces around all infix operators.**
```r
    end <- -1 + 2^(k)
                ~^~
```
[R/expected.R:6:19:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L6) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    end <- -1 + 2^(k)
                  ^
```
[R/expected.R:7:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L7) *style:* **Use two spaces to indent, never tabs.**
```r
		M <- draw_local(theta, alpha_x, alpha_y, J)
^~
```
[R/expected.R:7:7:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L7) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(end > length(A)) {
      ^
```
[R/expected.R:8:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L8) *style:* **Use two spaces to indent, never tabs.**
```r
		for (m in 1:length(M$guildX)) {
^~
```
[R/expected.R:9:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L9) *style:* **Use two spaces to indent, never tabs.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
^~~
```
[R/expected.R:10:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L10) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/expected.R:11:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
		for (m in 1:length(M$guildY)) {
^~
```
[R/expected.R:11:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L11) *style:* **Use two spaces to indent, never tabs.**
```r
		M <- draw_local_cond(theta, alpha_x, alpha_y, Jx, Jy)
^~
```
[R/expected.R:12:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
^~~
```
[R/expected.R:12:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L12) *style:* **Use two spaces to indent, never tabs.**
```r
		for (m in 1:length(M$guildX)) {
^~
```
[R/expected.R:13:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/expected.R:13:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L13) *style:* **Use two spaces to indent, never tabs.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
^~~
```
[R/expected.R:14:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L14) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/expected.R:15:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L15) *style:* **Use two spaces to indent, never tabs.**
```r
		for (m in 1:length(M$guildY)) {
^~
```
[R/expected.R:16:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L16) *style:* **Use two spaces to indent, never tabs.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
^~~
```
[R/expected.R:17:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L17) *style:* **Use two spaces to indent, never tabs.**
```r
		}
^~
```
[R/expected.R:21:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(theta < 1) {
    ^
```
[R/expected.R:25:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(m < 0) {
    ^
```
[R/expected.R:29:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(m > 1) {
    ^
```
[R/expected.R:33:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(J < 0) {
    ^
```
[R/expected.R:37:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L37) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/expected.R:38:5:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L38) *style:* **Use <-, not =, for assignment.**
```r
  I = (J-1)* m / (1-m)
    ^
```
[R/expected.R:38:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L38) *style:* **Put spaces around all infix operators.**
```r
  I = (J-1)* m / (1-m)
       ~^~
```
[R/expected.R:38:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L38) *style:* **Put spaces around all infix operators.**
```r
  I = (J-1)* m / (1-m)
          ~^
```
[R/expected.R:38:20:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L38) *style:* **Put spaces around all infix operators.**
```r
  I = (J-1)* m / (1-m)
                  ~^~
```
[R/expected.R:39:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L39) *warning:* **no visible global function definition for ‘pm_sad’**
```r
  aux <- pm_sad(theta, I, J)
         ^~~~~~
```
[R/expected.R:40:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L40) *style:* **Variable and function names should be all lowercase.**
```r
  SAD <- prestonSort(aux)
         ^~~~~~~~~~~
```
[R/expected.R:40:10:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L40) *warning:* **no visible global function definition for ‘prestonSort’**
```r
  SAD <- prestonSort(aux)
         ^~~~~~~~~~~
```
[R/expected.R:44:1:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L44) *style:* **Words within variable and function names should be separated by '_' rather than '.'.**
```r
expected.SAD.Guilds <- function(theta, alpha_x, alpha_y,
^~~~~~~~~~~~~~~~~~~
```
[R/expected.R:46:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L46) *style:* **Variable and function names should be all lowercase.**
```r
  meanX <- rep(0, J)
  ^~~~~
```
[R/expected.R:47:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L47) *style:* **Variable and function names should be all lowercase.**
```r
  meanY <- rep(0, J)
  ^~~~~
```
[R/expected.R:50:8:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L50) *warning:* **no visible global function definition for ‘draw_local’**
```r
		M <- draw_local(theta, alpha_x, alpha_y, J)
       ^~~~~~~~~~
```
[R/expected.R:50:19:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L50) *style:* **Put spaces around all infix operators.**
```r
		M <- draw_local(theta, alpha_x, alpha_y, J)
                 ~^~~
```
[R/expected.R:51:21:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L51) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		for (m in 1:length(M$guildX)) {
                    ^
```
[R/expected.R:51:38:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L51) *style:* **Variable and function names should be all lowercase.**
```r
		for (m in 1:length(M$guildX)) {
                                     ^~~~~~
```
[R/expected.R:52:25:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L52) *style:* **Variable and function names should be all lowercase.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
                        ^~~~~
```
[R/expected.R:52:34:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L52) *style:* **Put spaces around all infix operators.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
                                ~^~~
```
[R/expected.R:52:37:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L52) *style:* **Variable and function names should be all lowercase.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
                                    ^~~~~
```
[R/expected.R:52:50:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L52) *style:* **Variable and function names should be all lowercase.**
```r
			meanX[m] <- meanX[m] + M$guildX[m]
                                                 ^~~~~~
```
[R/expected.R:54:21:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L54) *style:* **Place a space before left parenthesis, except in a function call.**
```r
		for (m in 1:length(M$guildY)) {
                    ^
```
[R/expected.R:54:38:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L54) *style:* **Variable and function names should be all lowercase.**
```r
		for (m in 1:length(M$guildY)) {
                                     ^~~~~~
```
[R/expected.R:55:25:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L55) *style:* **Variable and function names should be all lowercase.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
                        ^~~~~
```
[R/expected.R:55:34:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L55) *style:* **Put spaces around all infix operators.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
                                ~^~~
```
[R/expected.R:55:37:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L55) *style:* **Variable and function names should be all lowercase.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
                                    ^~~~~
```
[R/expected.R:55:50:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L55) *style:* **Variable and function names should be all lowercase.**
```r
			meanY[m] <- meanY[m] + M$guildY[m]
                                                 ^~~~~~
```
[R/expected.R:58:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L58) *style:* **Variable and function names should be all lowercase.**
```r
  meanX <- meanX / n_replicates
  ^~~~~
```
[R/expected.R:58:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L58) *style:* **Variable and function names should be all lowercase.**
```r
  meanX <- meanX / n_replicates
           ^~~~~
```
[R/expected.R:59:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L59) *style:* **Variable and function names should be all lowercase.**
```r
  meanY <- meanY / n_replicates
  ^~~~~
```
[R/expected.R:59:12:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L59) *style:* **Variable and function names should be all lowercase.**
```r
  meanY <- meanY / n_replicates
           ^~~~~
```
[R/expected.R:61:3:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L61) *style:* **Variable and function names should be all lowercase.**
```r
  gX <- prestonSort(meanX)
  ^~
```
[R/expected.R:61:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L61) *style:* **Variable and function names should be all lowercase.**
```r
  gX <- prestonSort(meanX)
        ^~~~~~~~~~~
```
[R/expected.R:61:9:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L61) *warning:* **no visible global function definition for ‘prestonSort’**
```r
  gX <- prestonSort(meanX)
        ^~~~~~~~~~~
```
[R/expected.R:61:21:](https://github.com/thijsjanzen/GUILDS/blob/227c27db872cc36f220af7e8e5bc589ca60064ab/R/expected.R#L61) *style:* **Variable and function names should be all lowercase.**
```r
  gX <- prestonSort(meanX)
                    ^~~~~
```


Because it's slightly different. With `timed-out` the timeout expires if the socket does not connect within the given interval of time or if there is no activity on socket for more than specified amount of time. This means for example that the connection could be established just before the connection timeout expires, then a chunk of data is received just before the socket timeout expires, and so on until a timeout eventually expires and the request is aborted. For such cases the elapsed time is by far bigger than the specified timeout.

With this implementation the request is either completed within the specified amount of time or aborted, no matter what.


Alexandre Augusto


Doh, that reverted #7  ;)


Should we split content by modules or produce a single pile?


kotlin-test should be separate because it's not really part of stdlib. kotlin-reflect is currently packaged together with stdlib, and I think that's OK


you are bad


Left for compatibility with previous build output.


in fact ur rlly bad


even pipin is better than u


naa jk, pipin is crap


ur acc not that bad at this


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1127](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13993&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 8 (8 new), passed: 223, ignored: 3 Build time: 00:09:51
### Failed tests
```
org.genivi.sota.device_registry.DeviceResourceSpec.GET, PUT, DELETE, and POST '/ping' request fails on non-existent device: <no details avaliable>

org.genivi.sota.device_registry.DeviceResourceSpec.GET /system_info request fails on non-existent device: <no details avaliable>

org.genivi.sota.device_registry.DeviceResourceSpec.GET /group_info request fails on non-existent device: <no details avaliable>

org.genivi.sota.device_registry.DeviceResourceSpec.DELETE request after POST succeds and deletes device.: <no details avaliable>

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

org.genivi.sota.device_registry.DeviceResourceSpec.PUT request updates device.: <no details avaliable>

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

org.genivi.sota.device_registry.DeviceResourceSpec.DELETE group_info should delete group.: <no details avaliable>

```


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


Was the bin file changed also? Because this was driving me crazy on the mac


helo there pipin_fool_of_a_tuk


@seckroth Wonderful! It's so nice to see the full TOC, search box, and ebooks at https://history.state.gov/historicaldocuments/frus1977-80v16.

@tomfaith @mcdanielhn I recall we've discussed the idea of tweeting when the full text of a volume is available (+ ebooks + TEI). Forgive me if you've already started doing this and I've missed it, but if not, would you consider tweeting this out?


xxpipinslayerxx


ur a poop


I'm no programmer. Hire someone who knows what they are doing.


How is this used? without a @staticmethod decorator dct will always be the instance ("self"). In any case, why would you want to return the original dictionary(?) when you can't cast to complex? let it blow!
consider defining `def __complex__(self): (...)` instead.


Initial file


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


@mortensorensen quite opaque that `hbtt` is defined elsewhere -> in `code/processes/optimiser.q`
``hbtt: .servers.gethandlebytype[`bttickerplant;`any]`` line in this file would throw `'.servers.gethandlebytype`


@mclarekin
hey graeme,

I think you have your indentation wrong in your IDE.
Make sure you are using tabs, in qtcreator here:
Tools > Options > C++ > Edit Settings > Tab Policy ----> Select tabs only


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1129](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13999&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Exit code 1 (new) Build time: 00:00:40


EMS (brianlball) - x86_64-MacOS-10.10-clang: OK (2312 of 2493 tests passed, 0 test warnings)

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


markdown renders your list above as 1, 2 and 3, so saying "algorithms for a., b. and c." afterwards does not make sense.


Contact me and I will build a version for you.
I keep it updated, because I use it myself.


@jwhitlock Thanks for updating this, much appreciated.


The dependency on the package version seems a little odd to me. Wouldn't it be easier to never update electron-prebuilt and specify that version in the env or npmrc? It also makes it really hard for projects with electron forks to use prebuilt. I'll submit a PR for it, but I'm thinking something like
`process.env.ELECTRON_VERSION || process.env.npm_config_electron_version`


LGTM


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


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1128](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=13996&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Tests failed: 5 (1 new), passed: 217, ignored: 3 Build time: 00:08:54
### Failed tests
```
org.genivi.sota.core.transfer.DeviceUpdatesSpec.rest of installation queue (consecutive installPos) remains Pending upon one package failing to install: <no details avaliable>

org.genivi.sota.core.DeviceUpdatesResourceSpec.update requests with blacklisted packages are excluded from queue: <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>

```


Can we get rid of these warnings?


using the version means you can use semver ranges when installing devDependencies (I personally use this a lot to pin old versions for various reasons). why is this a problem for "forks"? you can always just depend on '*'


It's working without the file, maybe it's because it was already added on the main template


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


I find out what this was for, it shouldn't have been moved into Catalog.css as it was part of Options.css.

This is used for styling the theme options section of Oneechan but when viewing the catalog `blockquote` has no CSS and this fixes it.


Wow, thanks for fixing this! 👍


L425 refresh = Logic Change to just force vs
(force and (expired_min == 0 or repo_age_sec < expired_min)) Still missing

Should read
```
    # winrepo_age is -1 if repo db does not exist
    refresh = True if (force and (expired_min == 0 or repo_details.winrepo_age < expired_min)) \
        or repo_details.winrepo_age == -1 \
        or repo_details.winrepo_age > expired_max \
        else False
```


`ROLLUP_TASK_INFO.defaultConfigFilename` needs to be modified before this, and not in `runBundle`


@MichaelXavier
You're right; they will always work, defaulting to `Nothing`, and yes, it will mask an error there.

The explicit 'NA' parser - that would work for the VersionNumber case, where I can specify what to parse for. But not the "load_average" case, which may not be there  - though, now that I'm thinking about it, I might be able to use the normal `.:?`.

I'm happy do run with this. One thing for your consideration - would it make more sense, instead of wrapping a `Maybe`, changing VersionNumber to an ADT encapsulating the Null case?


Qualcosa non funziona come dovrebbe? Segnala il problema.


Hotfix for ending the joining phase too early.


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


Let me know if you I need to report an issue. This seems like quite a moving target for now :D


Build report #161964030 for sha 5c75cb88ffad30260608e48e1269352aecd01912:

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

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


there are several problems:
1. We don't always have the same version as electron so we have to fork and update for each one
2. Several other build modules depend on the version in electron-prebuilt packages.json so we have to fork all of those as well
I don't really understand the devDependencies argument because the only reason you would change versions for electron-prebuilt is to get feature/bug fix updates. The actual electron download version would always be the one in your npmrc
A lot of the parameters are currently settable in the npmrc, but the ones we really need are missing. I guess I don't care if you want to keep updating electron-prebuilt for every single electron release, but there should be a way to override it and use a different version in all the build modules


this function is almost useless. I'm open for a PR to remove this function and replace it in these lines https://github.com/thangngoc89/react-howler/blob/36db3f3e94830a9b4de6a2c7fd2674910e01b670/src/ReactHowler.js#L60-L61


Use the literal notation instead of a call to the constructor to illustrate return values. e,g,
```python
{"is_valid": True,
 "type": "BTCOpReturn",
 "source_id": "f3be82fe1b5d8f18e009cb9a491781289d2e01678311fe2b2e4e84381aafadee",
 "exists": True}  # <-- corrected typo in "true"
```

Better yet, use an actual session log in the interactive shell, i.e.:
```python
# ...snip...
>>> validator = Chainpoint()
>>> result = validator.is_valid_receipt(receipt)
{'source_id': 'f3be82fe1b5d8f18e009cb9a491781289d2e01678311fe2b2e4e84381aafadee', 'is_valid': True, 'type': 'BTCOpReturn', 'exists': True}
```


Hi. Sorry to bust in to your comments section, but is this something that might make UAC work in NSIS 3?
I am getting

!undef: "_UAC_ParseDefineFlags_orin_f2" not defined!
Error in macro _UAC_ParseDefineFlags_orin on macroline 12
Error in macro _UAC_ParseDefineFlags_Begin on macroline 6
Error in macro _UAC_ParseDefineFlagsToInt on macroline 1
Error in macro UAC_AsUser_Call on macroline 5
Error in macro UAC_AsUser_ExecShell on macroline 11


最新的是天翼2.2的算法，不更新吗？


we are trying to reduce the number of steps required to put out a new build and updating an extra repo just to bump the version seems really unnecessary


I saw your commit Landry, but I do not think it has been pushed to master


Fai il giro di prova delle ultime funzioni sperimentali e lascia la tua impronta sul futuro di Firefox.


C'était pour garder le code DRY vu que ce module est le même pour opérations et formations, pas pensé aux droits :)


Decidi insieme a noi quali funzioni includere nelle prossima versione di Firefox per Android.


start the file with
```python
from __future__ import unicode_literals
```
and forget about prefixing strings with `u`.


Yeah! :smile:


TeamCity Xbim :: Xbim Geometry :: XbimGeometry [Build 255](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=1216&buildTypeId=Xbim_XbimGeometry_XbimGeometry) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:26:20


@DomT4 `openssl.cnf` is missing from the Sierra bottle. If I install `openssl` with `--build-from-source`, the `openssl.cnf` is there.


References to issue #85


`type` is a ... type! you are shadowing the builtin. Don't.


ACK


I will investigate we should be able to make proper changes.

Sent from a mobile device.  Please excuse any typo or error.

On Sep 22, 2016 11:46 AM, "Sylvain Edoukou" <notifications@github.com>
wrote:

> I saw your commit Landry, but I do not think it has been pushed to master
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/yenlysone/AitNewWebRepo/commit/33ee482201e6e0f9136cf8215ac26cf4a5630f93#commitcomment-19133297>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AKY2YDpyEh_Jh78gDv8rhAw5Wsm3qDKXks5qsrD5gaJpZM4KEHmQ>
> .
>


I tuoi commenti ci aiutano a dare gli ultimi ritocchi per perfezionare le prestazioni e funzioni di Firefox in un ambiente stabile.


> don't have any opinion on this too

Then let's leave it as it is now. We tested all the time with really heavy loads so the 1008 MHz should be fine.


meh


It's missing from all the bottles. Not sure what happened there 😕. Will take a peek shortly.


ok


@pb00068 Oh, I think I see what you mean. If any king position changes, then the discovered check candidates become invalid for the other side ?


They weren't in use, but I brought them back in later.


Yes, for sure...


POS Tagger using NLTK


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


Con Nightly puoi provare ogni giorno (… o notte) le ultimissime funzioni di Firefox. Utilizza a tuo rischio e pericolo.


Yeah, I realized that later.


Yeah, `.:?` is perfect for the case where its just missing. I would advocate that we should use Maybe rather than adding a specialized Null. A NA version seems semantically equivalent to it not being there, unless NA actually doesn't mean not available, which I wouldn't put past elastic. We're really just papering over elasticsearch's inconsistent API and trying to present something sensible to the end user.


passi > trascorri


oh yes, of course! 😵


:)) haven't seen that get called once, can't find any good documentation either


Nice!


s/options/option/


Is there a bug in _.isFunction()?


Ok, so I'll do the `Maybe` `newtype` for VersionNumber, and change `load` to `.:?`.


I was wondering why it's called a hack.  If that constant was named or had explanation it doesn't really seem like a hack.


Binary search applied irl YEAAAH


Yup :)


superfluous `else` clause


deleteing


Dlaczego ustawianie pól związanych z pojazdem sprzedawcy zostało zastąpione metodą, która korzysta wyłącznie z pól nabywcy? (setVehicles())


Perhaps I misunderstood the instruction earlier but I think this should be
```
/*
 * Normally `copyProperty` would be an inline arrow function.
 * It is a standalone function here for illustrative purposes.
 */
```


No, but if jquery has the same function, we should use jquery - that is the
library angularjs depends on anyway.

On Thu, Sep 22, 2016 at 10:57 AM, Rob Nagler <notifications@github.com>
wrote:

> Is there a bug in _.isFunction()?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/radiasoft/sirepo/commit/e9216db90227cb81de093fb3612ee86aec2f2f7c#commitcomment-19133445>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGNwrnmVz2ky8MTeFqf3gfoCPkKaPFjrks5qsrNjgaJpZM4KEIMV>
> .
>


2 single line comments in a row.


Yeah, statements like this got a lot longer with the new commands but that better reflects the get and store process.  I was asking why it didn't exist because sctl wasn't a part of the port struct, but then I found it was defined as an actual member of the struct elsewhere.


Hi,

I updated the original ``gaia_tools`` package such that it simply downloads the APOGEE and APOGEE-RC data like the other catalogs if the ``jobovy/apogee`` is not installed. Don't want you or your students to not be using the APOGEE data! Please let me know if there is anything else I can do to make it easier to install.

Jo


I don't know why [electron-builder](https://github.com/electron-userland/electron-builder/) is using the "productName" as the name of the executable file, while the .rpm and .deb files are named using the "name" field from the Meteor settings JSON file.


Great, thank you!  :-)


Racja. Dziękuję za uwagę


Die Farbe ist kacke


Hello from GitHub.com!!!


I sometimes have empty device names here. If I have time, I'll investigate it.


#EXTINF:0, group-title="ΠΕΡΙΦΕΡΕΙΑΚΑ" tvg-logo="http://i.imgur.com/aZJPj9f.png",EXTRA CHANNEL BUP
http://5.196.81.121:8000/live/baba/baba/1382.m3u8


Proszę o zmianę typu pola z HSSFWorkbook na Workbook, oraz odpowiedno zmianę nazwy pola.


I hope that this commit fixes #69.


Help me


How did this fix anything?


I just changed the name of the variable to prdt to make it easier to read.  Both ports and prdts were referred to as p in the code and I found it confusing.


Doh, it says CSS but it should be JavaScript.  I'll update.


df


No, ESLint directives must use `/*` style comments.


Updated.


Initial commit


cool code....


Ok, that would make sense.  Should I make a set_<STRUCT>_bit(...) function for each structure the the read/write fucntions?  There at least five of them now so making one for each sort of makes it messy.


I dont really understand your use case sorry. You should probably open an issue explaining the problem in greater detail. If you *really* need a specific release process you can always build your own using electron-downloader


Proszę o refactor metody tak, by nie przechowywała stanu w postaci excelowego Workbooka, lecz zwracała go jako rezultat wykonania. Opakowane w Optional, ponieważ może nie udać się otworzyć pliku (zamiast zwracania nulla)


I'm not 100% sure what this is doing (docstring, please?), perhaps you meant:

```python
el = obj.get(attr)
assert isinstance(el, list), err_msg
return el
```


Agreed, but some things like `window` are globals and ESLint may not understand that they exist.  Also, when working with JavaScript libraries that work in browsers, they employ global variables.  Things like `moment` and `$` must be referenced globally.

Adding wording:

> A notable exception is when working with JavaScript that operates in a browser and 3rd party libraries
 are exposed only through global variables.


EMS (brianlball) - x86_64-Linux-Ubuntu-14.04-clang-3.5: OK (2292 of 2493 tests passed, 0 test warnings)

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


Fixed.  Will commit soon.


Maybe make a method that gets passed the preferred languages so we can add a couple tests. A test or 2 where we can see the expected output might make what's going on in the logic below a little less opaque.


Proszę o refactor metody, by jako parametr przyjmowała Workbook i wyłącznie on był parsowany.
Do rozważenia: przeniesienie tworzenia nowego produktu oraz sprawdzania pustych wierszy i ich pomijania do oddzielnych metod.


again, hash is a builtin function. Use another name


Text is plural.  Reworded slightly:

> The wording should come from an HTML template, a JSON file from a server or API calls.  Provide codes, not text strings.


Good catch.  Actually, it should be this:

    /* Normally `copyProperty` would be an inline arrow function.
     * It is a standalone function here for illustrative purposes.
     */


Fixed.


EMS (brianlball) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed, 0 test warnings)

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


Addresses Issue #5


Does line 17 need bumped to 2.7.1 too?


https://github.com/electron-userland/electron-prebuilt/issues/192
but even if you still don't understand, allowing an env/npmrc override for the version wouldn't cause any problems and you could still fall back to packages.json version if it doesn't exist


This is actually a fix to a YAML syntax-unrelated problem, but it went in with this commit..


Apparently there was a reason to change the color from blue: #349.


develop (Myoldmopar) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (1788 of 1788 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)


Cool!

Do you see a slowdown in ``benchmark.gc2``?  The other gc benchmarks look same or a little bit faster.


Also made some formatting updates to make things more consistent.


The current wording is in future tense.  Would "At the core of the suite of tools will be a package written in JavaScript using npm" be acceptable, or should the rest of the wording to be in present tense as well?


You could also import ElementFinder in this line


hm. thanks for the comment, but as far as I can tell I am now doing both of those things, and the error persists. Time to dig deeper


develop (Myoldmopar) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed, 0 test warnings)

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


Real quick:

Why does "n := &Node{Value: v}" work, but "n := new(Node{Value: v}) not?

On Wed, Sep 21, 2016 at 6:39 PM, Joe Tsai <notifications@github.com> wrote:

> It is sufficient to prove equality with just <, assuming that the
> implementation of < is sensible when it comes to defining some type of
> order (Note that NaN has weird properties where NaN != NaN)
>
> If a < b is false and b < a is false, then we know that a == b.
> Generally, you don't care about equality, unless you want to provide some
> guarantee of "stability" in your data structure sorting order.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/epkann/Data-Structures/commit/2298f8a0d3b806966a36670d789ccc5a2b761d4f#commitcomment-19122702>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ASib12Dyoh8z_X1AmjfziMUhYwdKiYCDks5qscAhgaJpZM4KCOtE>
> .
>

--
www.esthertsai.com


Hi Jo,

Great, thanks! I will ask my students to clone your repository directly.

Andres


I just think you need to explain what "The package" is before you mention "The package" -- right now it reads as if The package is the Software Citation Tools. Either tense is fine.


We could use `target.getWebElement()` instead of `target as any as WebElement`.


I think the condition is inverted because then returning Optional.absent() hides the model part, and providing a transformation renders the part.
The provided transformation is ignored though because of line 1368: _transform = modelState.apply(Optional.<IModelPart>absent());_
Changing that line to _transform = modelState.apply(Optional.of(Models.getHiddenModelPart(ImmutableList.of(g.getName()))));_ fixes that.

Another reason I believe theses are errors, is there doesn't appear to be a way to change the transforms anymore. In the previous system you could hide parts and change the transforms.

Also modelState.apply fits its naming as well; if a transform is provided it is applied to the part, otherwise the part is hidden


use `h1.getWebElement()`


why did you have this in the first place you cunt


The actual fix is here: https://github.com/aspnet/Common/pull/152


  EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../../../thirdparty/include"
 92   +  EXTRA_CFLAGS="-fno-tree-vectorize -D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../../../thirdparty/include"
93 93      EXTRA_LDFLAGS=""
94 94      if [ "${arch}" == "x86_64" ]; then
95 95        OPTIONS="${OPTIONS} --enable-cross-compile --cross-prefix=${cross_prefix} --target-os=mingw32 --pkg-config=pkg-config"


Get rid of hacked in namespaces?


For clarity, it might be helpful to call this a "DistinguishedName" or "Name" (which is what RFC 5280 uses).


I'm surprised this type-checks (I guess I'm not that familiar with Go yet). In any case, would it be helpful to pass along `err` so the caller can do something useful?


MoreDayliteFollowup (JasonGlazer) - x86_64-MacOS-10.9-clang: OK (2329 of 2336 tests passed, 24 test warnings)

 * 31 tests had: AUD diffs.
 * 15 tests had: Table small diffs.
 * 3 tests had: EIO diffs.
 * 3 tests had: RDD diffs.
 * 7 tests had: Table big diffs.

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


`Jawshy` not `Jawsh`.


test


Actualizo a la versión https://github.com/DjangoGirls/tutorial/commit/c4471e79f93804c7b8e37b64d7634a89766c0a81


не жалейте пустых строк, если они повышают читаемость


@renier Should we make 0 the default (consistent with Python and our own REST implementation?)


https://github.com/neurodata/discriminability/

On Wed, Sep 21, 2016 at 4:09 PM, Jesse Leigh Patsolic <
notifications@github.com> wrote:

> @jovo <https://github.com/jovo> Here's the html
> <http://docs.neurodata.io/synaptome-stats/Code/Discrimination.html>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/neurodata/synaptome-stats/commit/f82502aa821e4c74c8fda0fa3a6ca9abf22e337c#commitcomment-19119881>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AACjch0x2H94J2gftc1JxDuxxyyw6LsMks5qsY7vgaJpZM4KDOZT>
> .
>

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
<https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York>


In Go, `return` without arguments will return the variables defined in the function signature. In this case, `return` means `return xcert, err`.


Thanks for the info!
 I am replacing now the String#replace(CharSequence, CharSequence)  with Strings.replaceAll() and I will open a pull request soon


вы всюду пользуетесь размером стека - 10 элементов - если вам например потребуется поменять размер с 10 на 15, то вы будете вынуждены поменять его везде. Лучше завести константу:

#define SIZE 10

и использовать ее, чтобы менять только в одном месте


It's documented here https://github.com/hapijs/bell/issues/264

The gist of it, is that it did not work with Chrome in non-incognito mode even after cleaning all the cache and cookies and such. For some reason, chrome refused to send the cookie. Only browser that did in my tests. I don't mind somebody trying to replicate that and tell me I missed something obvious.


@renier Should `Timeout` be defined here, or in `Session`?  I think it is applicable to REST transport also (and could be sourced from the local .softlayer file and/or the `SL_API_TIMEOUT` environment variable.


Maybe it saw my previous 'Strict' cookie and I did not reset properly? I would love to put it to Lax since it worked great with the 5 providers and browsers I tested.


эта функция должна возвращать число - максимальный элемент - а за печать на экране будет отвечать совсем другое место.


вы повторяете ошибку коллеги. дело в том, что printf() возвращате количество напечатанных байт, а вовсе не верхний элемент стека. Да и за печать функция top() отвечать не должна.


you can takeep a look at
'enumerate' official documentation to get rid of i increment