[R/create_mbd_params.R:23:16:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/create_mbd_params.R#L23) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (q < 0.0) {
               ^
```
[R/create_mbd_params.R:23:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/create_mbd_params.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  if (q < 0.0) {
                ^
```
[R/default_params_doc.R:188:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/default_params_doc.R#L188) *style:* **Variable or function name should be snake_case.**
```r
  Q,
  ^
```
[R/mbd_loglik_choosepar.R:23:67:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_choosepar.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  #This function provides a likelihood for a subset of parameters.
                                                                  ^
```
[R/mbd_loglik_choosepar.R:24:65:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_choosepar.R#L24) *style:* **Trailing whitespace is superfluous.**
```r
  # This is built to work inside mbd_minusLL_vs_single_parameter
                                                                ^
```
[R/mbd_loglik_choosepar.R:31:43:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_choosepar.R#L31) *style:* **Trailing whitespace is superfluous.**
```r
  namepars <- c("lambda", "mu", "nu", "q")
                                          ^
```
[R/mbd_loglik_choosepar.R:63:79:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_choosepar.R#L63) *style:* **Trailing whitespace is superfluous.**
```r
    warning("There are parameter values used which cause numerical problems:",
                                                                              ^
```
[R/mbd_loglik_utils.R:5:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L5) *style:* **Variable or function name should be snake_case.**
```r
hyperA_HannoX <- function(n_species, k, q) {
^~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:8:29:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L8) *style:* **Trailing whitespace is superfluous.**
```r
  #it produces the structure
                            ^
```
[R/mbd_loglik_utils.R:9:44:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L9) *style:* **Trailing whitespace is superfluous.**
```r
  # q ^ (m - n) * (1 - q) ^ (k + 2 * n-m) *
                                           ^
```
[R/mbd_loglik_utils.R:14:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L14) *style:* **Variable or function name should be snake_case.**
```r
  A <- diag(a_1[1], nrow = n_species + 2, ncol = n_species + 2)
  ^
```
[R/mbd_loglik_utils.R:21:52:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    A[s, src] <- A[s, src] * q ^ (m - n) * (1 - q)^(2 * n - m)
                                                   ^
```
[R/mbd_loglik_utils.R:23:27:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L23) *style:* **Use <-, not =, for assignment.**
```r
  A[n_species, n_species] = A[n_species, n_species] * (1 - q) ^ (n_species - 1);
                          ^
```
[R/mbd_loglik_utils.R:31:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L31) *style:* **Variable or function name should be snake_case.**
```r
create_A0 <- function(
^~~~~~~~~
```
[R/mbd_loglik_utils.R:32:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  max_number_of_species,
                        ^
```
[R/mbd_loglik_utils.R:33:10:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
  lambda,
         ^
```
[R/mbd_loglik_utils.R:34:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  mu,
     ^
```
[R/mbd_loglik_utils.R:35:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L35) *style:* **Trailing whitespace is superfluous.**
```r
  q,
    ^
```
[R/mbd_loglik_utils.R:36:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L36) *style:* **Trailing whitespace is superfluous.**
```r
  k,
    ^
```
[R/mbd_loglik_utils.R:41:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L41) *style:* **Variable or function name should be snake_case.**
```r
  M <- lambda * matrix_builder(n_species = max_number_of_species, k = k, q = q)
  ^
```
[R/mbd_loglik_utils.R:44:39:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  diag(M) <= (-lambda) * (1 - (1 - q)^(k + nvec) ) - mu * (nvec + k)
                                      ^
```
[R/mbd_loglik_utils.R:44:49:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L44) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  diag(M) <= (-lambda) * (1 - (1 - q)^(k + nvec) ) - mu * (nvec + k)
                                                ^
```
[R/mbd_loglik_utils.R:44:69:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L44) *style:* **Trailing whitespace is superfluous.**
```r
  diag(M) <= (-lambda) * (1 - (1 - q)^(k + nvec) ) - mu * (nvec + k)
                                                                    ^
```
[R/mbd_loglik_utils.R:46:27:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L46) *style:* **Use <-, not =, for assignment.**
```r
  M[row(M) == col(M) - 1] = mu * nvec[2:(max_number_of_species + 1)]
                          ^
```
[R/mbd_loglik_utils.R:54:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L54) *style:* **Variable or function name should be snake_case.**
```r
create_B0 <- function(
^~~~~~~~~
```
[R/mbd_loglik_utils.R:55:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L55) *style:* **Trailing whitespace is superfluous.**
```r
  max_number_of_species,
                        ^
```
[R/mbd_loglik_utils.R:56:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L56) *style:* **Trailing whitespace is superfluous.**
```r
  q,
    ^
```
[R/mbd_loglik_utils.R:57:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L57) *style:* **Trailing whitespace is superfluous.**
```r
  k,
    ^
```
[R/mbd_loglik_utils.R:58:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L58) *style:* **Trailing whitespace is superfluous.**
```r
  b,
    ^
```
[R/mbd_loglik_utils.R:71:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L71) *style:* **Variable or function name should be snake_case.**
```r
create_A <- function(
^~~~~~~~
```
[R/mbd_loglik_utils.R:72:10:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L72) *style:* **Trailing whitespace is superfluous.**
```r
  lambda,
         ^
```
[R/mbd_loglik_utils.R:73:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L73) *style:* **Trailing whitespace is superfluous.**
```r
  mu,
     ^
```
[R/mbd_loglik_utils.R:74:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L74) *style:* **Trailing whitespace is superfluous.**
```r
  nu,
     ^
```
[R/mbd_loglik_utils.R:75:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L75) *style:* **Trailing whitespace is superfluous.**
```r
  q,
    ^
```
[R/mbd_loglik_utils.R:76:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L76) *style:* **Trailing whitespace is superfluous.**
```r
  k,
    ^
```
[R/mbd_loglik_utils.R:83:55:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L83) *style:* **Trailing whitespace is superfluous.**
```r
  m[row(m) == col(m) + 1] <- m[row(m) == col(m) + 1] +
                                                      ^
```
[R/mbd_loglik_utils.R:87:67:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L87) *style:* **Trailing whitespace is superfluous.**
```r
  m[row(m) == col(m)] <- m[row(m) == col(m)] - lambda * (nvec + k)
                                                                  ^
```
[R/mbd_loglik_utils.R:97:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L97) *style:* **Variable or function name should be snake_case.**
```r
create_B <- function(
^~~~~~~~
```
[R/mbd_loglik_utils.R:98:10:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L98) *style:* **Trailing whitespace is superfluous.**
```r
  lambda,
         ^
```
[R/mbd_loglik_utils.R:99:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L99) *style:* **Trailing whitespace is superfluous.**
```r
  nu,
     ^
```
[R/mbd_loglik_utils.R:100:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L100) *style:* **Trailing whitespace is superfluous.**
```r
  q,
    ^
```
[R/mbd_loglik_utils.R:101:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L101) *style:* **Trailing whitespace is superfluous.**
```r
  k,
    ^
```
[R/mbd_loglik_utils.R:102:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L102) *style:* **Trailing whitespace is superfluous.**
```r
  b,
    ^
```
[R/mbd_loglik_utils.R:106:51:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L106) *style:* **Trailing whitespace is superfluous.**
```r
    max_number_of_species = max_number_of_species,
                                                  ^
```
[R/mbd_loglik_utils.R:107:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L107) *style:* **Trailing whitespace is superfluous.**
```r
    q = q,
          ^
```
[R/mbd_loglik_utils.R:108:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L108) *style:* **Trailing whitespace is superfluous.**
```r
    k = k,
          ^
```
[R/mbd_loglik_utils.R:111:49:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L111) *style:* **Trailing whitespace is superfluous.**
```r
  lambda * k * diag(max_number_of_species + 1) *
                                                ^
```
[R/mbd_loglik_utils.R:120:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L120) *style:* **Variable or function name should be snake_case.**
```r
create_A.no_mbd = function(
^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:120:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L120) *style:* **Use <-, not =, for assignment.**
```r
create_A.no_mbd = function(
                ^
```
[R/mbd_loglik_utils.R:132:51:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L132) *style:* **Trailing whitespace is superfluous.**
```r
    max_number_of_species = max_number_of_species,
                                                  ^
```
[R/mbd_loglik_utils.R:135:64:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L135) *style:* **Trailing whitespace is superfluous.**
```r
  m[row(m) == col(m) + 1] <- m[row(m) == col(m) + 1] + lambda *
                                                               ^
```
[R/mbd_loglik_utils.R:137:47:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L137) *style:* **Trailing whitespace is superfluous.**
```r
  m[row(m) == col(m)] <- m[row(m) == col(m)] -
                                              ^
```
[R/mbd_loglik_utils.R:148:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L148) *style:* **Variable or function name should be snake_case.**
```r
create_B.no_mbd = function(
^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:148:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L148) *style:* **Use <-, not =, for assignment.**
```r
create_B.no_mbd = function(
                ^
```
[R/mbd_loglik_utils.R:149:10:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L149) *style:* **Trailing whitespace is superfluous.**
```r
  lambda,
         ^
```
[R/mbd_loglik_utils.R:150:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L150) *style:* **Trailing whitespace is superfluous.**
```r
  nu,
     ^
```
[R/mbd_loglik_utils.R:151:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L151) *style:* **Trailing whitespace is superfluous.**
```r
  q,
    ^
```
[R/mbd_loglik_utils.R:152:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L152) *style:* **Trailing whitespace is superfluous.**
```r
  k,
    ^
```
[R/mbd_loglik_utils.R:153:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L153) *style:* **Trailing whitespace is superfluous.**
```r
  b,
    ^
```
[R/mbd_loglik_utils.R:154:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L154) *style:* **Trailing whitespace is superfluous.**
```r
  max_number_of_species,
                        ^
```
[R/mbd_loglik_utils.R:158:51:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L158) *style:* **Trailing whitespace is superfluous.**
```r
    max_number_of_species = max_number_of_species,
                                                  ^
```
[R/mbd_loglik_utils.R:161:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L161) *style:* **Variable or function name should be snake_case.**
```r
  B <- lambda * k * diag(max_number_of_species + 1) *
  ^
```
[R/mbd_loglik_utils.R:161:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L161) *style:* **Trailing whitespace is superfluous.**
```r
  B <- lambda * k * diag(max_number_of_species + 1) *
                                                     ^
```
[R/mbd_loglik_utils.R:172:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L172) *style:* **Variable or function name should be snake_case.**
```r
A_operator <- function(
^~~~~~~~~~
```
[R/mbd_loglik_utils.R:173:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L173) *style:* **Variable or function name should be snake_case.**
```r
  Q,
  ^
```
[R/mbd_loglik_utils.R:173:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L173) *style:* **Trailing whitespace is superfluous.**
```r
  Q,
    ^
```
[R/mbd_loglik_utils.R:174:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L174) *style:* **Trailing whitespace is superfluous.**
```r
  transition_matrix,
                    ^
```
[R/mbd_loglik_utils.R:175:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L175) *style:* **Trailing whitespace is superfluous.**
```r
  time_interval,
                ^
```
[R/mbd_loglik_utils.R:177:20:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L177) *style:* **Trailing whitespace is superfluous.**
```r
  a_abstol = 1e-16,
                   ^
```
[R/mbd_loglik_utils.R:178:20:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L178) *style:* **Trailing whitespace is superfluous.**
```r
  a_reltol = 1e-10,
                   ^
```
[R/mbd_loglik_utils.R:190:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L190) *style:* **Commented code should be removed.**
```r
    # exp_matrix <- rsexpm:::sexpm(transition_matrix * time_interval)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:191:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L191) *style:* **Commented code should be removed.**
```r
    # result     <- exp_matrix %*% Q
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:195:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L195) *style:* **Variable or function name should be snake_case.**
```r
    result.nan <- result.negative <- 1
    ^~~~~~~~~~
```
[R/mbd_loglik_utils.R:195:19:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L195) *style:* **Variable or function name should be snake_case.**
```r
    result.nan <- result.negative <- 1
                  ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:197:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L197) *style:* **Trailing whitespace is superfluous.**
```r
    while ((result.nan == 1 | result.negative == 1) &
                                                     ^
```
[R/mbd_loglik_utils.R:202:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L202) *style:* **Trailing whitespace is superfluous.**
```r
          v = Q,
                ^
```
[R/mbd_loglik_utils.R:203:33:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L203) *style:* **Trailing whitespace is superfluous.**
```r
          x = transition_matrix,
                                ^
```
[R/mbd_loglik_utils.R:204:29:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L204) *style:* **Trailing whitespace is superfluous.**
```r
          t = time_interval,
                            ^
```
[R/mbd_loglik_utils.R:206:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L206) *style:* **Trailing whitespace is superfluous.**
```r
        ),
          ^
```
[R/mbd_loglik_utils.R:210:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L210) *style:* **Variable or function name should be snake_case.**
```r
      result.nan <- (any(!is.numeric(result)) || any(is.nan(result)))
      ^~~~~~~~~~
```
[R/mbd_loglik_utils.R:214:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L214) *style:* **Variable or function name should be snake_case.**
```r
        result.negative <- (any(result < 0))
        ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:235:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L235) *style:* **Trailing whitespace is superfluous.**
```r
      y = Q,
            ^
```
[R/mbd_loglik_utils.R:236:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L236) *style:* **Trailing whitespace is superfluous.**
```r
      times = times,
                    ^
```
[R/mbd_loglik_utils.R:237:29:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L237) *style:* **Trailing whitespace is superfluous.**
```r
      func = mbd_loglik_rhs,
                            ^
```
[R/mbd_loglik_utils.R:238:26:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L238) *style:* **Trailing whitespace is superfluous.**
```r
      parms = ode_matrix,
                         ^
```
[R/mbd_loglik_utils.R:239:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L239) *style:* **Trailing whitespace is superfluous.**
```r
      atol = a_abstol,
                      ^
```
[R/mbd_loglik_utils.R:240:26:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L240) *style:* **Commas should always have a space after.**
```r
      rtol = a_reltol)[2,-1],
                         ^
```
[R/mbd_loglik_utils.R:240:30:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L240) *style:* **Trailing whitespace is superfluous.**
```r
      rtol = a_reltol)[2,-1],
                             ^
```
[R/mbd_loglik_utils.R:254:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L254) *style:* **Trailing whitespace is superfluous.**
```r
  t,
    ^
```
[R/mbd_loglik_utils.R:255:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L255) *style:* **Trailing whitespace is superfluous.**
```r
  x,
    ^
```
[R/mbd_loglik_utils.R:260:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L260) *style:* **Use <-, not =, for assignment.**
```r
    starting_vector = x
                    ^
```
[R/mbd_loglik_utils.R:261:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L261) *style:* **Use <-, not =, for assignment.**
```r
    transition_matrix = pars
                      ^
```
[R/mbd_loglik_utils.R:262:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L262) *style:* **Use <-, not =, for assignment.**
```r
    dx  = rep(0, length(starting_vector))
        ^
```
[R/mbd_loglik_utils.R:263:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L263) *style:* **Use <-, not =, for assignment.**
```r
    dx  = drop(transition_matrix %*% starting_vector)
        ^
```
[R/mbd_loglik_utils.R:264:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L264) *style:* **Use <-, not =, for assignment.**
```r
    out = (dx)
        ^
```
[R/mbd_loglik_utils.R:265:16:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L265) *style:* **Use <-, not =, for assignment.**
```r
    names(out) = names(x)
               ^
```
[R/mbd_loglik_utils.R:276:8:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L276) *style:* **Trailing whitespace is superfluous.**
```r
  pars,
       ^
```
[R/mbd_loglik_utils.R:277:8:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L277) *style:* **Trailing whitespace is superfluous.**
```r
  brts,
       ^
```
[R/mbd_loglik_utils.R:278:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L278) *style:* **Trailing whitespace is superfluous.**
```r
  lx,
     ^
```
[R/mbd_loglik_utils.R:279:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L279) *style:* **Trailing whitespace is superfluous.**
```r
  soc,
      ^
```
[R/mbd_loglik_utils.R:280:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L280) *style:* **Trailing whitespace is superfluous.**
```r
  methode,
          ^
```
[R/mbd_loglik_utils.R:281:18:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L281) *style:* **Trailing whitespace is superfluous.**
```r
  abstol = 1e-16,
                 ^
```
[R/mbd_loglik_utils.R:284:20:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L284) *style:* **Trailing whitespace is superfluous.**
```r
  lambda <- pars[1]
                   ^
```
[R/mbd_loglik_utils.R:285:4:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L285) *style:* **Commented code should be removed.**
```r
  #mu <- pars[2]
   ^~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:285:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L285) *style:* **Trailing whitespace is superfluous.**
```r
  #mu <- pars[2]
                ^
```
[R/mbd_loglik_utils.R:289:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L289) *style:* **Variable or function name should be snake_case.**
```r
  Qi <- c(1, rep(0, lx))
  ^~
```
[R/mbd_loglik_utils.R:291:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L291) *style:* **Variable or function name should be snake_case.**
```r
  T0 <- create_A(
  ^~
```
[R/mbd_loglik_utils.R:292:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L292) *style:* **Trailing whitespace is superfluous.**
```r
    lambda = lambda,
                    ^
```
[R/mbd_loglik_utils.R:293:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L293) *style:* **Trailing whitespace is superfluous.**
```r
    mu = 0,
           ^
```
[R/mbd_loglik_utils.R:294:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L294) *style:* **Trailing whitespace is superfluous.**
```r
    nu = nu,
            ^
```
[R/mbd_loglik_utils.R:295:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L295) *style:* **Trailing whitespace is superfluous.**
```r
    q = q,
          ^
```
[R/mbd_loglik_utils.R:299:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L299) *style:* **Variable or function name should be snake_case.**
```r
  Pm <- A_operator(
  ^~
```
[R/mbd_loglik_utils.R:300:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L300) *style:* **Trailing whitespace is superfluous.**
```r
    Q = Qi,
           ^
```
[R/mbd_loglik_utils.R:301:28:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L301) *style:* **Trailing whitespace is superfluous.**
```r
    transition_matrix = T0,
                           ^
```
[R/mbd_loglik_utils.R:303:22:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L303) *style:* **Trailing whitespace is superfluous.**
```r
    precision = 250L,
                     ^
```
[R/mbd_loglik_utils.R:304:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L304) *style:* **Trailing whitespace is superfluous.**
```r
    methode = methode,
                      ^
```
[R/mbd_loglik_utils.R:305:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L305) *style:* **Trailing whitespace is superfluous.**
```r
    a_abstol = abstol,
                      ^
```
[R/mbd_loglik_utils.R:308:45:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L308) *style:* **Put spaces around all infix operators.**
```r
  soc + max(mvec[(mvec %in% which((cumsum(Pm/sum(Pm))) <= 0.95))])
                                           ~^~
```
[R/mbd_loglik_utils.R:316:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L316) *style:* **Variable and function names should not be longer than 30 characters.**
```r
calculate_conditional_probability <- function(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:322:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L322) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:330:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L330) *style:* **Variable or function name should be snake_case.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
  ^~~~~~~~~~~
```
[R/mbd_loglik_utils.R:330:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L330) *style:* **Put spaces around all infix operators.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                             ~^~
```
[R/mbd_loglik_utils.R:330:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L330) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                               ^
```
[R/mbd_loglik_utils.R:333:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L333) *style:* **Variable or function name should be snake_case.**
```r
  Qi <- rep(0, lx + 1);  Qi[3] <- 1
  ^~
```
[R/mbd_loglik_utils.R:333:36:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L333) *style:* **Trailing whitespace is superfluous.**
```r
  Qi <- rep(0, lx + 1);  Qi[3] <- 1
                                   ^
```
[R/mbd_loglik_utils.R:335:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L335) *style:* **Variable or function name should be snake_case.**
```r
  TM <- create_A(
  ^~
```
[R/mbd_loglik_utils.R:340:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L340) *style:* **Variable or function name should be snake_case.**
```r
  A2_v1 <- A_operator(
  ^~~~~
```
[R/mbd_loglik_utils.R:341:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L341) *style:* **Trailing whitespace is superfluous.**
```r
    Q = Qi,
           ^
```
[R/mbd_loglik_utils.R:342:28:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L342) *style:* **Trailing whitespace is superfluous.**
```r
    transition_matrix = TM,
                           ^
```
[R/mbd_loglik_utils.R:344:22:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L344) *style:* **Trailing whitespace is superfluous.**
```r
    precision = 250L,
                     ^
```
[R/mbd_loglik_utils.R:345:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L345) *style:* **Trailing whitespace is superfluous.**
```r
    methode = methode,
                      ^
```
[R/mbd_loglik_utils.R:346:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L346) *style:* **Trailing whitespace is superfluous.**
```r
    a_abstol = abstol,
                      ^
```
[R/mbd_loglik_utils.R:351:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L351) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/mbd_loglik_utils.R:352:46:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L352) *style:* **Trailing whitespace is superfluous.**
```r
  #these are the components I want to exclude
                                             ^
```
[R/mbd_loglik_utils.R:354:29:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L354) *style:* **Trailing whitespace is superfluous.**
```r
  tips_components <- 1 + 0:1
                            ^
```
[R/mbd_loglik_utils.R:364:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L364) *style:* **Variable and function names should not be longer than 30 characters.**
```r
calculate_conditional_probability0 <- function(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:370:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L370) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:378:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L378) *style:* **Variable or function name should be snake_case.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
  ^~~~~~~~~~~
```
[R/mbd_loglik_utils.R:378:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L378) *style:* **Put spaces around all infix operators.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                             ~^~
```
[R/mbd_loglik_utils.R:378:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L378) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                               ^
```
[R/mbd_loglik_utils.R:380:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L380) *style:* **Variable or function name should be snake_case.**
```r
  Qi <- c(1, rep(0, lx)); length(Qi)
  ^~
```
[R/mbd_loglik_utils.R:382:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L382) *style:* **Variable or function name should be snake_case.**
```r
  TM <- create_A(lambda = lambda, mu = mu, nu = nu, q = q, k = soc,
  ^~
```
[R/mbd_loglik_utils.R:385:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L385) *style:* **Variable or function name should be snake_case.**
```r
  A2_v1 <- A_operator(
  ^~~~~
```
[R/mbd_loglik_utils.R:386:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L386) *style:* **Trailing whitespace is superfluous.**
```r
    Q = Qi,
           ^
```
[R/mbd_loglik_utils.R:387:28:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L387) *style:* **Trailing whitespace is superfluous.**
```r
    transition_matrix = TM,
                           ^
```
[R/mbd_loglik_utils.R:389:22:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L389) *style:* **Trailing whitespace is superfluous.**
```r
    precision = 250L,
                     ^
```
[R/mbd_loglik_utils.R:390:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L390) *style:* **Trailing whitespace is superfluous.**
```r
    methode = methode,
                      ^
```
[R/mbd_loglik_utils.R:391:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L391) *style:* **Trailing whitespace is superfluous.**
```r
    a_abstol = abstol,
                      ^
```
[R/mbd_loglik_utils.R:395:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L395) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  missingspecies_min <- max((tips_interval[1] - 2), 0 )
                                                     ^
```
[R/mbd_loglik_utils.R:398:67:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L398) *style:* **Trailing whitespace is superfluous.**
```r
  tips_components <- 1 + c(missingspecies_min, missingspecies_max)
                                                                  ^
```
[R/mbd_loglik_utils.R:408:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L408) *style:* **Variable and function names should not be longer than 30 characters.**
```r
calculate_conditional_probability0PB <- function(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:408:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L408) *style:* **Variable or function name should be snake_case.**
```r
calculate_conditional_probability0PB <- function(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:414:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L414) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:420:16:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L420) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (mu != 0) {
               ^
```
[R/mbd_loglik_utils.R:420:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L420) *style:* **Trailing whitespace is superfluous.**
```r
  if (mu != 0) {
                ^
```
[R/mbd_loglik_utils.R:421:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L421) *style:* **Only use double-quotes.**
```r
    cat('mu is supposed to be equal zero to use this function')
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:422:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L422) *warning:* **local variable ‘pc’ assigned but may not be used**
```r
    return(pc <- NA)
           ^~
```
[R/mbd_loglik_utils.R:426:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L426) *style:* **Variable or function name should be snake_case.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
  ^~~~~~~~~~~
```
[R/mbd_loglik_utils.R:426:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L426) *style:* **Put spaces around all infix operators.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                             ~^~
```
[R/mbd_loglik_utils.R:426:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L426) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  one_over_Cm <- (3 * (m + 1))/(m + 3); length(one_over_Cm)
                               ^
```
[R/mbd_loglik_utils.R:428:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L428) *style:* **Variable or function name should be snake_case.**
```r
  Qi <- c(1, rep(0, lx)); length(Qi)
  ^~
```
[R/mbd_loglik_utils.R:430:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L430) *style:* **Variable or function name should be snake_case.**
```r
  TM <- create_A(
  ^~
```
[R/mbd_loglik_utils.R:431:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L431) *style:* **Trailing whitespace is superfluous.**
```r
    lambda = lambda,
                    ^
```
[R/mbd_loglik_utils.R:432:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L432) *style:* **Trailing whitespace is superfluous.**
```r
    mu = mu,
            ^
```
[R/mbd_loglik_utils.R:433:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L433) *style:* **Trailing whitespace is superfluous.**
```r
    nu = nu,
            ^
```
[R/mbd_loglik_utils.R:434:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L434) *style:* **Trailing whitespace is superfluous.**
```r
    q = q,
          ^
```
[R/mbd_loglik_utils.R:439:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L439) *style:* **Variable or function name should be snake_case.**
```r
  A2_v1 <- A_operator(
  ^~~~~
```
[R/mbd_loglik_utils.R:440:12:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L440) *style:* **Trailing whitespace is superfluous.**
```r
    Q = Qi,
           ^
```
[R/mbd_loglik_utils.R:441:28:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L441) *style:* **Trailing whitespace is superfluous.**
```r
    transition_matrix = TM,
                           ^
```
[R/mbd_loglik_utils.R:443:22:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L443) *style:* **Trailing whitespace is superfluous.**
```r
    precision = 250L,
                     ^
```
[R/mbd_loglik_utils.R:444:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L444) *style:* **Trailing whitespace is superfluous.**
```r
    methode = methode,
                      ^
```
[R/mbd_loglik_utils.R:445:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L445) *style:* **Trailing whitespace is superfluous.**
```r
    a_abstol = abstol,
                      ^
```
[R/mbd_loglik_utils.R:450:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L450) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  missingspecies_min <- max((tips_interval[1] - 2), 0 )
                                                     ^
```
[R/mbd_loglik_utils.R:453:67:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L453) *style:* **Trailing whitespace is superfluous.**
```r
  tips_components <- 1 + c(missingspecies_min, missingspecies_max)
                                                                  ^
```
[R/mbd_loglik_utils.R:454:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L454) *style:* **Lines should not be more than 80 characters.**
```r
  opposite_tips_components <- (m + 1)[!((m + 1) %in% (tips_components[1]:tips_components[2]))]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:467:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L467) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:474:18:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L474) *style:* **Put spaces around all infix operators.**
```r
  a <- iterations/2
                ~^~
```
[R/mbd_loglik_utils.R:476:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L476) *style:* **Put spaces around all infix operators.**
```r
  step1 <- floor(interval_width/a)
                              ~^~
```
[R/mbd_loglik_utils.R:479:8:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L479) *style:* **Trailing whitespace is superfluous.**
```r
    NA,
       ^
```
[R/mbd_loglik_utils.R:481:4:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L481) *style:* **Trailing whitespace is superfluous.**
```r
  )
   ^
```
[R/mbd_loglik_utils.R:483:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L483) *style:* **Variable or function name should be snake_case.**
```r
  right.lx_coord <- 0
  ^~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:497:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L497) *style:* **Variable or function name should be snake_case.**
```r
        right.lx_coord <- i
        ^~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:505:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L505) *style:* **Variable or function name should be snake_case.**
```r
    right.lx_coord <- which(
    ^~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:512:8:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L512) *style:* **Trailing whitespace is superfluous.**
```r
    NA,
       ^
```
[R/mbd_loglik_utils.R:516:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L516) *style:* **Variable or function name should be snake_case.**
```r
  right.lx_coord2 <- 0
  ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:530:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L530) *style:* **Variable or function name should be snake_case.**
```r
        right.lx_coord2 <- j
        ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:530:29:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L530) *style:* **Trailing whitespace is superfluous.**
```r
        right.lx_coord2 <- j
                            ^
```
[R/mbd_loglik_utils.R:531:38:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L531) *style:* **Trailing whitespace is superfluous.**
```r
        lx <- lxvec2[right.lx_coord2]
                                     ^
```
[R/mbd_loglik_utils.R:536:3:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L536) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
  }; lx_test2
  ^
```
[R/mbd_loglik_utils.R:538:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L538) *style:* **Variable or function name should be snake_case.**
```r
    right.lx_coord2 <- which(
    ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:552:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L552) *style:* **Variable and function names should not be longer than 30 characters.**
```r
calculate_conditional_probability1 <- function(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:557:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L557) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:562:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L562) *warning:* **no visible global function definition for ‘find_best_lx_for_pc’**
```r
  lx <- find_best_lx_for_pc(brts = brts, pars = pars, soc = soc)
        ^~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:584:9:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L584) *style:* **Commented code should be removed.**
```r
    #   reltol = reltol
        ^~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:610:18:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L610) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
  births <- c(0, brts2time_intervals_and_births(brts)$births)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:613:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L613) *style:* **Trailing whitespace is superfluous.**
```r
  # alpha is the proportionality factor between max_k
                                                     ^
```
[R/mbd_loglik_utils.R:619:14:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L619) *style:* **Variable or function name should be snake_case.**
```r
    pc <- 1; A2_v1 <- c(1, rep(0, max_number_of_species))
             ^~~~~
```
[R/mbd_loglik_utils.R:622:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L622) *style:* **Variable or function name should be snake_case.**
```r
    one_over_Cm <- (3 * (m + 1)) / (m + 3)
    ^~~~~~~~~~~
```
[R/mbd_loglik_utils.R:625:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L625) *style:* **Lines should not be more than 80 characters.**
```r
    tips_components <- (1 + min_tips):(1 + min(max_tips, max_number_of_species))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:625:81:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L625) *style:* **Trailing whitespace is superfluous.**
```r
    tips_components <- (1 + min_tips):(1 + min(max_tips, max_number_of_species))
                                                                                ^
```
[R/mbd_loglik_utils.R:627:66:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L627) *style:* **Trailing whitespace is superfluous.**
```r
      # I am already considering the starting species to survive.
                                                                 ^
```
[R/mbd_loglik_utils.R:632:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L632) *style:* **Variable or function name should be snake_case.**
```r
    Qi <- c(1, rep(0, max_number_of_species))
    ^~
```
[R/mbd_loglik_utils.R:634:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L634) *style:* **Trailing whitespace is superfluous.**
```r
      lambda = lambda,
                      ^
```
[R/mbd_loglik_utils.R:635:15:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L635) *style:* **Trailing whitespace is superfluous.**
```r
      mu = mu,
              ^
```
[R/mbd_loglik_utils.R:636:15:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L636) *style:* **Trailing whitespace is superfluous.**
```r
      nu = nu,
              ^
```
[R/mbd_loglik_utils.R:637:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L637) *style:* **Trailing whitespace is superfluous.**
```r
      q = q,
            ^
```
[R/mbd_loglik_utils.R:641:5:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L641) *style:* **Variable or function name should be snake_case.**
```r
    A2_v1 <- A_operator(
    ^~~~~
```
[R/mbd_loglik_utils.R:642:14:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L642) *style:* **Trailing whitespace is superfluous.**
```r
      Q = Qi,
             ^
```
[R/mbd_loglik_utils.R:643:37:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L643) *style:* **Trailing whitespace is superfluous.**
```r
      transition_matrix = mk_n_zero,
                                    ^
```
[R/mbd_loglik_utils.R:645:23:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L645) *style:* **Trailing whitespace is superfluous.**
```r
      precision = 50L,
                      ^
```
[R/mbd_loglik_utils.R:646:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L646) *style:* **Trailing whitespace is superfluous.**
```r
      methode = methode,
                        ^
```
[R/mbd_loglik_utils.R:647:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L647) *style:* **Trailing whitespace is superfluous.**
```r
      a_abstol = abstol,
                        ^
```
[R/mbd_loglik_utils.R:651:46:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L651) *style:* **Trailing whitespace is superfluous.**
```r
      # it removes some small negative values
                                             ^
```
[R/mbd_loglik_utils.R:653:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L653) *style:* **Variable or function name should be snake_case.**
```r
      A2_v1 <- negatives_correction(A2_v1, pars)
      ^~~~~
```
[R/mbd_loglik_utils.R:653:16:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L653) *warning:* **no visible global function definition for ‘negatives_correction’**
```r
      A2_v1 <- negatives_correction(A2_v1, pars)
               ^~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:654:6:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L654) *style:* **Trailing whitespace is superfluous.**
```r
    }
     ^
```
[R/mbd_loglik_utils.R:658:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L658) *style:* **Variable or function name should be snake_case.**
```r
      mk_n_zero.no_mbd <- create_A.no_mbd(
      ^~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:659:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L659) *style:* **Trailing whitespace is superfluous.**
```r
        lambda = lambda,
                        ^
```
[R/mbd_loglik_utils.R:660:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L660) *style:* **Trailing whitespace is superfluous.**
```r
        mu = mu,
                ^
```
[R/mbd_loglik_utils.R:661:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L661) *style:* **Trailing whitespace is superfluous.**
```r
        nu = nu,
                ^
```
[R/mbd_loglik_utils.R:662:15:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L662) *style:* **Trailing whitespace is superfluous.**
```r
        q = q,
              ^
```
[R/mbd_loglik_utils.R:663:17:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L663) *style:* **Trailing whitespace is superfluous.**
```r
        k = soc,
                ^
```
[R/mbd_loglik_utils.R:664:55:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L664) *style:* **Trailing whitespace is superfluous.**
```r
        max_number_of_species = max_number_of_species,
                                                      ^
```
[R/mbd_loglik_utils.R:667:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L667) *style:* **Variable or function name should be snake_case.**
```r
      A2_v1.no_mbd <- A_operator(
      ^~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:668:16:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L668) *style:* **Trailing whitespace is superfluous.**
```r
        Q = Qi,
               ^
```
[R/mbd_loglik_utils.R:669:46:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L669) *style:* **Trailing whitespace is superfluous.**
```r
        transition_matrix = mk_n_zero.no_mbd,
                                             ^
```
[R/mbd_loglik_utils.R:670:36:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L670) *style:* **Trailing whitespace is superfluous.**
```r
        time_interval = total_time,
                                   ^
```
[R/mbd_loglik_utils.R:671:25:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L671) *style:* **Trailing whitespace is superfluous.**
```r
        precision = 50L,
                        ^
```
[R/mbd_loglik_utils.R:672:27:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L672) *style:* **Trailing whitespace is superfluous.**
```r
        methode = methode,
                          ^
```
[R/mbd_loglik_utils.R:673:27:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L673) *style:* **Trailing whitespace is superfluous.**
```r
        a_abstol = abstol,
                          ^
```
[R/mbd_loglik_utils.R:676:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L676) *style:* **Variable or function name should be snake_case.**
```r
      A2_v1 <- A2_v1 - A2_v1.no_mbd
      ^~~~~
```
[R/mbd_loglik_utils.R:698:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L698) *style:* **Only use double-quotes.**
```r
  methode = 'expo',
            ^~~~~~
```
[R/mbd_loglik_utils.R:721:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L721) *style:* **Commented code should be removed.**
```r
    # pc_1 <- calculate_conditional_probability(alpha = alpha, ...)$pc
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:745:35:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L745) *style:* **Put spaces around all infix operators.**
```r
      delta_pc <- abs(pc_2 - pc_1)/pc_1;
                                 ~^~
```
[R/mbd_loglik_utils.R:751:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L751) *style:* **Use <-, not =, for assignment.**
```r
    count = count + 1
          ^
```
[R/mbd_loglik_utils.R:752:7:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L752) *style:* **Commented code should be removed.**
```r
    # print(alpha)
      ^~~~~~~~~~~~
```
[R/mbd_loglik_utils.R:771:21:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L771) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  if (count >= 100) {
                    ^
```
[R/mbd_loglik_utils.R:771:22:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L771) *style:* **Trailing whitespace is superfluous.**
```r
  if (count >= 100) {
                     ^
```
[R/mbd_loglik_utils.R:780:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L780) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/mbd_loglik_utils.R:781:1:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik_utils.R#L781) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/mbd_loglik.R:3:65:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L3) *style:* **Trailing whitespace is superfluous.**
```r
#' @description mbd_loglik provides the likelihood for a process
                                                                ^
```
[R/mbd_loglik.R:4:72:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L4) *style:* **Trailing whitespace is superfluous.**
```r
#'   in which multiple births (from different parents) at the same time
                                                                       ^
```
[R/mbd_loglik.R:15:54:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L15) *style:* **Trailing whitespace is superfluous.**
```r
#' @return The function returns the natural logarithm
                                                     ^
```
[R/mbd_loglik.R:59:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L59) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (print_errors == TRUE) {
                              ^
```
[R/mbd_loglik.R:59:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L59) *style:* **Trailing whitespace is superfluous.**
```r
    if (print_errors == TRUE) {
                               ^
```
[R/mbd_loglik.R:64:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L64) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (print_errors == TRUE) {
                              ^
```
[R/mbd_loglik.R:64:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L64) *style:* **Trailing whitespace is superfluous.**
```r
    if (print_errors == TRUE) {
                               ^
```
[R/mbd_loglik.R:69:31:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L69) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (print_errors == TRUE) {
                              ^
```
[R/mbd_loglik.R:69:32:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L69) *style:* **Trailing whitespace is superfluous.**
```r
    if (print_errors == TRUE) {
                               ^
```
[R/mbd_loglik.R:79:15:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L79) *warning:* **no visible global function definition for ‘pmb_loglik’**
```r
    loglik <- pmb_loglik(pars = pars, brts = brts, soc = soc)
              ^~~~~~~~~~
```
[R/mbd_loglik.R:79:62:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L79) *style:* **Trailing whitespace is superfluous.**
```r
    loglik <- pmb_loglik(pars = pars, brts = brts, soc = soc)
                                                             ^
```
[R/mbd_loglik.R:84:13:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L84) *warning:* **no visible global function definition for ‘brts2time_intervals_and_births’**
```r
    data <- brts2time_intervals_and_births(brts)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik.R:107:60:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L107) *style:* **Trailing whitespace is superfluous.**
```r
    # alpha is the proportionality factor between max_k and
                                                           ^
```
[R/mbd_loglik.R:110:11:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L110) *warning:* **local variable ‘max_number_of_species’ assigned but may not be used**
```r
    lx <- max_number_of_species <- alpha * max_k;
          ^~~~~~~~~~~~~~~~~~~~~
```
[R/mbd_loglik.R:110:50:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L110) *style:* **Trailing whitespace is superfluous.**
```r
    lx <- max_number_of_species <- alpha * max_k;
                                                 ^
```
[R/mbd_loglik.R:130:58:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L130) *style:* **Trailing whitespace is superfluous.**
```r
      # alpha is the proportionality factor between max_k
                                                         ^
```
[R/mbd_loglik.R:132:52:](https://github.com/Giappo/mbd/blob/41efdf0e8d3ab04211b05d83edc21d194617da84/R/mbd_loglik.R#L132) *style:* **Trailing whitespace is superfluous.**
```r
      lx <- max_number_of_species <- alpha * max_k;


fdafdfd


I hope it works :D


Yorumlarınız için teşekkür ederim, algoritma geliştirilebilir demişsiniz neyi belirtmek iatediğinizi anlamadım, yardımcı olur musunuz ?


We have a utility function for that - simply:
```
    s3db.onaccept("project_task", record)
```


btw. `g:airline_theme` is `dark`.


fixes #116


Or
```
    s3db.onaccept(ttable, record)
```
...respectively.


Hey Charles, good work with the tests however your urls are not correct. They should begin with /api/...


make normal root?)


Nice


I'm not sure, but as we have only one configuration option for contexts in all protocols, I guess the default should also be constant. @urusha what do you think?


سلام توسان توهان کان


Most likely `clear-compiled` would fix it too, but I forgot about it and tried `package:discover` before that.


I mean Lab3_task1 :)


Also as note to myself:
**What I tried**
Added one hot vectors and flatten the values in extract_rows, for that we add self.scalar_cols and self.list_cols in prepare_data
Then there should be an output which column id of X contains the feature open and pdb should be startet, but it didn't get there
**Next thing**
Fix the thing below, get to the point with the output of where the column open is, add OPEN=42 to all modules that need it, multiply the output of forecasters by that column, use it as weights of the samples for the lstm and feed forward
**Last thing I did**
- Run modelselection
Traceback (most recent call last):
  File "src/main.py", line 38, in <module>
    import model_selection
  File "/home/niels/Dokumente/Informatik/Master/semantic-search/Predictive-Analysis/src/model_selection.py", line 27, in <module>
    feed_forward_data = FeedForwardData()
  File "/home/niels/Dokumente/Informatik/Master/semantic-search/Predictive-Analysis/src/data/feedforward_data.py", line 12, in __init__
    super().__init__(*args, **kwargs)
  File "/home/niels/Dokumente/Informatik/Master/semantic-search/Predictive-Analysis/src/data/data_extraction.py", line 54, in __init__
    self.prepare_data_for_extraction()
  File "/home/niels/Dokumente/Informatik/Master/semantic-search/Predictive-Analysis/src/data/data_extraction.py", line 84, in prepare_data_for_extraction
    rows = self.data.iloc[[0]].drop(['index'], axis=1)
AttributeError: 'FeedForwardData' object has no attribute 'data'


Created multidev environment [gtweb#ci-103](https://dashboard.pantheon.io/sites/48c6fbf0-589a-40de-bda2-16e7cd7c267d#ci-103).

[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-103-gtweb.pantheonsite.io/)


io.flutter.embedding.android.FlutterView and io.flutter.view.FlutterView seem to have a lot in common, is there some way their commonalities could be taken into an interface that we have both implement, and then return that from `view()` here? the fewer features we have that have no meaning in the new embedding, the better


Obrigado, João! Ainda vou implementar as outras sugestões, agora estou na verdade procurando uma lib adequada de testes (e antes disso, se devo ou não usar o Cabal ou o Stack) pra me adiantar nessa parte de corretude da implementação. Você tem uma sugestão quanto à isso?


seems to work


This is a sad day for Redis. "Master/slave" is well-established technical terminology, and the two are linguistically paired.
"Master/replica" is just weird. There's a clear linguistic sense that the inverse of a slave is a master. No such  sense exists for "replica". If you're going to change it, it would have to be "original/replica".

Deprecating "slave" just to placate a subset of crybullies -- even with backwards compatibility -- is a bad idea. There's no precedent in Redis for commands being officially renamed, especially in a large stroke such as this slave -> replica change. Besides, this will definitely mess with my C code that detects slave node errors in hiredis responses.

@antirez , you had a clear, cogent response on why you refused to alter the terminology. I am very curious to know what argument changed your mind.


![](https://github.trello.services/images/mini-trello-icon.png) [Modify security policies for Guests to ensure that Guests only see Published documents](https://trello.com/c/WXIls3zo/392-modify-security-policies-for-guests-to-ensure-that-guests-only-see-published-documents)


기본 상단바 대신 이렇게 사용하는 이유는 뭔가욥?


Initial Backend


Prueba


develop (Myoldmopar) - i386-Windows-7-VisualStudio-14: OK (2406 of 2406 tests passed, 0 test warnings)

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


Hi @MattDavies !
Can you please comment on this change as compared to @smarx implementation?
I use original AutoRenewLease in my code and I suspect it is having issues.

Thanks in advance!


I've seen this reported  a few times. Do you have any ideas how we address it in the editor? Can you please create an new issue to track this


Totally score: 10/10


Can `fileRename` be used here instead?


[inst/examples/example-slicer.R:8:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/inst/examples/example-slicer.R#L8) *style:* **Variable or function name should be lowerCamelCase.**
```r
DT <- reactive({
^~
```
[R/generator.R:107:4:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/generator.R#L107) *style:* **Commented code should be removed.**
```r
  #ns <- NS(id)
   ^~~~~~~~~~~~
```
[R/generator.R:111:4:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/generator.R#L111) *style:* **Commented code should be removed.**
```r
  #tabContent <- paste0(module$name, "UI(\"", ns(module$id), "\"", parameters, ")")
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/generator.R:208:4:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/generator.R#L208) *style:* **Commented code should be removed.**
```r
  #ns <- NS(id)
   ^~~~~~~~~~~~
```
[R/generator.R:212:4:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/generator.R#L212) *style:* **Commented code should be removed.**
```r
  #callModuleDirective <- paste0("callModule(", name, ", \"", ns(id), "\"", renderedParameters, ")")
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/histogramForRaster.R:76:9:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/histogramForRaster.R#L76) *style:* **Commented code should be removed.**
```r
    #   numeric()
        ^~~~~~~~~
```
[R/histogramForRaster.R:78:9:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/histogramForRaster.R#L78) *style:* **Commented code should be removed.**
```r
    #   ras[]
        ^~~~~
```
[R/polygonList.R:26:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/polygonList.R#L26) *style:* **Lines should not be more than 100 characters.**
```r
#' @note This is a temporary workaroud until we resolve inheritance of s3 classes (see \code{.polygonList}).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:132:37:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L132) *style:* **Commented code should be removed.**
```r
  tilesGroup <- "Time since fire" # session$ns("tiles")
                                    ^~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:139:37:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L139) *style:* **Commented code should be removed.**
```r
  tilesGroup <- "Time since fire" # session$ns("tiles")
                                    ^~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:150:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L150) *style:* **Commented code should be removed.**
```r
    #grep(rasterFilename, gsub("www/", "", rctUrlTemplate()), value = TRUE)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:192:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L192) *style:* **Commented code should be removed.**
```r
    #sp1 <- SpatialPoints(t(bbox(mapBoundsAsExtent)), proj4string = CRS(proj4stringLFLT))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:193:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L193) *style:* **Commented code should be removed.**
```r
    #sp2 <- spTransform(sp1, crs(rast))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:194:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L194) *style:* **Commented code should be removed.**
```r
    #tryCatch(crop(rast, sp2), error = function(x) NULL) ## TODO: why error? why NULL?
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/rastersOverTime.R:204:7:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/rastersOverTime.R#L204) *style:* **Commented code should be removed.**
```r
    # Cache(.sampleRasterToRAM, ras)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/simOutputs.R:90:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/simOutputs.R#L90) *style:* **Commented code should be removed.**
```r
    #Plot(demoArea, addTo = "map") ## TO DO: use study area from inside simList
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:24:9:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L24) *style:* **Commented code should be removed.**
```r
      # setkeyv(datatable, chosenCategories[[len]])
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:26:11:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L26) *style:* **Commented code should be removed.**
```r
      #   subtable <- na.omit(datatable[chosenValues[[len]]])
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:136:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L136) *style:* **Commented code should be removed.**
```r
    #assertthat::assert_that(is.data.table(datatable()))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:161:7:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L161) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      } %>% unique()
      ^
```
[R/slicer.R:167:9:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L167) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        } %>% unique()
        ^
```
[R/slicer.R:173:11:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L173) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
          } %>% unique()
          ^
```
[R/slicer.R:197:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L197) *style:* **Commented code should be removed.**
```r
    #Cache(.slicer, dtFull, categories, possibleValues, serverFunction, uiSequence, ...)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:276:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L276) *style:* **Commented code should be removed.**
```r
    #assertthat::assert_that(is.data.table(datatable()))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:294:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L294) *style:* **Commented code should be removed.**
```r
    #Cache(.slicer2, dtFull, categories, possibleValues, serverFunction, uiSequence, ...)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/slicer.R:305:7:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L305) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
      } %>% unique()
      ^
```
[R/slicer.R:311:9:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/slicer.R#L311) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
        } %>% unique()
        ^
```
[R/spades.R:19:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/spades.R#L19) *style:* **Variable or function name should be lowerCamelCase.**
```r
spades_simInit <- function(input, output, session, ...) {
^~~~~~~~~~~~~~
```
[R/spades.R:52:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/spades.R#L52) *style:* **Variable or function name should be lowerCamelCase.**
```r
spades_expt <- function(input, output, session, sim, reps, seed, objectsToHash,
^~~~~~~~~~~
```
[R/spades.R:57:6:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/spades.R#L57) *style:* **Commented code should be removed.**
```r
    #initialRun1 <- spades(Copy(sim), debug = TRUE)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/uploadPolygon.R:59:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/uploadPolygon.R#L59) *style:* **Lines should not be more than 100 characters.**
```r
        p("Upload a shapefile by selecting .shp and its associated files (or upload a single .zip file)."),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/uploadPolygon.R:60:1:](https://github.com/PredictiveEcology/SpaDES.shiny/blob/309315289e9179dd4acb73bfe5f6484100e308ce/R/uploadPolygon.R#L60) *style:* **Lines should not be more than 100 characters.**
```r
        p("Each polygon should have a \"shinyLabel\" attribute, otherwise a generic default will be used."),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


lgtm


#6982-EngRefEquationFixPart6 (RKStrand) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1773 of 1773 tests passed, 0 test warnings)

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


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


@MMOG77 This is great! It is clear that the intended audience is for novice or aspiring authors. The intro provides a good preview for what the reader should expect.
The execution of instructions so far is fantastic! The screen grabs and explanations are clear, concise, and easy to follow. It looks like you still plan to write the "Entering Content" section, but otherwise, all sections seem to be included.
*you have two "A"s on your last Q&A, just FYI.


I have this error on Linux:

```
src/../include/GXDLMSCertificateInfo.h:39:10: error fatal: tchar.h: No existe el fichero o el directorio
 #include <tchar.h>
          ^~~~~~~~~
compilación terminada.
make: *** [makefile:64: obj/GXDLMSCertificateInfo.o] Error 1
```


IBM Cloud [toolchain](https://console.ng.bluemix.net/devops/toolchains/f094bbc3-fc3f-402f-b769-7d23d4d5533c?env_id=ibm%3Ayp%3Aus-south "hive764"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/8e16040c-6017-478f-90c4-f224ad9a140e?env_id=ibm%3Ayp%3Aus-south "HIVE764") deployed [hive](https://github.com/WEITAO764/hive/releases/tag/deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-002729 "deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-002729") to [dev](https://console.bluemix.net/apps/247b1604-f5f3-41a1-b4ba-3af134758235?env_id=ibm:yp:us-south "ibm:yp:us-south:wtao@deakin.edu.au_1532874841224:dev"), including this commit


Total Score: 9.5/10
1. For sortSalary method, salary should print from low to high, your printing is oppose way.
2.Please submit your code with java editor instead of pdf, so we can commit your code line by line.


Day 1 Challenges Completed


Jiacheng Hu-Assignment2 Sep.21, 2018/Homework2.txt

//Score: 2/2


Awesome!


Created multidev environment [gtweb#ci-105](https://dashboard.pantheon.io/sites/48c6fbf0-589a-40de-bda2-16e7cd7c267d#ci-105).

[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-105-gtweb.pantheonsite.io/)


Aproposito, não recomendaria ver o Cabal agora, dado a apresentação para sexta mas o HUnit da para ver quando quiser, de tão simples.


// age 50 in line 78 should be  exclusive


Won't you get problems with angle wraparound here?


You have `welcome/about` defined twice in your routes.  Was that intentional?


// in here, you can just write "else{ result = 0.06*employee.salary; }"


Here, you declare your `root` path as `welcome#index`, and therefor no longer need `get welcome/index`.


Score: 9.5 + extra credit 2 = 10/10


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-191-ci-drops-8.pantheonsite.io/)

Created multidev environment [ci-191](https://dashboard.pantheon.io/sites/689219ca-6583-4af8-ab05-2cebf6ef79a0#ci-191) for ci-drops-8.


Descripción
Este proyecto está dedicado a la administración de inventario de productos, el cual tendrá un impacto muy significativo para la empresa, ya
que permitirá conocer sus datos reales de inventario, podrá contar con datos históricos lo que beneficiara de forma positiva y efectiva
para la toma de decisiones de inversión futuras.

Problema identificado:
Se identifico robo de productos por parte de los empleados por la falta de un correcto control de inventario, esto debido a la falta
de monitoreó y supervisión de los productos, de igual forma al no contar con una aplicación que resguardara datos históricos sobre los
productos quedando expuestos para la sustracción.

Solución.
Creación de una aplicación que resguarde la información real de todos los productos de inventario, con la capacidad de saber que productos
entran y salen mediante un sistema de base de datos

Arquitectura


m


ano to hahahahaha


Now cannot deploy because all the allocated instances are in use.
You can either [upgrade](https://zeit.co/account/plan) your plan or [down scale](https://zeit.co/docs/getting-started/scaling) existing [deployments](https://zeit.co/dashboard/deployments).


I don't quite agree with this name change. Is there a reason for this?

First, when you name a method of a class, you should define it in a way that it conveys how this class of objects can interact, not the purpose/use of this interaction. For example, a class `Food` may have a method named `Cook()` but not `MakeDishForDinner()`.

Second, `Utxo` should be `UTXO`. Please read the [initialism section in go style guide](https://github.com/golang/go/wiki/CodeReviewComments#initialisms)

Third, you should omit the `UtxoIndex` word in the method name. Please read [go style guide](https://github.com/golang/go/wiki/CodeReviewComments#package-names):
> All references to names in your package will be done using the package name, so you can omit that name from the identifiers. For example, if you are in package chubby, you don't need type ChubbyFile, which clients will write as chubby.ChubbyFile. Instead, name the type File, which clients will write as chubby.File.


Hey @smalgin....blast from the past trying to remember code that I wrote 5 years ago! I don't recall exactly but from what I do remember testing, reset events (which weren't around when the original implementation was written) are much more reliable than a lock/monitor combination.

I would recommend if you are still using one of these implementations you drop it as soon as possible in favour of Azure App Services. There was a period where this library had features that App Services didn't, but that has long been reversed.


I dunno, I kind of like it their way... :-)

They're using the array as a stack, not as an array-masquerading-as-a-stack.


IBM Cloud [toolchain](https://console.ng.bluemix.net/devops/toolchains/14e0c5b8-3bc9-4644-a9e7-9a0fba1c21ef?env_id=ibm%3Ayp%3Aus-south "callforcode-deepsos"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/f2eff4da-8fcf-4626-9f52-e77023ffcd2e?env_id=ibm%3Ayp%3Aus-south "callforcode-deepsos") deployed [callforcode-deepsos](https://github.com/shekoocoder/callforcode-deepsos/releases/tag/deploy-ibm-yp-us-south-Shekoocoder-gmail.com-dev-20180927-004404 "deploy-ibm-yp-us-south-Shekoocoder-gmail.com-dev-20180927-004404") to [dev](https://console.bluemix.net/apps/4a3e7d7a-645c-4214-82af-b97871183725?env_id=ibm:yp:us-south "ibm:yp:us-south:Shekoocoder@gmail.com:dev"), including this commit


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-192-ci-drops-8.pantheonsite.io/)

Created multidev environment [ci-192](https://dashboard.pantheon.io/sites/689219ca-6583-4af8-ab05-2cebf6ef79a0#ci-192) for ci-drops-8.


develop (Myoldmopar) - Win64-Windows-7-VisualStudio-14: OK (2406 of 2406 tests passed, 0 test warnings)

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


![](https://github.trello.services/images/mini-trello-icon.png) [App](https://trello.com/c/fV3nGb9R/5-app)


This commit broke the build.

```
In file included from /home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/headers.hpp:6:0,
                 from /home/jim/utils/openpose/sources/openpose/src/openpose/wrapper/defineTemplates.cpp:1:
/home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/wrapper.hpp: In instantiation of ‘TDatumsSP op::WrapperT<TDatums, TDatumsSP, TWorker>::emplaceAndPop(const cv::Mat&) [with TDatums = std::vector<op::Datum>; TDatumsSP = std::shared_ptr<std::vector<op::Datum> >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<op::Datum> > > >]’:
/home/jim/utils/openpose/sources/openpose/src/openpose/wrapper/defineTemplates.cpp:5:27:   required from here
/home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/wrapper.hpp:598:20: error: could not convert ‘false’ from ‘bool’ to ‘std::shared_ptr<std::vector<op::Datum> >’
             return false;
                    ^~~~~
```


ionic cordova plugin add cordova-sqlite-storage
npm install --save @ionic-native/sqlite

ionic cordova platform add android

ionic cordova run android


Interface Gráfica em WB das duas telas, DadosIMC e ResultadosIMC.


a


This is a game that we have been working on for about a month, and I want to put it here. I'm having trouble with some of the functions.


![](https://github.trello.services/images/mini-trello-icon.png) [Solenoids](https://trello.com/c/FzX0zUWM/1-solenoids)


//score: 2/2


// score: 2/2


// 35 should be inclusive, employee.age > =35


@A-ruhan

请继续完成这个。

另外，在代码之外请加上**文字描述**，阐明分析逻辑。


jar包为生成以后的文件 ，应该在提交前排除掉。
否则，大家把自己的JAR包都打包上来，这个项目就会非常大。大家同步的时候，会把JAR包全部同步到自己的代码库中。


// score: 1.5/2
// There is a better way to do this compare.
// if (employee.age < 35) ... else if (employee.age >= 35 && employee.age <= 50)... else if (employee.age > 50 && employee.age < 60) .. else.
// let me know if you have any questions


这个文件并不是第一次出现，怎么会全部提交了呢？


commit 1?


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-193-ci-drops-8.pantheonsite.io/)

Created multidev environment [ci-193](https://dashboard.pantheon.io/sites/689219ca-6583-4af8-ab05-2cebf6ef79a0#ci-193) for ci-drops-8.


一次提交的代码过多。@poshichao 指导一下。达到：在自己的分支上，每天增量提交的效果。


I honestly think we should take a meet-in-the-middle approach to the Code Of Conduct. Perhaps revise it to be less politically charged while still allowing an honestly equal environment? Or we could just revert the commit to the Code of Conflict which would permit practically the same environment without people quite literally pulling their code just because they don't philosophically agree with you and causing the entire project to drag its feet (and eventually degrade in quality in the process) until someone makes a conclusive compromise like the rational adults I thought we all acted like.


Total score: 9.5 + etra credit 2 = 10/10


Rust dude, not C++ 🤦🏻♂


<img width="360" alt="screen shot 2018-09-26 at 5 46 27 pm" src="https://user-images.githubusercontent.com/4545419/46111217-2b540200-c1b4-11e8-913d-b6cb0065da74.png">

Network Connection API:
http://devapi.mygasfeed.com/stations/radius/38.901222/-77.265259/1/reg/distance/rfej9napna.json


you checked that `strip` works as well as `replace(' ', '')` since `"Value": "192.015 5714 e-12",` v5alue can have internal spaces? I worry about py35


Did you mean to use 1, 2, and 4 instead of 0, 1, and 2?


Thanks, downloading just a specific videos working, its any way we can download the full playlist


这里确实是不好的书写习惯，这块代码写的也有点乱，正好需求有所变化，我这块重新优化一下。


注释呢？


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-194-ci-drops-8.pantheonsite.io/)

Created multidev environment [ci-194](https://dashboard.pantheon.io/sites/689219ca-6583-4af8-ab05-2cebf6ef79a0#ci-194) for ci-drops-8.


没有注释。就是最低级的代码。


我去看下differentWith，看看能不能参考


No. The bits are shifted according to this enum. See {get,set}MouseButtons(). My code works as expected. Feel free to test it.


do you think the increased readability of formatting is worth the transparency loss in clean `diff` btwn repo and fresh internet file?


这里其实不设定必填不必填，是在前端请求的时候需要要求返回code


//score: 2/2


1. 一些二进制的，无法在GITHUB中显示的文件 ，可以考虑排除。
2. 缩进应该统一。要么2个空格，要么4个空格。
3. 注释应该形成一种习惯。


age 60 should be exclusive here, age <60


@mashurex - The MYSQLDAO test cases are failing after we update the drive version. The class that fails is MySQLQueueDAOTest and the method name is processUnacksTest() . Can you have a look at it?

We can revert back to the previous version if needed. The in-memory mysql database seems to have issues and it very difficult to debug the issue with this database


“/github/” is recommended but “/gh/” should work too. I'll check on it later


代码上整体来看，是用心后的作品。但缩进不统一，还有乱缩进的现象。
另外，代码的规范性还需要进一步的提升。有部分代码是符合规范的，但还有很大部分的代码是自己随意写的。


OK


Help iam only a beginner and now I am lost  trying to understand all the work that "surfer jeff Atgoogle" has done and I could do with some guidance but I don't know who to ask and well I buzz from solving things so I will teach myself by watching you guys but please if
you have a spare bit of time can you help me at


Created multidev environment [gtweb#ci-108](https://dashboard.pantheon.io/sites/48c6fbf0-589a-40de-bda2-16e7cd7c267d#ci-108).

[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://ci-108-gtweb.pantheonsite.io/)


Successfully aliased the URL <https://dialetus-service-ykecbbxadq.now.sh> to the following alias.

* https://dialetus-service.now.sh


Two pups are hanging around here not pulling their weight, lazy bums


#6982-EngRefEquationFixPart6 (RKStrand) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (2409 of 2409 tests passed, 0 test warnings)

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


This is actually the commit that broke the build.

```
In file included from /home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/headers.hpp:6:0,
                 from /home/jim/utils/openpose/sources/openpose/src/openpose/wrapper/defineTemplates.cpp:1:
/home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/wrapper.hpp: In instantiation of ‘TDatumsSP op::WrapperT<TDatums, TDatumsSP, TWorker>::emplaceAndPop(const cv::Mat&) [with TDatums = std::vector<op::Datum>; TDatumsSP = std::shared_ptr<std::vector<op::Datum> >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<op::Datum> > > >]’:
/home/jim/utils/openpose/sources/openpose/src/openpose/wrapper/defineTemplates.cpp:5:27:   required from here
/home/jim/utils/openpose/sources/openpose/include/openpose/wrapper/wrapper.hpp:598:20: error: could not convert ‘false’ from ‘bool’ to ‘std::shared_ptr<std::vector<op::Datum> >’
             return false;
                    ^~~~~
```


Thanks for the very quick feed-back! (somehow it did not crash on my machines). Fixed in the latest commit. Please, let me know if it still does not work.


Please see the other message, it should be fixed. Thanks!


#6982-EngRefEquationFixPart6 (RKStrand) - x86_64-Linux-Ubuntu-14.04-custom_check: OK (0 of 0 tests passed, 0 test warnings)

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


@gaonK
디자인 가이드를 보면
'전체' 탭에서만 상단바가 존재해 직접 상단바를 추가하였습니다!


//score: 1.5/2


IBM Cloud [toolchain](https://console.ng.bluemix.net/devops/toolchains/f094bbc3-fc3f-402f-b769-7d23d4d5533c?env_id=ibm%3Ayp%3Aus-south "hive764"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/8e16040c-6017-478f-90c4-f224ad9a140e?env_id=ibm%3Ayp%3Aus-south "HIVE764") deployed [hive](https://github.com/WEITAO764/hive/releases/tag/deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-013222 "deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-013222") to [dev](https://console.bluemix.net/apps/247b1604-f5f3-41a1-b4ba-3af134758235?env_id=ibm:yp:us-south "ibm:yp:us-south:wtao@deakin.edu.au_1532874841224:dev"), including this commit


IBM Cloud [toolchain](https://console.ng.bluemix.net/devops/toolchains/14e0c5b8-3bc9-4644-a9e7-9a0fba1c21ef?env_id=ibm%3Ayp%3Aus-south "callforcode-deepsos"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/f2eff4da-8fcf-4626-9f52-e77023ffcd2e?env_id=ibm%3Ayp%3Aus-south "callforcode-deepsos") deployed [callforcode-deepsos](https://github.com/shekoocoder/callforcode-deepsos/releases/tag/deploy-ibm-yp-us-south-Shekoocoder-gmail.com-dev-20180927-013225 "deploy-ibm-yp-us-south-Shekoocoder-gmail.com-dev-20180927-013225") to [dev](https://console.bluemix.net/apps/4a3e7d7a-645c-4214-82af-b97871183725?env_id=ibm:yp:us-south "ibm:yp:us-south:Shekoocoder@gmail.com:dev"), including this commit


https://www.hotstar.com/tv/eeramaana-rojaave/s-1544/list/episodes/t-1_2_1544

I want to download videos from this playlist


 //Score: 2/2
//requirement is to use raiseSalary()method, but your way is also correct


2819-09-27 uploaded the md for mysql 28000 ERROR


Total score: 9.5 + extra credit 2 = 10/10


+ 코멘트와 더불어 `approve` 해주셨는데, merge해도 되는걸까요?


TeamCity Chorus :: chorus-win32-2.6 Continuous [Build 2.6.527.10d7766290823fc7e47ed84ae0156391a8bb1913](http://build.palaso.org/viewLog.html?buildId=130223&buildTypeId=bt2) outcome was **FAILURE**
Summary: Error while applying patch Build time: 00:03:49


Total score: 10 + extra credit 2 = 10/10.
Please submit your code with java editor instead of pdf, so we can comment your code line by line.


IBM Cloud [toolchain](https://console.ng.bluemix.net/devops/toolchains/f094bbc3-fc3f-402f-b769-7d23d4d5533c?env_id=ibm%3Ayp%3Aus-south "hive764"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/8e16040c-6017-478f-90c4-f224ad9a140e?env_id=ibm%3Ayp%3Aus-south "HIVE764") deployed [hive](https://github.com/WEITAO764/hive/releases/tag/deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-013825 "deploy-ibm-yp-us-south-wtao-deakin.edu.au_1532874841224-dev-20180927-013825") to [dev](https://console.bluemix.net/apps/247b1604-f5f3-41a1-b4ba-3af134758235?env_id=ibm:yp:us-south "ibm:yp:us-south:wtao@deakin.edu.au_1532874841224:dev"), including this commit


It built for me. Thanks.


做事的风格


Successfully aliased the URL <https://now-examples-vvjeslkvoo.zeit.sh> to the following alias.

* https://now-examples.now.sh


This passwordHash is stored as bytes32 inside the contract. If I use web3.Ascii() to pass the hash value, then I see that 64 byte data was getting passed to the contract. This used to fail the password hash comparison inside the contract.


//score: 2/2


//score :2/2


@niememat Hi, thanks for your Finnish translations 👍 .


Total score: 10 + extra credit 2 =10/10
Do not change the order for assignment, constructor should be the beginning of class.


remove


Successfully aliased the URL <https://now-examples-augxyjvcry.zeit.sh> to the following alias.

* https://now-examples.now.sh