[R/block.R:2:32:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
block_class <- R6Class("Block",
                               ^
```
[R/block.R:8:29:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L8) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
      assert_that(all(border[ , 1] < border[ , 2]))
                            ^
```
[R/block.R:9:31:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L9) *style:* **Commas should never have a space before.**
```r
      assert_that(all(border[ , 1] < border[ , 2]))
                             ~^
```
[R/block.R:9:46:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L9) *style:* **Commas should never have a space before.**
```r
      assert_that(all(border[ , 1] < border[ , 2]))
                                            ~^
```
[R/block.R:20:42:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L20) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
      upper <- denormalize(private$border[ , 2], jaatha)
                                         ^
```
[R/block.R:20:44:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L20) *style:* **Commas should never have a space before.**
```r
      lower <- denormalize(private$border[ , 1], jaatha)
                                          ~^
```
[R/block.R:21:44:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L21) *style:* **Commas should never have a space before.**
```r
      upper <- denormalize(private$border[ , 2], jaatha)
                                          ~^
```
[R/block.R:25:27:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L25) *style:* **Commas should never have a space before.**
```r
      all(private$border[ , 1] - 1e-15 <= point &
                         ~^
```
[R/block.R:25:50:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
      all(private$border[ , 1] - 1e-15 <= point &
                                                 ^
```
[R/block.R:26:38:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L26) *style:* **Commas should never have a space before.**
```r
            point <= private$border[ , 2] + 1e-15)
                                    ~^
```
[R/block.R:28:27:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L28) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
      m <- (private$border[ , 2] - private$border[ , 1]) / 2 +
                          ^
```
[R/block.R:29:29:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L29) *style:* **Commas should never have a space before.**
```r
      m <- (private$border[ , 2] - private$border[ , 1]) / 2 +
                           ~^
```
[R/block.R:29:52:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L29) *style:* **Commas should never have a space before.**
```r
      m <- (private$border[ , 2] - private$border[ , 1]) / 2 +
                                                  ~^
```
[R/block.R:29:63:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L29) *style:* **Trailing whitespace is superfluous.**
```r
      m <- (private$border[ , 2] - private$border[ , 1]) / 2 +
                                                              ^
```
[R/block.R:30:25:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L30) *style:* **Commas should never have a space before.**
```r
        private$border[ , 1]
                       ~^
```
[R/block.R:36:26:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L36) *style:* **Commas should never have a space before.**
```r
        private$border[i , , drop = FALSE]
                        ~^
```
[R/block.R:36:28:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L36) *style:* **Commas should never have a space before.**
```r
        private$border[i , , drop = FALSE]
                          ~^
```
[R/block.R:37:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L37) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      }), KEEP.OUT.ATTRS = FALSE)
      ^
```
[R/block.R:45:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L45) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/block.R:49:58:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L49) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                                  max = self$get_border()[ , 2]),
                                                         ^
```
[R/block.R:49:60:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L49) *style:* **Commas should never have a space before.**
```r
                                  min = self$get_border()[ , 1],
                                                          ~^
```
[R/block.R:50:60:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L50) *style:* **Commas should never have a space before.**
```r
                                  max = self$get_border()[ , 2]),
                                                          ~^
```
[R/block.R:52:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/block.R#L52) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/boot_jaatha.R:24:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L24) *warning:* **no visible global function definition for ‘require_package’**
```r
  require_package("boot")
  ^~~~~~~~~~~~~~~
```
[R/boot_jaatha.R:28:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L28) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/boot_jaatha.R:33:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L33) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/boot_jaatha.R:38:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L38) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/boot_jaatha.R:41:76:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
                   file = tempfile(paste0("boot_log_", Sys.getpid(), "_")),
                                                                           ^
```
[R/boot_jaatha.R:43:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/boot_jaatha.R:46:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L46) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/boot_jaatha.R:49:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L49) *warning:* **no visible global function definition for ‘create_jaatha_data.default’**
```r
    create_jaatha_data.default(sim_data, model)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/boot_jaatha.R:51:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L51) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/boot_jaatha.R:52:39:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L52) *style:* **Trailing whitespace is superfluous.**
```r
  boot::boot(data, jaatha_stat, R = R,
                                      ^
```
[R/boot_jaatha.R:53:33:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L53) *style:* **Trailing whitespace is superfluous.**
```r
             sim = "parametric",
                                ^
```
[R/boot_jaatha.R:54:38:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/boot_jaatha.R#L54) *style:* **Trailing whitespace is superfluous.**
```r
             ran.gen = simulate_data,
                                     ^
```
[R/coala_interface.R:33:45:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
create_jaatha_model.coalmodel <- function(x,
                                            ^
```
[R/coala_interface.R:44:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L44) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:45:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L45) *warning:* **no visible global function definition for ‘require_package’**
```r
  require_package("coala")
  ^~~~~~~~~~~~~~~
```
[R/coala_interface.R:48:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L48) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:50:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L50) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:53:38:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L53) *style:* **Commas should always have a space after.**
```r
  par_ranges <- as.matrix(par_table[,-1])
                                     ^
```
[R/coala_interface.R:60:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L60) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:61:64:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L61) *style:* **Trailing whitespace is superfluous.**
```r
  create_jaatha_model.function(sim_func, par_ranges, sum_stats,
                                                               ^
```
[R/coala_interface.R:69:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:70:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L70) *warning:* **no visible global function definition for ‘require_package’**
```r
  require_package("coala")
  ^~~~~~~~~~~~~~~
```
[R/coala_interface.R:71:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L71) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.string(jsfs_summary))
  ^~~~~~~~~~~
```
[R/coala_interface.R:71:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L71) *warning:* **no visible global function definition for ‘is.string’**
```r
  assert_that(is.string(jsfs_summary))
              ^~~~~~~~~
```
[R/coala_interface.R:72:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L72) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:75:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L75) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/coala_interface.R:80:11:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L80) *warning:* **no visible global function definition for ‘coarsen_jsfs’**
```r
          coarsen_jsfs(x[[name]], jsfs_part, jsfs_part_hi)
          ^~~~~~~~~~~~
```
[R/coala_interface.R:90:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L90) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/coala_interface.R:93:14:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L93) *warning:* **no visible global function definition for ‘create_jaatha_stat’**
```r
      return(create_jaatha_stat(name, function(x, opts) x[[name]]))
             ^~~~~~~~~~~~~~~~~~
```
[R/coala_interface.R:95:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L95) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/coala_interface.R:99:20:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L99) *style:* **Commas should never have a space before.**
```r
        x[[name]][ , c(1, 2, 6), drop = FALSE]
                  ~^
```
[R/coala_interface.R:100:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L100) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      }, poisson = FALSE, breaks = four_gamete_breaks))
      ^
```
[R/coala_interface.R:102:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L102) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/coala_interface.R:106:49:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L106) *style:* **Trailing whitespace is superfluous.**
```r
                                poisson = FALSE,
                                                ^
```
[R/coala_interface.R:109:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L109) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/coala_interface.R:119:4:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L119) *style:* **Commented code should be removed.**
```r
  ## A[p[1,1]:p[1:2],p[2,1]:p[2:2],...] consists of the same values as A[v],
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/coala_interface.R:122:12:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L122) *style:* **Commas should always have a space after.**
```r
  v <- p[N,1]:p[N,2]
           ^
```
[R/coala_interface.R:122:19:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L122) *style:* **Commas should always have a space after.**
```r
  v <- p[N,1]:p[N,2]
                  ^
```
[R/coala_interface.R:125:28:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L125) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      v <- as.vector(outer((v - 1)*d[n], p[n, 1]:p[n, 2], "+"))
                           ^
```
[R/coala_interface.R:125:35:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L125) *style:* **Put spaces around all infix operators.**
```r
      v <- as.vector(outer((v - 1)*d[n], p[n, 1]:p[n, 2], "+"))
                                 ~^~
```
[R/coala_interface.R:128:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L128) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:177:26:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L177) *style:* **Commas should always have a space after.**
```r
      if (tail(part[[i]],1) >= upper[1]) {
                         ^
```
[R/coala_interface.R:183:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L183) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:187:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L187) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:189:18:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L189) *style:* **Trailing whitespace is superfluous.**
```r
  combinations <-
                 ^
```
[R/coala_interface.R:191:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L191) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:199:20:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L199) *warning:* **no visible global function definition for ‘multi_index_range’**
```r
    z[i] <- sum(ja[multi_index_range(d, p)])
                   ^~~~~~~~~~~~~~~~~
```
[R/coala_interface.R:201:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L201) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/coala_interface.R:204:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/coala_interface.R#L204) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/fit_glm.R:8:52:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L8) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
fit_glm.jaatha_model <- function(x, sim_data, ...) {
                                                   ^
```
[R/fit_glm.R:8:53:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
fit_glm.jaatha_model <- function(x, sim_data, ...) {
                                                    ^
```
[R/fit_glm.R:10:29:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L10) *warning:* **no visible binding for global variable ‘fit_glm’**
```r
  lapply(x$get_sum_stats(), fit_glm, sim_data, ...)
                            ^~~~~~~
```
[R/fit_glm.R:19:16:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
  X <- cbind(1,
               ^
```
[R/fit_glm.R:21:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L21) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/fit_glm.R:24:21:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L24) *style:* **Commas should never have a space before.**
```r
      glm.fit(X, Y[ , i], family = poisson("log"),
                   ~^
```
[R/fit_glm.R:24:51:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
      glm.fit(X, Y[ , i], family = poisson("log"),
                                                  ^
```
[R/fit_glm.R:28:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L28) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/fit_glm.R:42:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L42) *style:* **Commented code should be removed.**
```r
#   par_names <- names(sim_data[[1]]$pars)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/fit_glm.R:50:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L50) *style:* **Commented code should be removed.**
```r
#     colnames(pars) <- names(sim_result$pars.normal)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/fit_glm.R:51:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L51) *style:* **Commented code should be removed.**
```r
#     data.frame(pars, sim_result[[sum_stat$get_name()]])
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/fit_glm.R:57:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L57) *style:* **Commented code should be removed.**
```r
#   if (!smooth_glm$converged) stop("GLM did not converge")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/fit_glm.R:59:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/fit_glm.R#L59) *style:* **Commented code should be removed.**
```r
#   list(smooth=smooth_glm)
    ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/initialization.R:1:70:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L1) *style:* **Trailing whitespace is superfluous.**
```r
get_start_pos <- function(model, data, reps, sim, init_method, cores,
                                                                     ^
```
[R/initialization.R:3:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L3) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:6:18:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L6) *warning:* **no visible global function definition for ‘do_zoom_in_search’**
```r
    start_pos <- do_zoom_in_search(model, data, reps, sim, cores, sim_cache)
                 ^~~~~~~~~~~~~~~~~
```
[R/initialization.R:8:18:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L8) *warning:* **no visible global function definition for ‘do_initial_search’**
```r
    start_pos <- do_initial_search(model, data, reps, sim, cores, sim_cache)
                 ^~~~~~~~~~~~~~~~~
```
[R/initialization.R:12:62:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
    start_pos <- matrix(runif(reps * model$get_par_number()),
                                                             ^
```
[R/initialization.R:17:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L17) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:18:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L18) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.matrix(start_pos))
  ^~~~~~~~~~~
```
[R/initialization.R:19:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L19) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(all((dim(start_pos) == c(reps, model$get_par_number()))))
  ^~~~~~~~~~~
```
[R/initialization.R:19:19:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  assert_that(all((dim(start_pos) == c(reps, model$get_par_number()))))
                  ^
```
[R/initialization.R:27:21:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L27) *warning:* **no visible global function definition for ‘determine_bpp’**
```r
  blocks_per_par <- determine_bpp(par_number, reps)
                    ^~~~~~~~~~~~~
```
[R/initialization.R:28:13:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L28) *warning:* **no visible global function definition for ‘create_initial_blocks’**
```r
  blocks <- create_initial_blocks(model$get_par_ranges(), blocks_per_par)
            ^~~~~~~~~~~~~~~~~~~~~
```
[R/initialization.R:29:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L29) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:31:62:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L31) *style:* **Trailing whitespace is superfluous.**
```r
  estimates <- lapply(blocks, estimate_local_ml, model, data,
                                                             ^
```
[R/initialization.R:37:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L37) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:39:76:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  best_indexes <- order(vapply(estimates, function(x) x$value, numeric(1)),
                                                                           ^
```
[R/initialization.R:41:55:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  t(vapply(estimates[best_indexes], function(x) x$par,
                                                      ^
```
[R/initialization.R:62:17:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L62) *warning:* **no visible global function definition for ‘create_block’**
```r
    return(list(create_block(basic_block)))
                ^~~~~~~~~~~~
```
[R/initialization.R:64:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L64) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:72:45:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L72) *warning:* **no visible global function definition for ‘create_block’**
```r
      blocks[[(j - 1) * par_number + i]] <- create_block(new_block)
                                            ^~~~~~~~~~~~
```
[R/initialization.R:75:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L75) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/initialization.R:86:17:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L86) *warning:* **no visible global function definition for ‘estimate_local_ml’**
```r
      middle <- estimate_local_ml(block, model, data, sim, cores, sim_cache)$par
                ^~~~~~~~~~~~~~~~~
```
[R/initialization.R:90:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/initialization.R#L90) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, numeric(model$get_par_number())))
  ^
```
[R/jaatha_data.R:2:44:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_data.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
jaatha_data_class <- R6Class("jaatha_data",
                                           ^
```
[R/jaatha_data.R:16:57:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_data.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
          stop("Data has missing values for statistic ",
                                                        ^
```
[R/jaatha_data.R:26:9:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_data.R#L26) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        }, numeric(1))
        ^
```
[R/jaatha_data.R:84:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_data.R#L84) *warning:* **no visible binding for global variable ‘jaatha_data_class’**
```r
  jaatha_data_class$new(data, model)
  ^~~~~~~~~~~~~~~~~
```
[R/jaatha_data.R:90:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_data.R#L90) *warning:* **no visible global function definition for ‘create_jaatha_data’**
```r
  create_jaatha_data(test_data, model)
  ^~~~~~~~~~~~~~~~~~
```
[R/jaatha_log.R:1:42:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L1) *style:* **Trailing whitespace is superfluous.**
```r
jaatha_log_class <- R6Class("jaatha_log",
                                         ^
```
[R/jaatha_log.R:18:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L18) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_log.R:26:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L26) *style:* **lines should not be more than 80 characters.**
```r
      private$final_estimates <- private$estimates[[1]][rep(1, 5 * par_number), ]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/jaatha_log.R:44:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L44) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_log.R:47:76:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L47) *style:* **Trailing whitespace is superfluous.**
```r
        message(" Step ", step, ": Loglikelihood ", format(estimate$value),
                                                                           ^
```
[R/jaatha_log.R:50:66:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L50) *style:* **Trailing whitespace is superfluous.**
```r
        message(" Parameter: ", private$format_par(estimate$par),
                                                                 ^
```
[R/jaatha_log.R:51:53:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L51) *style:* **Trailing whitespace is superfluous.**
```r
                ", Loglikelihood ", format(old_llh),
                                                    ^
```
[R/jaatha_log.R:57:36:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L57) *style:* **Trailing whitespace is superfluous.**
```r
        message("Repetition ", rep,
                                   ^
```
[R/jaatha_log.R:63:31:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L63) *style:* **Use <-, not =, for assignment.**
```r
      private$converged[step] = TRUE
                              ^
```
[R/jaatha_log.R:67:60:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L67) *style:* **Trailing whitespace is superfluous.**
```r
      message("Determining starting positions using the '",
                                                           ^
```
[R/jaatha_log.R:88:45:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_log.R#L88) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      param <- as.numeric(best_estimate[1, -(1:3)])
                                            ^
```
[R/jaatha_model.R:4:46:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
jaatha_model_class <- R6Class("jaatha_model",
                                             ^
```
[R/jaatha_model.R:13:71:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
        stop("There already is a summary statistic with name '", name,
                                                                      ^
```
[R/jaatha_model.R:21:59:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
    initialize = function(sim_func, par_ranges, sum_stats,
                                                          ^
```
[R/jaatha_model.R:43:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_model.R:46:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L46) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_model.R:51:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L51) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:55:9:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L55) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        }, error = function(e) {
        ^
```
[R/jaatha_model.R:56:22:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L56) *style:* **Use <-, not =, for assignment.**
```r
          error_dump = tempfile("jaatha_frame_dump_", fileext = ".Rda")
                     ^
```
[R/jaatha_model.R:59:76:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L59) *style:* **Trailing whitespace is superfluous.**
```r
          stop(paste(e$message, "[Frame dump written to", error_dump, "]"),
                                                                           ^
```
[R/jaatha_model.R:62:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L62) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:63:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L63) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:68:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L68) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:72:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L72) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:74:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L74) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      }, mc.preschedule = !private$slow_sim, mc.cores = cores)
      ^
```
[R/jaatha_model.R:75:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L75) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_model.R:83:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L83) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:93:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L93) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_model.R:97:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L97) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:100:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L100) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~
```
[R/jaatha_model.R:103:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L103) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha_model.R:134:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L134) *style:* **lines should not be more than 80 characters.**
```r
create_jaatha_model.default <- function(x, ..., scaling_factor = 1, test = TRUE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/jaatha_model.R:167:61:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L167) *style:* **Trailing whitespace is superfluous.**
```r
                                         scaling_factor = 1,
                                                            ^
```
[R/jaatha_model.R:169:51:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha_model.R#L169) *style:* **Trailing whitespace is superfluous.**
```r
  jaatha_model_class$new(x, par_ranges, sum_stats,
                                                  ^
```
[R/jaatha.R:64:32:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L64) *style:* **Trailing whitespace is superfluous.**
```r
jaatha <- function(model, data,
                               ^
```
[R/jaatha.R:65:36:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L65) *style:* **Trailing whitespace is superfluous.**
```r
                   repetitions = 3,
                                   ^
```
[R/jaatha.R:66:54:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L66) *style:* **Trailing whitespace is superfluous.**
```r
                   sim = model$get_par_number() * 25,
                                                     ^
```
[R/jaatha.R:67:36:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L67) *style:* **Trailing whitespace is superfluous.**
```r
                   max_steps = 100,
                                   ^
```
[R/jaatha.R:68:64:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L68) *style:* **Trailing whitespace is superfluous.**
```r
                   init_method = c("zoom-in", "initial-search",
                                                               ^
```
[R/jaatha.R:74:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L74) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/jaatha.R:76:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L76) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_jaatha_model(model))
  ^~~~~~~~~~~
```
[R/jaatha.R:76:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L76) *warning:* **no visible global function definition for ‘is_jaatha_model’**
```r
  assert_that(is_jaatha_model(model))
              ^~~~~~~~~~~~~~~
```
[R/jaatha.R:77:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L77) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_jaatha_data(data))
  ^~~~~~~~~~~
```
[R/jaatha.R:77:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L77) *warning:* **no visible global function definition for ‘is_jaatha_data’**
```r
  assert_that(is_jaatha_data(data))
              ^~~~~~~~~~~~~~
```
[R/jaatha.R:78:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L78) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.count(repetitions))
  ^~~~~~~~~~~
```
[R/jaatha.R:78:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L78) *warning:* **no visible global function definition for ‘is.count’**
```r
  assert_that(is.count(repetitions))
              ^~~~~~~~
```
[R/jaatha.R:79:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L79) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.count(sim))
  ^~~~~~~~~~~
```
[R/jaatha.R:79:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L79) *warning:* **no visible global function definition for ‘is.count’**
```r
  assert_that(is.count(sim))
              ^~~~~~~~
```
[R/jaatha.R:80:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L80) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.count(cores))
  ^~~~~~~~~~~
```
[R/jaatha.R:80:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L80) *warning:* **no visible global function definition for ‘is.count’**
```r
  assert_that(is.count(cores))
              ^~~~~~~~
```
[R/jaatha.R:81:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L81) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.numeric(block_width) && length(block_width) == 1)
  ^~~~~~~~~~~
```
[R/jaatha.R:82:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L82) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(block_width > 0 && block_width < 1)
  ^~~~~~~~~~~
```
[R/jaatha.R:83:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L83) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/jaatha.R:85:10:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L85) *warning:* **no visible global function definition for ‘create_jaatha_log’**
```r
  log <- create_jaatha_log(model, data, repetitions, max_steps, verbose = TRUE)
         ^~~~~~~~~~~~~~~~~
```
[R/jaatha.R:87:16:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L87) *warning:* **no visible global function definition for ‘create_sim_cache’**
```r
  sim_cache <- create_sim_cache(sim_cache_limit)
               ^~~~~~~~~~~~~~~~
```
[R/jaatha.R:89:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L89) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/jaatha.R:94:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L94) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/jaatha.R:100:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L100) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/jaatha.R:103:64:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L103) *style:* **Trailing whitespace is superfluous.**
```r
                                  estimate + block_width * .5),
                                                               ^
```
[R/jaatha.R:105:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L105) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha.R:106:19:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L106) *warning:* **no visible global function definition for ‘estimate_local_ml’**
```r
      local_ml <- estimate_local_ml(block, model, data, sim, cores, sim_cache)
                  ^~~~~~~~~~~~~~~~~
```
[R/jaatha.R:113:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L113) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha.R:118:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L118) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/jaatha.R:125:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L125) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/jaatha.R:131:65:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L131) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    llh <- estimate_llh(model, data, as.numeric(best_values[i, -(1:3)]),
                                                                ^
```
[R/jaatha.R:131:73:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L131) *style:* **Trailing whitespace is superfluous.**
```r
    llh <- estimate_llh(model, data, as.numeric(best_values[i, -(1:3)]),
                                                                        ^
```
[R/jaatha.R:135:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/jaatha.R#L135) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:1:52:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L1) *style:* **Trailing whitespace is superfluous.**
```r
calc_poisson_llh <- function(data, stat, loglambda,
                                                   ^
```
[R/likelihood.R:3:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L3) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:7:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L7) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:10:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L10) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:11:49:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
  llh <- sum(data$get_values(stat) * loglambda -
                                                ^
```
[R/likelihood.R:13:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L13) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:14:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L14) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.finite(llh))
  ^~~~~~~~~~~
```
[R/likelihood.R:25:75:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L25) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
approximate_llh.default <- function(x, data, param, glm_fitted, sim, ...) {
                                                                          ^
```
[R/likelihood.R:25:76:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
approximate_llh.default <- function(x, data, param, glm_fitted, sim, ...) {
                                                                           ^
```
[R/likelihood.R:32:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L32) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_jaatha_data(data))
  ^~~~~~~~~~~
```
[R/likelihood.R:32:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L32) *warning:* **no visible global function definition for ‘is_jaatha_data’**
```r
  assert_that(is_jaatha_data(data))
              ^~~~~~~~~~~~~~
```
[R/likelihood.R:33:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L33) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.numeric(param))
  ^~~~~~~~~~~
```
[R/likelihood.R:34:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L34) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.list(glm_fitted))
  ^~~~~~~~~~~
```
[R/likelihood.R:42:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L42) *style:* **Variable and function names should not be longer than 30 characters.**
```r
approximate_llh.jaatha_stat_basic  <- function(x, data, param, glm_fitted,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/likelihood.R:42:75:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
approximate_llh.jaatha_stat_basic  <- function(x, data, param, glm_fitted,
                                                                          ^
```
[R/likelihood.R:44:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L44) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:48:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L48) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:50:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L50) *warning:* **no visible global function definition for ‘calc_poisson_llh’**
```r
  calc_poisson_llh(data, x, loglambda, sim, scaling_factor)
  ^~~~~~~~~~~~~~~~
```
[R/likelihood.R:59:25:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L59) *warning:* **no visible global function definition for ‘approximate_llh’**
```r
                        approximate_llh(model, data, param, glms, sim)
                        ^~~~~~~~~~~~~~~
```
[R/likelihood.R:61:41:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L61) *style:* **Commas should never have a space before.**
```r
                      lower = boundary[ , 1, drop = FALSE],
                                       ~^
```
[R/likelihood.R:61:60:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L61) *style:* **Trailing whitespace is superfluous.**
```r
                      lower = boundary[ , 1, drop = FALSE],
                                                           ^
```
[R/likelihood.R:62:41:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L62) *style:* **Commas should never have a space before.**
```r
                      upper = boundary[ , 2, drop = FALSE],
                                       ~^
```
[R/likelihood.R:63:43:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L63) *style:* **Trailing whitespace is superfluous.**
```r
                      method = "L-BFGS-B",
                                          ^
```
[R/likelihood.R:65:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L65) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:66:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L66) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(block$includes(best_value$par))
  ^~~~~~~~~~~
```
[R/likelihood.R:73:68:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L73) *style:* **Trailing whitespace is superfluous.**
```r
    sim_data <- model$simulate(pars = block$sample_pars(sim, TRUE),
                                                                   ^
```
[R/likelihood.R:75:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L75) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:79:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L79) *warning:* **no visible global function definition for ‘assert_that’**
```r
    assert_that(length(sim_data) >= sim)
    ^~~~~~~~~~~
```
[R/likelihood.R:80:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L80) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/likelihood.R:82:22:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L82) *warning:* **no visible global function definition for ‘fit_glm’**
```r
    glms <- tryCatch(fit_glm(model, sim_data), error = identity)
                     ^~~~~~~
```
[R/likelihood.R:83:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L83) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:87:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L87) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/likelihood.R:91:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L91) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:92:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L92) *warning:* **no visible global function definition for ‘optimize_llh’**
```r
  optimize_llh(block, model, data, glms, length(sim_data))
  ^~~~~~~~~~~~
```
[R/likelihood.R:115:60:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L115) *style:* **Trailing whitespace is superfluous.**
```r
estimate_llh <- function(model, data, parameter, sim = 100,
                                                           ^
```
[R/likelihood.R:117:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L117) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:118:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L118) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_jaatha_model(model))
  ^~~~~~~~~~~
```
[R/likelihood.R:118:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L118) *warning:* **no visible global function definition for ‘is_jaatha_model’**
```r
  assert_that(is_jaatha_model(model))
              ^~~~~~~~~~~~~~~
```
[R/likelihood.R:119:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L119) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_jaatha_data(data))
  ^~~~~~~~~~~
```
[R/likelihood.R:119:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L119) *warning:* **no visible global function definition for ‘is_jaatha_data’**
```r
  assert_that(is_jaatha_data(data))
              ^~~~~~~~~~~~~~
```
[R/likelihood.R:120:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L120) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.numeric(parameter))
  ^~~~~~~~~~~
```
[R/likelihood.R:121:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L121) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.count(sim))
  ^~~~~~~~~~~
```
[R/likelihood.R:121:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L121) *warning:* **no visible global function definition for ‘is.count’**
```r
  assert_that(is.count(sim))
              ^~~~~~~~
```
[R/likelihood.R:122:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L122) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.count(cores))
  ^~~~~~~~~~~
```
[R/likelihood.R:122:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L122) *warning:* **no visible global function definition for ‘is.count’**
```r
  assert_that(is.count(cores))
              ^~~~~~~~
```
[R/likelihood.R:123:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L123) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is_single_logical(normalized))
  ^~~~~~~~~~~
```
[R/likelihood.R:123:15:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L123) *warning:* **no visible global function definition for ‘is_single_logical’**
```r
  assert_that(is_single_logical(normalized))
              ^~~~~~~~~~~~~~~~~
```
[R/likelihood.R:124:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L124) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:135:5:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L135) *warning:* **no visible global function definition for ‘calc_poisson_llh’**
```r
    calc_poisson_llh(data, stat, log_means, sim, model$get_scaling_factor())
    ^~~~~~~~~~~~~~~~
```
[R/likelihood.R:136:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L136) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }, numeric(1)))
  ^
```
[R/likelihood.R:137:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L137) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/likelihood.R:138:3:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/likelihood.R#L138) *warning:* **no visible global function definition for ‘assert_that’**
```r
  assert_that(is.finite(llh))
  ^~~~~~~~~~~
```
[R/par_ranges.R:2:42:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L2) *style:* **Trailing whitespace is superfluous.**
```r
par_ranges_class <- R6Class("par_ranges",
                                         ^
```
[R/par_ranges.R:13:32:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L13) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
      assert_that(all(par_range[ , 1] < par_range[ , 2]))
                               ^
```
[R/par_ranges.R:14:34:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L14) *style:* **Commas should never have a space before.**
```r
      assert_that(all(par_range[ , 1] < par_range[ , 2]))
                                ~^
```
[R/par_ranges.R:14:52:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L14) *style:* **Commas should never have a space before.**
```r
      assert_that(all(par_range[ , 1] < par_range[ , 2]))
                                                  ~^
```
[R/par_ranges.R:21:53:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L21) *style:* **Commas should never have a space before.**
```r
      private$log_range_width <- private$log_range[ , 2] -
                                                   ~^
```
[R/par_ranges.R:21:59:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L21) *style:* **Trailing whitespace is superfluous.**
```r
      private$log_range_width <- private$log_range[ , 2] -
                                                          ^
```
[R/par_ranges.R:22:55:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L22) *style:* **Commas should never have a space before.**
```r
                                   private$log_range[ , 1]
                                                     ~^
```
[R/par_ranges.R:26:39:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L26) *style:* **Commas should never have a space before.**
```r
      (log_value - private$log_range[ , 1]) / private$log_range_width
                                     ~^
```
[R/par_ranges.R:29:64:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L29) *style:* **Commas should never have a space before.**
```r
      exp(value * private$log_range_width + private$log_range[ , 1]) +
                                                              ~^
```
[R/par_ranges.R:29:71:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L29) *style:* **Trailing whitespace is superfluous.**
```r
      exp(value * private$log_range_width + private$log_range[ , 1]) +
                                                                      ^
```
[R/par_ranges.R:36:23:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L36) *style:* **Commas should never have a space before.**
```r
      (private$range[ , 2] - private$range[ , 1]) / 2 + private$range[ , 1]
                     ~^
```
[R/par_ranges.R:36:45:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L36) *style:* **Commas should never have a space before.**
```r
      (private$range[ , 2] - private$range[ , 1]) / 2 + private$range[ , 1]
                                           ~^
```
[R/par_ranges.R:36:72:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/par_ranges.R#L36) *style:* **Commas should never have a space before.**
```r
      (private$range[ , 2] - private$range[ , 1]) / 2 + private$range[ , 1]
                                                                      ~^
```
[R/simulation_cache.R:22:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/simulation_cache.R#L22) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/simulation_cache.R:27:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/simulation_cache.R#L27) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      }, logical(1))
      ^
```
[R/simulation_cache.R:29:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/simulation_cache.R#L29) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/simulation_cache.R:37:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/simulation_cache.R#L37) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```
[R/simulation_cache.R:40:7:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/simulation_cache.R#L40) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      }, logical(1))
      ^
```
[R/stat_basic.R:8:1:](https://github.com/statgenlmu/jaatha/blob/7ccdc4f71a0be3db16878d452dab76608934c247/R/stat_basic.R#L8) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~
```


Basically, `setTimeout()` when used like this is `setInterval()`'s more patient and friendly neighbour.

Instead of trying to run every 300 milliseconds no matter what...this approach will *wait* until the function is finished executing (Which may take some time) before it schedules itself again.

It's a subtle difference, but an important one--especially if you ever write code that might take longer than 300ms to run.


Thanks for the report! I've opened the PR


@thebigsmileXD
Would you like to test this ?


Yeah, but split on `","` not `" "`.


OH GOD! When have you done this? Haven't seen you active. Is the PressurePlate improvement i did already in this?
And.. Stupid genisys logic or genius genisys imagicalmine combo logic?


You've elsewhere chosen to use the convention of treating `return` as what it is: an operator. Here you're treating it like a function (with the parentheses). I suggest changing back to `return true;`


Oh muy bien


@kyef @orta idk if guides requires a manual deployment (and thus this late commit needs a redeploy) or if the deployment on guides.cocoapods.org is done via a hook automatically?


There are 4 different versions there you could use on Windows, I think that would just cause additional confusion.


This part finished by my self .
Logical with super performance
 but there are some small bugs due to some Broadcast type remove
I will fix them later


HTTP_OPENCART should have static http:// and a new constant HTTPS_SERVER takes over protocol, fixed in f5b496b and 51ef198


The server is down


@tomkawamura I have changed my username and wish you well on your open source endeavors.


Added.


Why not name it `DoDynamicTableName`?


Looks good to me. Talked about this with the guys from the raspberry and app group. They agree to this design.
Maybe the raspberry group can copy this structure for local use before sending to the webserver and in terms of internet failure  (and just dont use the three tables "users", "locations" and "products").


1. SetLocation is their CART systems popup thing they have on every page for adding items to the cart.
2. Should have been (again won't work unless there is a legit CustPartID on their system.
3. Log for testing right now because I am trying to add some CustPartIDs and seeing if it works on their site. I will remove this after testing.


Great job, Steven!!!


The pthread_cond_signal() routine is used to signal (or wake up) another thread which is waiting on the condition variable. It should be called after mutex is locked, and must unlock mutex in order for pthread_cond_wait() routine to complete.


I can check your branch. I wanted to be sure caching was working on multi tenants. I would not see issues with a single tenant, so if you are using only it might not be related.


Hmm this is a bit stupid :/  You should check for the presence of the key and if it's not there assume disable-block-ticking = []

We will get so many reports about this for no good reason.


@kbrock: not 100% sure, but I'd say I did


We should check for `{:error, %ArgumentError{}}` and raise it if so.


TeamCity Xbim :: Xbim Geometry :: XbimGeometry [Build 114](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=631&buildTypeId=Xbim_XbimGeometry_XbimGeometry) outcome was **SUCCESS**
Summary: Running Build time: 00:36:14


Oh, wait...you did add `DoDynamicTableName`.  You have both!  :smile:  Need to get rid of `DynamicTableName`.


It's fine to have something like this, e.g. `if (thing) { return true; } else { return false; }` but it's pretty redundant. If `thing` were a boolean, you would simply `return thing;` of course, but it's not here, here it's a `stat` object, which is why you probably (correctly) hesitated to do so. There's a concise way to coerce a value to a boolean though.

Consider that when you use a value in a boolean context, it automatically coerces to a boolean, you just have to somehow capture the result of that coercion. The trick is `return !!stats;`.

Imagine if you had done:

``` js
var result = stats;
```

The type of `results` would be the type of `stats`, i.e. a type object, _not_ a boolean. This is after all why you're not just doing `return stats;`. However, what if you were to do:

``` js
var result = !stats;
```

In this case, `stats` is being used in a boolean context (as it is in an `if` condition), so it automatically coerces to a boolean. Say `stats` is an actual value (and not `undefined` or `null`), then it would automatically coerce to `true`, only to be negated by the `!` to a false. We then rescue the original value by negating it again to its original value with another `!`.

This means you can change this block to `return !!stats;`.


What the what??!


@b-long I don't know, do things still work after this commit?


...damnit.  Okay, here is the issue with that: when a roll is made, the number that results from it cannot be used again (to the best of my knowledge, it has no name, and so cannot be 'called' for another use).  So, roll something, then grab part of that number, and add it to something else.  There might be a way to do it with API, but I don't know it.  As it is, unless you tell me otherwise, I will return the Second Edition's button back to the way it was.


see PR for explanation


I have it where it will run but doesn't check for a full board to stop. It also will not check that there is a winner correctly...


@scouras a duplicate `if precision is None`?


you the 2 statement should be swapped? sure but it won't change anything.


@thebigsmileXD
Because this is a big change I didn't push it before I finish this
SEEMS INACTIVE


@scouras why log on error?


I do read commit diffs, sometimes ;)


Wait… what? https://travis-ci.org/CocoaPods/guides.cocoapods.org/builds/100645678


As discussed, removed it.


As discussed, retained it.


Nice, I like it. Although we should probably use `sys.path.remove(test_module_dir)` to avoid problems if someone (a library) manipulates the `sys.path`. Or do you think I'm too paranoic?


typo?


Have you tested if `profileExists` works? I have a feeling it will _always_ return `undefined`, which is considered `false`, i.e. it will always act like the profile does not exist. This is because you're returning from the callback to `fs.stat`, which only returns from that callback and _not_ from `profileExists`, i.e. when you do `return true;` for example in the `fs.stat` callback, it's not affecting in any way the return value of `profileExists`. You either need to take a callback parameter on `profileExists` and then do `callback(true)` instead of `return true;` in the `fs.stat` callback, use an `fs.statSync`, or return a promise with a promisified `fs.statAsync`.


I nomi dei file non erano in inglese?


See this example: http://stackoverflow.com/questions/4544234/calling-pthread-cond-signal-without-locking-mutex <- second post


read the input, import an MD5 hasher, declare an int.
concatenate the int onto the input, and calculate the MD5 hash.
While this calculated hash doesn't start with five zeroes (part two solution, part one is four zeroes), iterate the int.
print the int and the calculated MD5 hash once you've found the hash that meets requirements.


Good refactoring commit.


@asmecher I don't think we need this assoc type anymore right? At least is not used anywhere else in the code and I think that the multiple files submission and the article component are already implementing what we used to achieve with supplementary files...


This is with both BFD and Debug Mode.

/home/akash/symengine/symengine/tests/ntheory/test_ntheory.cpp:669: FAILED:
12:   {Unknown expression after the reported line}
12: due to a fatal error condition:
12:   SIGABRT - Abort (abnormal termination) signal
12:   Traceback (most recent call last):
12:     File unknown, in _start()
12:     File "/build/buildd/eglibc-2.19/csu/libc-start.c", line 287, in
12:   __libc_start_main()
12:     File "/home/akash/symengine/symengine/catch/catch.cpp", line 19, in main()
12:       int result = Catch::Session().run( argc, argv );
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5662, in
12:   Catch::Session::run(int, char* const*)
12:       returnCode = run();
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5682, in
12:   Catch::Session::run()
12:       return static_cast<int>( runner.runTests().assertions.failed );
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5551, in
12:   Catch::Runner::runTests()
12:       totals += context.runTest( *it );
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5230, in
12:   Catch::RunContext::runTest(Catch::TestCase const&)
12:       runCurrentTest( redirectedCout, redirectedCerr );
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5393, in
12:   Catch::RunContext::runCurrentTest(std::string&, std::string&)
12:       invokeActiveTestCase();
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5421, in
12:   Catch::RunContext::invokeActiveTestCase()
12:       m_activeTestCase->invoke();
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 6727, in
12:   Catch::TestCase::invoke() const
12:       test->invoke();
12:     File "/home/akash/symengine/symengine/catch/catch.hpp", line 5822, in
12:   Catch::FreeFunctionTestCase::invoke() const
12:       m_fun();
12:     File "/home/akash/symengine/symengine/tests/ntheory/test_ntheory.cpp", line
12:   692, in ____C_A_T_C_H____T_E_S_T____669()
12:       REQUIRE(is_quad_residue(*t4,*a7) == true);
12:     File "/home/akash/symengine/symengine/ntheory.cpp", line 1539, in
12:   SymEngine::is_quad_residue(SymEngine::Integer const&, SymEngine::Integer
12:   const&)
12:       mpz_pow_ui(expo, a_final.get_mpz_t(), ((mpz_class)((p.as_mpz()-1)/2))
12:   .get_ui());
12:     File unknown, in __gmpz_n_pow_ui()
12:     File unknown, in __gmpz_realloc()
12:     File unknown, in __gmp_default_reallocate()
12:     File "/build/buildd/eglibc-2.19/malloc/malloc.c", line 2986, in
12:   __GI___libc_realloc()
12:     File "/build/buildd/eglibc-2.19/malloc/malloc.c", line 4996, in
12:   malloc_printerr()
12:     File "/build/buildd/eglibc-2.19/libio/../sysdeps/posix/libc_fatal.c", line
12:   175, in __libc_message()
12:     File "/build/buildd/eglibc-2.19/stdlib/abort.c", line 89, in __GI_abort()
12:     File "/build/buildd/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux
12:   /raise.c", line 56, in __GI_raise()
12:     File unknown, in killpg()


Yes, that shouldn't be needed any more.


Yeah. I tried to figure out something with a friend to make it work, but we weren't successful. Reverting to the old way will probably be best until someone does find a way.


TeamCity Xbim :: Xbim Exchange :: XbimExchange [Build 122](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=632&buildTypeId=Xbim_XbimExchange_XbimExchange) is now running


Fixing uninitialized `fd`? If so, worth mentioning on commit msg or splitting commit.


add-default-build-type (Myoldmopar) - i386-Windows-7-VisualStudio-12: OK (2001 of 2001 tests passed)

![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)


TeamCity Xbim :: Xbim Exchange :: XbimExchange [Build 122](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=632&buildTypeId=Xbim_XbimExchange_XbimExchange) outcome was **FAILURE**
Summary: Exit code 1 (new) Build time: 00:01:01


you should remove all reference comments and use `tsconfig.json`


GroundDomain-Output-Variable-Name-Changes (Myoldmopar) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (2028 of 2033 tests passed)

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


Ok! Thanks. Did not have a character on retail to test against for that. Appreciate your letting me know.


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 10830](https://teamcity.mesosphere.io/viewLog.html?buildId=100903&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 212 Build time: 00:04:14


Much wauw
So many commits :3


Can't you factorize a bit the things on the C side ? looks there's a lot of code duplication.