[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the average number of junctions after an infinite number of generations, provided information on the initial heterozygosity, population size and the number of generations.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calc_K.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calc_K.R:11:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L11) *style:* **Variable or function name should be snake_case.**
```r
calc_k <- function(N = Inf,
                   ^
```
[R/calc_K.R:12:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L12) *style:* **Variable or function name should be snake_case.**
```r
                   R = Inf,
                   ^
```
[R/calc_K.R:13:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                   H_0 = 0.5,
                   ^~~
```
[R/calc_K.R:16:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L16) *style:* **Variable or function name should be snake_case.**
```r
  K <- H_0 * C * 2 * N * R / (2 * N * C + R)
  ^
```
[R/calc_K.R:19:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L19) *style:* **Variable or function name should be snake_case.**
```r
    K <- H_0 * R
    ^
```
[R/calc_K.R:23:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L23) *style:* **Variable or function name should be snake_case.**
```r
    K <- H_0 * C * 2 * N
    ^
```
[R/calc_K.R:27:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L27) *style:* **Variable or function name should be snake_case.**
```r
    K <- Inf
    ^
```
[R/calculate_error.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the error in the estimate of the onset of hybridisation, following Equations 3 & 4 in the Supplementary information of Janzen et al. 2018.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @param relative Boolean flag, if TRUE: return the relative error, if FALSE: return error in generations
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:15:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L15) *style:* **Variable or function name should be snake_case.**
```r
time_error <- function(J = NA,
                       ^
```
[R/calculate_error.R:16:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L16) *style:* **Variable or function name should be snake_case.**
```r
                       N = Inf,
                       ^
```
[R/calculate_error.R:17:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L17) *style:* **Variable or function name should be snake_case.**
```r
                       R = Inf,
                       ^
```
[R/calculate_error.R:18:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L18) *style:* **Variable or function name should be snake_case.**
```r
                       H_0 = 0.5,
                       ^~~
```
[R/calculate_error.R:24:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L24) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/calculate_error.R:30:7:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L30) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if ( relative) return(  error)
      ^
```
[R/calculate_error.R:30:25:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L30) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if ( relative) return(  error)
                        ^
```
[R/calculate_MAT.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Function that calculates the maximum time after hybridization after which the number of junctions can still be reliably used to estimate the onset of hybridization. This is following equation 15 in Janzen et al. 2018.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_MAT.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_MAT.R:12:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L12) *style:* **Variable or function name should be snake_case.**
```r
calculate_mat <- function(N = Inf,
                          ^
```
[R/calculate_MAT.R:13:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_MAT.R:14:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_MAT.R:20:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L20) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/calculate_time.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Estimate the time since the onset of hybridization, using the number of junctions
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Estimate the time since the onset of hybridization, following equation 14 in Janzen et al. 2018
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' estimate_time(J = J, N = 100, R = 1000, H_0 = 0.5, C = 1)  # should be 200 again
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:13:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L13) *style:* **Variable or function name should be snake_case.**
```r
estimate_time <- function(J = NA,
                          ^
```
[R/calculate_time.R:14:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                          N = Inf,
                          ^
```
[R/calculate_time.R:15:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L15) *style:* **Variable or function name should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_time.R:16:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L16) *style:* **Variable or function name should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_time.R:28:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L28) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/estimate_time_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Estimate the time since the onset of hybridization, using the observed number of junctions, taking into account the distribution of markers
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Estimate the time since the onset of hybridization, following equation 1 in Janzen et al. unpublished
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param marker_distribution A vector containing the position of all markers in Morgan.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:8:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:12:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' J <- number_of_junctions_markers(N = 100, H_0 = 0.5, t = 200, marker_distribution = markers)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:18:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L18) *style:* **Variable or function name should be snake_case.**
```r
estimate_time_markers <- function(J = NA,
                                  ^
```
[R/estimate_time_markers.R:19:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L19) *style:* **Variable or function name should be snake_case.**
```r
                                  N = Inf,
                                  ^
```
[R/estimate_time_markers.R:20:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L20) *style:* **Variable or function name should be snake_case.**
```r
                                  H_0 = 0.5,
                                  ^~~
```
[R/estimate_time_markers.R:34:71:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  fitted <- stats::optimize(to_fit, interval = c(lower_lim, upper_lim) )
                                                                      ^
```
[R/estimate_time_phased.R:2:57:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L2) *style:* **Variable or function name should be snake_case.**
```r
get_prob_from_matrix_phased <- function(left, right, p, P) {
                                                        ^
```
[R/estimate_time_phased.R:108:19:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L108) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_phased.R:135:23:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L135) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_phased.R:135:32:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L135) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_phased.R:138:10:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L138) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( log(focal_prob))
         ^
```
[R/estimate_time_phased.R:142:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L142) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the time since admixture, given unphased ancestry data.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:143:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L143) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector using labels indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (label = 1), homozygous for the second ancestor (label = 2), heterozygous [0,1] (label = 3) or heterozygous [1, 0] (label = 4).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:147:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L147) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:148:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L148) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:149:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L149) *style:* **Lines should not be more than 80 characters.**
```r
#' @param optim_pop_size If TRUE, population size is also optimized. Starting point of the optimizaton will then be on the given population size, and half the maximum time.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:184:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L184) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/estimate_time_phased.R:191:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L191) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/estimate_time_unphased.R:2:50:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L2) *style:* **Variable or function name should be snake_case.**
```r
get_prob_from_matrix <- function(left, right, p, P) {
                                                 ^
```
[R/estimate_time_unphased.R:12:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                       ^
```
[R/estimate_time_unphased.R:12:43:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                                          ^
```
[R/estimate_time_unphased.R:18:22:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L18) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- p * q * ( p * q * P[3] +
                     ^
```
[R/estimate_time_unphased.R:35:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (q ^ 2) * ( P[1] + P[4] + P[7]) +
                       ^
```
[R/estimate_time_unphased.R:88:19:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L88) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_unphased.R:115:23:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L115) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_unphased.R:115:32:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L115) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_unphased.R:118:12:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L118) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    return( log(focal_prob))
           ^
```
[R/estimate_time_unphased.R:175:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L175) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/estimate_time_unphased.R:182:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L182) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/number_of_junctions_backcross.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, in a backcrossing mating scheme.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_backcross.R:4:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L4) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_backcross.R:10:43:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L10) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_backcross <- function(H_0 = 0.5,
                                          ^~~
```
[R/number_of_junctions_di.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' Calculate the expected number of junctions between two markers separated by a given amount of recombination
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_di.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, provided information on the initial heterozygosity, population size, the number of generations since the onset of admixture and the distance between two markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_di.R:12:36:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L12) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_di <- function(N = Inf,
                                   ^
```
[R/number_of_junctions_di.R:13:36:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                                   H_0 = 0.5,
                                   ^~~
```
[R/number_of_junctions_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Calculate the expected total number of junctions in a chromosome, given the distribution of markers
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, provided information on the initial heterozygosity, population size, the number of generations since the onset of admixture and the distribution of markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param marker_distribution A vector containing the position of all markers in Morgan.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:20:41:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L20) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_markers <- function(N = Inf,
                                        ^
```
[R/number_of_junctions_markers.R:21:41:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L21) *style:* **Variable or function name should be snake_case.**
```r
                                        H_0 = 0.5,
                                        ^~~
```
[R/number_of_junctions_markers.R:32:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L32) *warning:* **no visible global function definition for ‘number_of_junctions_di’**
```r
    expected_junctions <- number_of_junctions_di(N, H_0, t, di)
                          ^~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the average number of junctions after t generations, provided information on the initial heterozygosity, population size and the number of generations.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:13:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L13) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions <- function(N = Inf,
                                ^
```
[R/number_of_junctions.R:14:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                                R = Inf,
                                ^
```
[R/number_of_junctions.R:15:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L15) *style:* **Variable or function name should be snake_case.**
```r
                                H_0 = 0.5,
                                ^~~
```
[R/number_of_junctions.R:28:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L28) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/optim_limits.R:5:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/optim_limits.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param calc_func function to calculate the time, should accept two arguments: upper, lower and should return a stats::optimize object with two properties: $minimum and $objective
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/optim_limits.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/optim_limits.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param iterations number of times the boundaries should be adjusted to obtain an estimate that is not close to the boundaries. After this number of iterations is exceeded, NA is returned
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the log likelihood of observing the phased data, given the population size, initial heterozygosity and time since admixture
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:38:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L38) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/phased_log_likelihood.R:45:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L45) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param size_in_morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_backcrossing.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' recorded to be returned at the end of the simulation. If left at -1, ancestry is recorded at every generation (computationally heavy).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_backcrossing.R:12:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' @return List with five entries: average_junctions: average number of junctions over time, detected_junctions: average number of detected junctions, given the markers. markers: vector with the locations of the molecular markers, junction_distribution: distribution of junctions per time step average_heterozygosity: average heterozygosity.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions for a chromosome with regularly distributed markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:5:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @return \item{avgJunctions}{vector of the average number of junctions at time = [0, total_runtime]}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:17:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L17) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
sim_fin_chrom <- function (pop_size = 100,
                          ^
```
[R/sim_fin_chrom.R:22:28:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L22) *style:* **Variable or function name should be snake_case.**
```r
                           R = 100) {
                           ^
```
[R/sim_inf_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions for a chromosome with an infinite number of recombination sites.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param markers The number of genetic markers superimposed on the chromosome. If markers is set to -1, no markers are superimposed (faster simulation)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @return \item{avgJunctions}{vector of the average number of junctions at time = [0, total_runtime]}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions, returning phased and unphased data. Ancestry on both chromosomes of 10 randomly sampled individuals per generations is returned.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param size_in_morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param number_of_markers The number of genetic markers superimposed on the chromosome.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:8:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param time_points vector with time points at which local ancestry has to be recorded to be returned at the end of the simulation. If left at -1, ancestry is recorded at every generation (computationally heavy).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' @return a tibble with five columns: [time, individual, marker location, ancestry chromosome 1, ancestry chromosome 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the log likelihood of observing the unphased data, given the population size, initial heterozygosity and time since admixture
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:34:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/unphased_log_likelihood.R:41:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L41) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/util.R:22:10:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L22) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( get_states_vector(local_anc))
         ^
```
[R/util.R:22:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L22) *warning:* **no visible global function definition for ‘get_states_vector’**
```r
  return( get_states_vector(local_anc))
          ^~~~~~~~~~~~~~~~~
```
[R/util.R:56:42:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L56) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                    (local_anc_matrix[, 1 ] == local_anc_matrix[, 2]))
                                         ^
```
[R/util.R:108:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L108) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state <- function(P, p, focal_state) {
^~~~~~~~~~~~~~~~~~~~~~~
```
[R/util.R:108:37:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L108) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state <- function(P, p, focal_state) {
                                    ^
```
[R/util.R:116:49:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L116) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (focal_state == 3) cond_prob <- (q ^ 2) * ( P[1] + P[4] + P[7]) +
                                                ^
```
[R/util.R:122:49:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L122) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (focal_state == 4) cond_prob <- (p ^ 2) * ( P[1] + P[4] + P[7]) +
                                                ^
```
[R/util.R:146:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L146) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state_phased <- function(P, p, focal_state) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/util.R:146:44:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L146) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state_phased <- function(P, p, focal_state) {
                                           ^
```
[R/util.R:151:18:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L151) *warning:* **no visible global function definition for ‘get_expectation_O_state’**
```r
    cond_prob <- get_expectation_O_state(P, p, focal_state)
                 ^~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-equations.R:11:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-equations.R#L11) *style:* **Variable or function name should be snake_case.**
```r
  A <- is.infinite(v3)
  ^
```
[tests/testthat/test-equations.R:18:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-equations.R#L18) *style:* **Variable or function name should be snake_case.**
```r
  J <- junctions::number_of_junctions(N = 100, R = 1000,
  ^
```
[tests/testthat/test-marker_dist.R:4:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L4) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:16:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L16) *style:* **Variable or function name should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:17:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L17) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:60:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L60) *style:* **Variable or function name should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:61:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L61) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-sims.R:4:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L4) *style:* **Variable or function name should be snake_case.**
```r
  R <- 100 #chromosome size
  ^
```
[tests/testthat/test-sims.R:5:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L5) *style:* **Variable or function name should be snake_case.**
```r
  N <- 100 #population size
  ^
```
[tests/testthat/test-sims.R:6:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L6) *style:* **Variable or function name should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```
[tests/testthat/test-sims.R:29:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L29) *style:* **Variable or function name should be snake_case.**
```r
  N <- 50 #population size
  ^
```
[tests/testthat/test-sims.R:30:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L30) *style:* **Variable or function name should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```


Shouldn't that be `nqp::hash()`?


- Maltego Rapid Transform Development Framework


Okok ahora lo hago

El mié., 12 jun 2019 8:49 a. m., Daniel Luna <notifications@github.com>
escribió:

> Hay muchos commits que son de pruebas. crea una nueva rama a partir de
> master que se llame remove_temporals y mete todos tus cambios ahí por
> favor, para que sea más legible lo que hiciste y haces push a esa nueva
> rama y creas el PR.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/daniel-luna-gonzalez/content/commit/3a1c94f1bb6d73418b24f890138bae40da183ac1?email_source=notifications&email_token=AH25GMHOYGDSGHZZMJDACJTP2D5HPA5CNFSM4HXFFCNKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBAK5CT#commitcomment-33911891>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AH25GMBIFFHIYIDMWBVZHDLP2D5HPANCNFSM4HXFFCNA>
> .
>


Fund availability is an issue


Successfully aliased the URL <https://express-octeom6vg.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


Does it really matter? Both operators do the same thing.


Successfully aliased the URL <https://liganicer-bffjis3rg.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Maltego Rapid Transform Development Framework


The return value is currently not specified sufficiently. That is, there's no NotNull annotation, but I would still expect a non-null Iterable here. Theoretically, it's then possible this method returns null.


Successfully aliased the URL <https://liganicer-bgv1mx6gn.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


I believe `tab-always-indent` should not be set here since not all users will want the same behaviour (I personally prefer setting it to `complete`).


I didn't notice it, I will revert it


Successfully aliased the URL <https://fme-graphql-qjb7dvirm.now.sh> to the following aliases.

* https://graphql.firstmeanseverything.com
* https://fme-graphql.firstmeanseverything.now.sh
* https://fme-graphql-git-master.firstmeanseverything.now.sh


Successfully aliased the URL <https://liganicer-kmne9pxbr.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Deployment failed with the following error:

~~~
You defined 1 build that did not match any source files (please ensure they are NOT defined in .nowignore):
~~~


Successfully aliased the URL <https://irinslandingnode-raeooxc2u.now.sh> to the following aliases.

* https://www.irinsexpertadvisor.com
* https://irinsexpertadvisor.com
* https://irinslandingnode.fandya46.now.sh
* https://irinslandingnode-git-master.fandya46.now.sh


![](https://github.trello.services/images/mini-trello-icon.png) [tomo add babel webpack --> causes issues with redundant keys](https://trello.com/c/vtmuod21/153-tomo-add-babel-webpack-causes-issues-with-redundant-keys)


Successfully aliased the URL <https://liganicer-cnft0vy0g.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Thanks @tdooner :)  Next time you can tell me where to make a PR!


aw crap, that's why i left that param there: as a reminder to do that. Which i then forgot :P haha


I think you should prefix all your variables and functions with `ott-` to avoid polluting the global namespace.


Game


Successfully aliased the URL <https://liganicer-4mxuqhsk0.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Flip comparison for readability?


Записан рекордером сценарий


Successfully aliased the URL <https://relational-playground-7q4ozh1li.now.sh> to the following aliases.

* https://relational-playground.michaelmior.now.sh
* https://relational-playground-git-master.michaelmior.now.sh


When using DBD::MariaDB driver you do not have to do anything with encoding. Driver correctly setup charset and collation. If you need different SQL_MODE or other variable, feel free to change it.


Successfully aliased the URL <https://express-h3kdu0b2e.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


fixes #37


Fixed


Sorry missed that.

You can test that with the Linux kernel provided by Gaisler:
https://www.gaisler.com/anonftp/linux/linux-2.6/images/leon-linux-4.9/leon-linux-4.9-1.0/

Not sure that it boots out of the box though as we don't use all the functionality required by the linux
kernel.


@JuliaRegistrator register()


Registration pull request created: [JuliaRegistries/General/1337](https://github.com/JuliaRegistries/General/pull/1337)

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if [Julia TagBot](https://github.com/apps/julia-tagbot) is installed, or can be done manually through the github interface, or via:
```
git tag -a v1.3.0 -m "<description of version>" 154c58e0f80a00ec0f7caa45ed241fd18a317904
git push origin v1.3.0
```


Successfully aliased the URL <https://backend-azhmn7wot.now.sh> to the following aliases.

* https://backend.study-better.now.sh
* https://backend-git-master.study-better.now.sh


That's true, it wasn't, but I also didn't get it yesterday when I was on 0.1.1. Did it work now, though? I think may as well have it set to 0.1.2 for the required install.


So does this fix #487?


gcTypeCodes is not used anymore in the final query. If it is really not necessary anymore, then it can be removed.


This conversation is being locked as a new commit has been made. Please use the latest commit.


Successfully aliased the URL <https://express-pc4779f1w.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


@Rekhyt not sure why this is needed, the default is `http://auth.shopgate{env}.services/oauth/token`, which means it will become `http://auth.shopgatedev.services/oauth/token` if `env="dev"` is set


same as my comment above


Successfully aliased the URL <https://mattdufeucouk-gqeb9f4bz.now.sh> to the following aliases.

* https://mattdufeu.co.uk
* https://mattdufeucouk.mattdufeu.now.sh
* https://mattdufeucouk-git-master.mattdufeu.now.sh


this is also the default path for the token, not needed?


Successfully aliased the URL <https://liganicer-cw457lz1i.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Cool!

What do you mean with "Thingset is not fully supported"?


Successfully aliased the URL <https://nextjs-fqb4ocd45.now.sh> to the following aliases.

* https://nextjs.famchat.now.sh
* https://nextjs-git-master.famchat.now.sh


Successfully aliased the URL <https://express-4hjynhidn.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


この辺りに引数チェックを入れたい


I had a strange error with a WiPy3 after installing this recent commit batch. WiFi was not working any more. Tracing the error codes in the sources it came to:
Error 0x3001 when calling esp_wifi_set_config: meaning Wifi was not initialized (line 685 in mods/modwlan.c)
Error 0x1101 when calling esp_wifi_init: meaning NVS was not initialized. (line 256 in mods/modwlan.c)
Since NDEBUG is not set, this error is silently ignored.
At that point I wiped the flash and re-flashed the firmware, which solved the issue. So if someone comes up with that problem, it may have the similar reason. I hope I will remember it then.


色も変更したい


I will create PR with test and fix

Op wo 12 jun. 2019 15:46 schreef Frédéric Delaporte <
notifications@github.com>:

> Thanks,
> Could you indicate if this causes some bugs and if yes, in which
> circumstances (repro?)? Or if there is already some opened issue or PR
> about this, add a reference to it.
> (I have not done any investigation.)
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/nhibernate/nhibernate-core/commit/71aa2117f24220eed3e195a2f6041a76868801b3?email_source=notifications&email_token=AAFHG7OHHU7OMJAYCMBH743P2D42JA5CNFSM4HXIJNJKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBAK5BA#commitcomment-33911840>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAFHG7I32XO77GUEMYPJ7ZDP2D42JANCNFSM4HXIJNJA>
> .
>


Successfully aliased the URL <https://liganicer-3voa5rpx6.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Sounds fantastic and a straightforward migration to write 👍🏻


Sorry about making this such a pain to build. If you ever feel like checking it out again, I think it should build out of the box now.


DRY にする


这是我最喜欢的eclipse Java format


```
 Error starting Micronaut server: Unable to start Micronaut server on port: 23070
io.micronaut.http.server.exceptions.ServerStartupException: Unable to start Micronaut server on port: 23070
        at io.micronaut.http.server.netty.NettyHttpServer.bindServerToHost(NettyHttpServer.java:438)
        at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:310)
        at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:95)
        at io.micronaut.runtime.Micronaut.lambda$start$2(Micronaut.java:75)
        at java.util.Optional.ifPresent(Optional.java:159)
        at io.micronaut.runtime.Micronaut.start(Micronaut.java:73)
        at io.micronaut.runtime.Micronaut.run(Micronaut.java:288)
        at io.micronaut.runtime.Micronaut.run(Micronaut.java:274)
        at hotel.write.Application.main(Application.java:8)
Caused by: java.lang.NoClassDefFoundError: scala/Product$class
        at akka.util.Timeout.<init>(Timeout.scala:13)
        at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:344)
        at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:703)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:258)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:302)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:246)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:237)
        at akka.actor.ActorSystem$.create(ActorSystem.scala:167)
        at akka.actor.ActorSystem.create(ActorSystem.scala)
        at hotel.write.event.client.eventStore.EventStoreImp.sendEvent(EventStoreImp.java:56)
        at hotel.write.event.client.eventStore.$EventStoreImpDefinition$Intercepted.$$access1(Unknown Source)
        at hotel.write.event.client.eventStore.$EventStoreImpDefinition$Intercepted$$proxy1.invokeInternal(Unknown Source)
        at io.micronaut.context.AbstractExecutableMethod.invoke(AbstractExecutableMethod.java:144)
        at io.micronaut.aop.chain.InterceptorChain.lambda$new$1(InterceptorChain.java:89)
        at io.micronaut.aop.chain.InterceptorChain.proceed(InterceptorChain.java:146)
        at io.micronaut.retry.intercept.RecoveryInterceptor.intercept(RecoveryInterceptor.java:73)
        at io.micronaut.aop.MethodInterceptor.intercept(MethodInterceptor.java:40)
        at io.micronaut.aop.chain.InterceptorChain.proceed(InterceptorChain.java:146)
        at hotel.write.event.client.eventStore.$EventStoreImpDefinition$Intercepted.sendEvent(Unknown Source)
        at hotel.write.event.client.EventStorePublisher.publish(EventStorePublisher.java:28)
        at hotel.write.commands.AbstractCommandHandler.publish(AbstractCommandHandler.java:105)
        at hotel.write.commands.AbstractCommandHandler.handleCommand(AbstractCommandHandler.java:40)
        at hotel.write.cqrs.bus.BusImpl.handleCommand(BusImpl.java:40)
        at hotel.write.services.write.HotelService.addHotel(HotelService.java:22)
        at hotel.write.init.DataLoader.onApplicationEvent(DataLoader.java:38)
        at hotel.write.init.$DataLoaderDefinition$Intercepted.$$access0(Unknown Source)
        at hotel.write.init.$DataLoaderDefinition$Intercepted$$proxy0.invokeInternal(Unknown Source)
        at io.micronaut.context.AbstractExecutableMethod.invoke(AbstractExecutableMethod.java:144)
        at io.micronaut.aop.chain.InterceptorChain.lambda$new$1(InterceptorChain.java:89)
        at io.micronaut.aop.chain.InterceptorChain.proceed(InterceptorChain.java:146)
        at io.micronaut.spring.tx.annotation.TransactionInterceptor.intercept(TransactionInterceptor.java:81)
        at io.micronaut.aop.MethodInterceptor.intercept(MethodInterceptor.java:40)
        at io.micronaut.aop.chain.InterceptorChain.proceed(InterceptorChain.java:146)
        at hotel.write.init.$DataLoaderDefinition$Intercepted.onApplicationEvent(Unknown Source)
        at hotel.write.init.DataLoader.onApplicationEvent(DataLoader.java:15)
        at io.micronaut.context.DefaultBeanContext.lambda$publishEvent$17(DefaultBeanContext.java:1047)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at io.micronaut.context.DefaultBeanContext.publishEvent(DefaultBeanContext.java:1041)
        at io.micronaut.http.server.netty.NettyHttpServer.bindServerToHost(NettyHttpServer.java:416)
        ... 8 common frames omitted
Caused by: java.lang.ClassNotFoundException: scala.Product$class
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 47 common frames omitted
```


Successfully aliased the URL <https://liganicer-pb3dym288.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


I think we should do this. It will simplify merges and make the code-base more readable.

It needs to be coordinated since any outstanding branches will need to be formatted as well.

@mpu-creare will bring up at the next meeting


Tylko raz powinno być użyte `System.out.println` - obecnie, po ostatnim wyraźie pojawia się `!` a nie powinien


Ah cool! Was wondering how to do this.


clever


@enahum Once we call setRoot on app launch, the splash screen should be [removed](https://github.com/wix/react-native-navigation/blob/v2/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/navigator/Navigator.java#L136) so I think think this can stay.


all tests pass:
success: https://travis-ci.org/stellar/stellar-core/builds/544765064?utm_source=github_status&utm_medium=notification


Successfully aliased the URL <https://srt-scheduler-lrehjoox7.now.sh> to the following aliases.

* https://srt.now.sh
* https://srt-scheduler.calza.now.sh
* https://srt-scheduler-git-master.calza.now.sh


Successfully aliased the URL <https://liganicer-4xuu1ac8i.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


Successfully aliased the URL <https://express-niv7hub5y.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


The `for each ( ... )` is not valid C++.  If this compiles for you, it must be a MS-specific thing.  I will fix IAM.


Just curious, does https://github.com/ManageIQ/manageiq-api-common/blob/c018aae214fa045b6fd15b22005e2bb614d75aa7/lib/manageiq/api/common/filter.rb#L55 need updating with the above change ?


可能方法不对，是可以直接通过用户名.github.ioe访问项目的，


Successfully aliased the URL <https://liganicer-84pp4l8r4.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


TeamCity Bvcms / Build [Build 1314](https://builds.tpsdb.com/viewLog.html?buildId=6135&buildTypeId=Bvcms_Build) is now running


明天你自己看视频高一下


Check https://github.com/flatCore/flatCore-CMS/issues/39


好


Successfully aliased the URL <https://ts-react-next-persistent-component-r3vlhsq2d.now.sh> to the following aliases.

* https://persistent-component.moviesom.com
* https://persistent-component.willim.nl
* https://ts-react-next-persistent-component.willemliu.now.sh
* https://ts-react-next-persistent-component-git-master.willemliu.now.sh


Successfully aliased the URL <https://express-mdzhy6jzq.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


Successfully aliased the URL <https://srt-scheduler-6irzqvt1i.now.sh> to the following aliases.

* https://srt.now.sh
* https://srt-scheduler.calza.now.sh
* https://srt-scheduler-git-master.calza.now.sh


Successfully aliased the URL <https://liganicer-n03sescs0.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


why is this code commented?


Hello! I am having some errors about the library #include <Adafruit_GFX.h>
#include <ESP_Adafruit_SSD1306.h> hoping for your help


Successfully aliased the URL <https://ts-react-next-persistent-component-e5rm3ah9e.now.sh> to the following aliases.

* https://persistent-component.moviesom.com
* https://persistent-component.willim.nl
* https://ts-react-next-persistent-component.willemliu.now.sh
* https://ts-react-next-persistent-component-git-master.willemliu.now.sh


Successfully aliased the URL <https://react-app-if2x34s2v.now.sh> to the following aliases.

* https://react-app.ragnazr.now.sh
* https://react-app-git-master.ragnazr.now.sh


TeamCity SayMore / SayMore-V3.1 pull requests [Build *.*.341.44d49c7837b8866bbeb1830d2dbfad34ad66d1c7](http://build.palaso.org/viewLog.html?buildId=153736&buildTypeId=SayMore_SayMore31pullRequests) outcome was **FAILURE**
Summary: Compilation error: src\SayMore\SayMore.csproj (new) Build time: 00:00:38


Elsewhere (lower in this class) I just catch Throwable in reflection calls just to be on the safe side. Would you mind replacing it here with catch (Throwable t) as well?

Thanks!


:white_check_mark: All Rules (2 / 2) Passed

      :crown: Good job! this pull request is aligned with your organization's best practices!

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


fast-forwarding master to auto = aed57014


Successfully aliased the URL <https://express-ja9c9e7k7.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


TeamCity SayMore / SayMore pull requests [Build *.*.345.44d49c7837b8866bbeb1830d2dbfad34ad66d1c7](http://build.palaso.org/viewLog.html?buildId=153737&buildTypeId=SayMore_SayMorePullRequests) outcome was **SUCCESS**
Summary: Running Build time: 00:01:41


TeamCity Bvcms / Build [Build 1314](https://builds.tpsdb.com/viewLog.html?buildId=6135&buildTypeId=Bvcms_Build) outcome was **FAILURE**
Summary: Exit code -1 (Step: Deploy to remote IIS (Command Line)) Build time: 00:03:56


Nice! not that you needed it but LGTM 👍


Successfully aliased the URL <https://relational-playground-2xteiwavl.now.sh> to the following aliases.

* https://relational-playground.michaelmior.now.sh
* https://relational-playground-git-master.michaelmior.now.sh


CAN_ENABLE build is failing . Compilation terminated \.\.\interface_can.o error 1 .


Me parece


At the moment, what interface does THINGSET needs for configurations ?


# 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)|


You're right, I wasn't aware we've started to honour those for consistency when we opened up use to constructor parameter.


I would mention that the user should see the organization's apps on the dashboard (that would be the more usual expected behavior IMO)


@guenolec Tu peux supprimer les espaces dans le nom du fichier ?


Successfully aliased the URL <https://express-18i64npxm.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


Fixed in https://github.com/stella-emu/stella/commit/dfc1f852cf0f8d8e699789fe8b1459c937abf851.


CI was red, why was this pushed to master?


This first two sentence is a bit confusing for me, specifically, the `Organization's SAML SSO provider has to first add you as a user to the Bitrise SAML SSO app's organization`, also `Then you can follow the instructions sent by the SAML SSO provider to your email account to activate your account`, I'm not sure who is the SAML SSO provider here, I think we have to introduce the flow from our perspective and assume that they have a properly set up IdP 🙂


Minor note:
I would rename these to shorter names, for example "next_left_value" to "left".
I would do this using the "refactor" functionality built into PyCharm.


this also need update if you run 12.06
now lists 01,06 (crDroidAndroid-9.0-2019**0601**-dipper-v5.4)
also try to commit all changes in one single commit


You are inconsistent about the return value.
Python doesn't demand consistency, but I think that you should either always return a value or never return a value.


Thingset works via serial interface (JSON based version) already. Binary version for CAN is not yet finished.


In addition to "publish" the updated rytec.sources.xml via opkg update - the bitbake needs a update too


I had an error while trying to build Harfbuzz package, it seems to be related to Freetype dependency. Thus the relevance of this commit. Can you please explain how this fix works? Thanks!


Prettier added semi-colons...


Successfully aliased the URL <https://liganicer-n03sescs0.now.sh> to the following aliases.

* https://liganicer.liganicer.now.sh
* https://liganicer-git-master.liganicer.now.sh


le readme garde trace des modifications ... c'est trop ...!


Cc @milkosofi pour le clin d'oeil #humourdetypographygeek


Successfully aliased the URL <https://pablopunkgithubio-94kifqjvv.now.sh> to the following aliases.

* https://pablopunk.com
* https://pablopunkgithubio.pablopunk.now.sh
* https://pablopunkgithubio-git-master.pablopunk.now.sh


fresh as


Successfully aliased the URL <https://vimcolorsorg-bzvosxw8o.now.sh> to the following aliases.

* https://vimcolors.org
* https://vimcolorsorg.pablopunk.now.sh
* https://vimcolorsorg-git-master.pablopunk.now.sh


This "elif" should be just "else".
Consider what will happen if I add a duplicate value (say a tree containing the values: 1, 2, 2, 3).
This is an important boundary condition, and so add this to your tests.


Successfully aliased the URL <https://express-49sp6v2sa.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


Successfully aliased the URL <https://ts-react-next-persistent-component-h65pzt51m.now.sh> to the following aliases.

* https://persistent-component.moviesom.com
* https://persistent-component.willim.nl
* https://ts-react-next-persistent-component.willemliu.now.sh
* https://ts-react-next-persistent-component-git-master.willemliu.now.sh


Successfully aliased the URL <https://express-2woadbc8q.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


loading the json file.


This private _find method might be useful for you elsewhere if it returned the Node instead of just True or False.
It seems like you have repeated code that actually does "find" in many places, and maybe you could replace that code with this method if it returned the Node that was found.


# WebPageTest report
  * run id: 190612_30_78fef6d67e02924e09e12cc69e235080
  * URL testid: https://jcofman.de
  * Summary of the test: http://www.webpagetest.org/results.php?test=190612_30_78fef6d67e02924e09e12cc69e235080
  * location where the test has run: Dulles_MotoG4:Moto G4 - Chrome
  * from run parameter: Dulles, VA - Moto G4 - Chrome - Emulated Motorola G (gen 4) - 3GSlow
  * connectivity: 3GSlow
  * successFullRuns: 3

  # Median Run Results
  ## Filmstrip First View
  | 0 milliseconds | 3557 milliseconds | 4380 milliseconds | 4418 milliseconds | 10028 milliseconds | 10779 milliseconds |
  |--------------|--------------|--------------|--------------|--------------|--------------|
  | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_000000.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_003557.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_004380.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_004418.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_010028.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_1&file=ms_010779.jpg) |
  | 0 | 27 | 37 | 37 | 99 | 100 |

  ## Filmstrip Repeat View
  | 0 milliseconds | 2655 milliseconds | 3319 milliseconds |
  |--------------|--------------|--------------|
  | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_3_cached&file=ms_000000.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_3_cached&file=ms_002655.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_30_78fef6d67e02924e09e12cc69e235080&video=video_3_cached&file=ms_003319.jpg) |
  | 0 | 37 | 100 |
## Median Metrics
| View | First Paint | First Contentful Paint | First Meaningful Paint | Time to First Byte | Time to interactive |  Render Started |  Visualy Completed | SpeedIndex | Load Time |
|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
FirstView  | 3468.8999999998 | 3470 | 4055 | 8375.691 | 2165 | 3557 | 10779 | 7723 | 10390 |
RepeatView | 2423.5999999946 | 2424 | 2424 | 8375.691 | 2436 | 2655 | 3319 | 3073 | 824 |
  ## Median Waterfall
  ### FirstView
  ![alt text](http://www.webpagetest.org/results/19/06/12/30/78fef6d67e02924e09e12cc69e235080/1_waterfall.png)
  ### RepeatView
  ![alt text](http://www.webpagetest.org/results/19/06/12/30/78fef6d67e02924e09e12cc69e235080/3_Cached_waterfall.png)

  ## Median Requests
  ### FirstView
  | File | FileSize |
  |----------|----------|
   /|53.58 kB
/0-f22db0add8aa81f38265.js|17.73 kB
/component---src-pages-index-js-e1a017bb901d18998365.js|3.21 kB
/2-b4acd5ea65d061f7e3c2.js|46.83 kB
/1-449f689e0e0e1ad9c02a.js|8.57 kB
/styles-ef07052af2626683689b.js|139 B
/app-1483f2317e1215e25ebf.js|81.14 kB
/webpack-runtime-746a904aebc02c5a02d2.js|1.62 kB
/static/d/784/path---index-6a9-LIar58td6zxz6UPwtbiVYGfDVBs.json|1.72 kB
/static/homebg-e3a22742ba7f82f31980270829d50b9c.webp|25.42 kB
/static/raleway-latin-600-bd2bb116d8276633fec3aba46fe9d254.woff2|20.16 kB
/static/raleway-latin-400italic-de4bb8c8d39843b4d00f591c31e747b4.woff2|20.87 kB
/static/raleway-latin-400-2075794c8e9e7e48e5fbf1b2313e7adf.woff2|19.96 kB
/analytics.js|17.18 kB
/17-8bd096cc81d3a26e9df5.js|45.79 kB
/WorldMap-21d6a6fc414aa8d1d3b7.js|65.37 kB
/pages-manifest-f83ae6acc9cb3935af0f.js|807 B
/r/collect?v=1&_v=j76&a=2052606941&t=pageview&_s=1&dl=https%3A%2F%2Fjcofman.de%2F&dp=%2F&ul=en-us&de=UTF-8&dt=All%20posts%20%7C%20Jacob%20Cofman%20Website&sd=24-bit&sr=360x640&vp=360x512&je=0&_u=aEBAAEAB~&jid=1288144293&gjid=615972287&cid=1800839151.1560354230&tid=UA-134206784-1&_gid=2142532150.1560354230&_r=1&z=1056371583|35 B
/icons/icon-48x48.png?v=a2f5b02e5fa3abeee17f292d903240fe|1.45 kB
/icons/icon-192x192.png?v=a2f5b02e5fa3abeee17f292d903240fe|7.06 kB
/sw.js|1.94 kB
/manifest.webmanifest|993 B
/static/d/803/path---me-8-f-5-217-0SUcWyAf8ecbYDsMhQkEfPzV8.json|55 B
/component---src-pages-me-index-js-2d636d946f27e02775f4.js|5.92 kB
/icons/icon-144x144.png?v=a2f5b02e5fa3abeee17f292d903240fe|5.01 kB
/workbox-v3.6.3/workbox-sw.js|828 B
/workbox-v3.6.3/workbox-core.prod.js|2.92 kB
/workbox-v3.6.3/workbox-precaching.prod.js|2.22 kB
/workbox-v3.6.3/workbox-routing.prod.js|1.34 kB
/workbox-v3.6.3/workbox-strategies.prod.js|1.24 kB
/idb-keyval-iife.min.js|NaN undefined

  ### RepeatView
  | File | FileSize |
  |----------|----------|
   /r/collect?v=1&_v=j76&a=900041637&t=pageview&_s=1&dl=https%3A%2F%2Fjcofman.de%2F&dp=%2F&ul=en-us&de=UTF-8&dt=All%20posts%20%7C%20Jacob%20Cofman%20Website&sd=24-bit&sr=360x640&vp=360x512&je=0&_u=SACAAEAB~&jid=1197561937&gjid=1047720671&cid=1614235392.1560354195&tid=UA-134206784-1&_gid=1856792297.1560354195&_r=1&z=450641444|35 B
/sw.js|1.94 kB


@bzg C'est toi qui faisait tout le temps cette remarque ? 😏


Successfully aliased the URL <https://express-j58uz851v.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


while printing Delhi it is giving the proper definition but in case of "delhi" error occurs


Successfully aliased the URL <https://now-builder-s3-eulyq1lej.now.sh> to the following aliases.

* https://now-builder-s3.pckil.now.sh
* https://now-builder-s3-git-master.pckil.now.sh


# WebPageTest report
  * run id: 190612_VR_325a4dacd69c5bcf46d4f0220d092bc9
  * URL testid: https://jcofman.de
  * Summary of the test: http://www.webpagetest.org/results.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9
  * location where the test has run: Dulles_MotoG4:Moto G4 - Chrome
  * from run parameter: Dulles, VA - Moto G4 - Chrome - Emulated Motorola G (gen 4) - 3GSlow
  * connectivity: 3GSlow
  * successFullRuns: 3

  # Median Run Results
  ## Filmstrip First View
  | 0 milliseconds | 3604 milliseconds | 4439 milliseconds | 10097 milliseconds | 10359 milliseconds | 10812 milliseconds |
  |--------------|--------------|--------------|--------------|--------------|--------------|
  | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_000000.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_003604.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_004439.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_010097.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_010359.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3&file=ms_010812.jpg) |
  | 0 | 27 | 37 | 98 | 99 | 100 |

  ## Filmstrip Repeat View
  | 0 milliseconds | 2419 milliseconds | 3029 milliseconds |
  |--------------|--------------|--------------|
  | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3_cached&file=ms_000000.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3_cached&file=ms_002419.jpg) | ![alt text](http://www.webpagetest.org/getfile.php?test=190612_VR_325a4dacd69c5bcf46d4f0220d092bc9&video=video_3_cached&file=ms_003029.jpg) |
  | 0 | 37 | 100 |
## Median Metrics
| View | First Paint | First Contentful Paint | First Meaningful Paint | Time to First Byte | Time to interactive |  Render Started |  Visualy Completed | SpeedIndex | Load Time |
|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
FirstView  | 3509.7999999998 | 3510 | 4052 | 8394.5090000002 | 2020 | 3604 | 10812 | 7787 | 14481 |
RepeatView | 2266.8999999951 | 2268 | 2268 | 8394.5090000002 | 2419 | 2419 | 3029 | 2803 | 902 |
  ## Median Waterfall
  ### FirstView
  ![alt text](http://www.webpagetest.org/results/19/06/12/VR/325a4dacd69c5bcf46d4f0220d092bc9/3_waterfall.png)
  ### RepeatView
  ![alt text](http://www.webpagetest.org/results/19/06/12/VR/325a4dacd69c5bcf46d4f0220d092bc9/3_Cached_waterfall.png)

  ## Median Requests
  ### FirstView
  | File | FileSize |
  |----------|----------|
   /|53.58 kB
/0-f22db0add8aa81f38265.js|17.73 kB
/component---src-pages-index-js-e1a017bb901d18998365.js|3.21 kB
/2-b4acd5ea65d061f7e3c2.js|46.83 kB
/1-449f689e0e0e1ad9c02a.js|8.57 kB
/styles-ef07052af2626683689b.js|139 B
/app-1483f2317e1215e25ebf.js|81.14 kB
/webpack-runtime-746a904aebc02c5a02d2.js|1.62 kB
/static/d/784/path---index-6a9-LIar58td6zxz6UPwtbiVYGfDVBs.json|1.72 kB
/static/homebg-e3a22742ba7f82f31980270829d50b9c.webp|25.42 kB
/static/raleway-latin-600-bd2bb116d8276633fec3aba46fe9d254.woff2|20.16 kB
/static/raleway-latin-400italic-de4bb8c8d39843b4d00f591c31e747b4.woff2|20.87 kB
/static/raleway-latin-400-2075794c8e9e7e48e5fbf1b2313e7adf.woff2|19.96 kB
/analytics.js|17.18 kB
/17-8bd096cc81d3a26e9df5.js|45.79 kB
/WorldMap-21d6a6fc414aa8d1d3b7.js|65.37 kB
/pages-manifest-f83ae6acc9cb3935af0f.js|807 B
/r/collect?v=1&_v=j76&a=2050502749&t=pageview&_s=1&dl=https%3A%2F%2Fjcofman.de%2F&dp=%2F&ul=en-us&de=UTF-8&dt=All%20posts%20%7C%20Jacob%20Cofman%20Website&sd=24-bit&sr=360x640&vp=360x512&je=0&_u=aEBAAEAB~&jid=754526646&gjid=447949976&cid=1716702135.1560354236&tid=UA-134206784-1&_gid=862709557.1560354236&_r=1&z=213240271|35 B
/sw.js|1.94 kB
/static/d/803/path---me-8-f-5-217-0SUcWyAf8ecbYDsMhQkEfPzV8.json|55 B
/component---src-pages-me-index-js-2d636d946f27e02775f4.js|5.92 kB
/workbox-v3.6.3/workbox-sw.js|828 B
/icons/icon-48x48.png?v=a2f5b02e5fa3abeee17f292d903240fe|1.45 kB
/icons/icon-192x192.png?v=a2f5b02e5fa3abeee17f292d903240fe|7.06 kB
/workbox-v3.6.3/workbox-core.prod.js|2.92 kB
/manifest.webmanifest|993 B
/workbox-v3.6.3/workbox-precaching.prod.js|2.22 kB
/icons/icon-144x144.png?v=a2f5b02e5fa3abeee17f292d903240fe|5.01 kB
/workbox-v3.6.3/workbox-routing.prod.js|1.34 kB
/workbox-v3.6.3/workbox-strategies.prod.js|1.24 kB
/idb-keyval-iife.min.js|505 B
/styles.4f9ecb3eb06aa357a013.css|1.17 kB
/component---node-modules-gatsby-plugin-offline-app-shell-js-684412dadb11b1b63462.js|483 B
/component---src-pages-404-js-458baa262b7a2fb19c7e.js|385 B
/static/d/285/path---404-html-516-62a-0SUcWyAf8ecbYDsMhQkEfPzV8.json|55 B
/static/d/604/path---offline-plugin-app-shell-fallback-a-30-c5a-BawJvyh36KKFwbrWPg4a4aYuc8.json|56 B
/offline-plugin-app-shell-fallback/index.html|2.81 kB
/manifest.webmanifest|993 B
/sitemap.xml|NaN undefined
/icons/icon-48x48.png?v=a2f5b02e5fa3abeee17f292d903240fe|NaN undefined

  ### RepeatView
  | File | FileSize |
  |----------|----------|
   /r/collect?v=1&_v=j76&a=473821947&t=pageview&_s=1&dl=https%3A%2F%2Fjcofman.de%2F&dp=%2F&ul=en-us&de=UTF-8&dt=All%20posts%20%7C%20Jacob%20Cofman%20Website&sd=24-bit&sr=360x640&vp=360x512&je=0&_u=SACAAEAB~&jid=420349366&gjid=1992022404&cid=1716702135.1560354236&tid=UA-134206784-1&_gid=862709557.1560354236&_r=1&z=802939565|35 B
/sw.js|1.94 kB


This last "elif" should probably also be an "else".

If it's not, then something I like to do is add a final "else" with an "assert False, "I have a bug - the program should never be here." That is, if the last condition checked is false as well, then you just do nothing, and that probably isn't what you meant to do.


Successfully aliased the URL <https://hello-next-85yb48rye.now.sh> to the following aliases.

* https://hello-next.ebturnock.now.sh
* https://hello-next-git-master.ebturnock.now.sh


same case with words which are in capital "USA",'NOTA'


Yes! seems nice. Read this if you are interested though: https://stackoverflow.com/questions/41263448/is-there-there-any-reason-not-to-use-calloc-instead-of-malloc


making homework


Successfully aliased the URL <https://serviceauth-df8kn0gr7.now.sh> to the following aliases.

* https://auth.api.productcube.io
* https://serviceauth.eutopia.now.sh
* https://serviceauth-git-master.eutopia.now.sh


Successfully aliased the URL <https://serviceworkspace-691uzzzkg.now.sh> to the following aliases.

* https://work.api.productcube.io
* https://serviceworkspace.eutopia.now.sh
* https://serviceworkspace-git-master.eutopia.now.sh


Successfully aliased the URL <https://express-37x1ofbod.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


Successfully aliased the URL <https://servicetool-6yofkedtv.now.sh> to the following aliases.

* https://tool.api.productcube.io
* https://servicetool.eutopia.now.sh
* https://servicetool-git-master.eutopia.now.sh


Successfully aliased the URL <https://alpaca-ui-1rzih6qrv.now.sh> to the following aliases.

* https://alpaca-ui.now.sh
* https://alpaca-ui.snowdog1.now.sh
* https://alpaca-ui-git-develop.snowdog1.now.sh


Alright Boss ... Sorry to ask, what about the micro USB port in the mppt-2420-lc , will it work with THINGSET in future updates , eg to use in configurations ?
 Rj45 cables are hard to find here . Am looking for USB alternatives as I included USB type b in my PCB..


Successfully aliased the URL <https://serviceuser-c7i3ynejh.now.sh> to the following aliases.

* https://user.api.productcube.io
* https://serviceuser.eutopia.now.sh
* https://serviceuser-git-master.eutopia.now.sh


If you have time, read this: http://www.iso-9899.info/wiki/Why_not_realloc


Successfully aliased the URL <https://eutopia-frontend-icg2bdq0e.now.sh> to the following aliases.

* https://productcube.io
* https://eutopia-frontend.eutopia.now.sh
* https://eutopia-frontend-git-master.eutopia.now.sh


Callbacks should be used.  You are going to have to modify the core 3dmol project to add support for model and view change event callbacks.


`if(initiator)`  or `if(!initiator)` is considered better style.


Successfully aliased the URL <https://blazinglyiodesignsystem-dn8ucjpnd.now.sh> to the following aliases.

* https://design.blazingly.now.sh
* https://blazinglyio-design-system.blazingly.now.sh
* https://blazinglyio-design-system-git-master.blazingly.now.sh


Successfully aliased the URL <https://express-5n186u08w.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


wright


Successfully aliased the URL <https://prezentacja-projekt-koncowy-wsb-8vw1bmxd6.now.sh> to the following aliases.

* https://prezentacja-projekt-koncowy-wsb.lonwi.info
* https://prezentacja-projekt-koncowy-wsb.lonwi.now.sh
* https://prezentacja-projekt-koncowy-wsb-git-master.lonwi.now.sh


Deployment failed with the following error:

~~~
You are not owner of the domain "nextjs.org"
~~~


Marco, G Marrano- el Ansioso


I'm confused here.
So "next_left_value" is actually the left child.
If you remove the current node and there is a left child, then it makes sense to bring the left child up to replace the removed node, but the left child might have had child nodes, too, and those seem to get lost here.

I'm not sure that it's broken, but try and test for this by including a test that removes a node that has children, and verify that after the removal, the tree hasn't lost more than it should have.


Hey @joeyparrish i believe customData is actually located on `message.media.customData`.
You already have `mediaInfo = message['media']` declared above


@drmDev there are some code to find/generate basic lands and boosters from sets. It's uses `hasBasicLands` info. If set have that mark but real set don't have lands then that code will be broken (e.g. booster pack will be without land).


hello world!!!


It's very good content, thanks for sharing.


It worked with USB before, but mbed somehow changed the USB libraries and they require RTOS. It's definitely possible to make it work again, but I don't know how much effort it will be. Possibly easiest is to find some sort of USB library on the internet. But it's not my primary focus right now.


Userid


Thanks, this algo looks very profitable at the moment.


Username


![](https://github.trello.services/images/mini-trello-icon.png) ["Curve Ops" category](https://trello.com/c/wDAj0OKV/174-curve-ops-category)


![](https://github.trello.services/images/mini-trello-icon.png) ["Break Vector" node](https://trello.com/c/Wt4sACSU/176-break-vector-node)


![](https://github.trello.services/images/mini-trello-icon.png) ["Get Component Info" node](https://trello.com/c/Zn2zGkhB/168-get-component-info-node)


igraph is used for plotting only and is therefore not mandatory. Moved it to suggested because some users reported problems during igraph compilation.


I'm confused here, too.
It seems that you should actually remove the current node and that there is nothing to replace it with. The problem is that this is a child of some other node that we don't have a reference to, and that parent will now point to a node that has no value.
Add a test that removes a node that has no children and verify that the size of the tree is actually reduced by 1 after this operation.

Add some documentation about if you allow "None" as a value. That is, can I have a tree that contains {"yotam", "hillel", None, "Shaul"}?
If so, then replacing a value with None certainly does not do the intended thing.


![](https://github.trello.services/images/mini-trello-icon.png) ["Curve to Mesh" conversion node](https://trello.com/c/dyM2Ohio/138-curve-to-mesh-conversion-node)


![](https://github.trello.services/images/mini-trello-icon.png) ["Dupicate Mesh" node](https://trello.com/c/mCrz8CRe/170-dupicate-mesh-node)


![](https://github.trello.services/images/mini-trello-icon.png) ["Custom Curve" node](https://trello.com/c/81q1t3HH/167-custom-curve-node)


Username password


Successfully aliased the URL <https://express-lfml1p810.now.sh> to the following aliases.

* https://express.jfoggo.now.sh
* https://express-git-master.jfoggo.now.sh


We should talk about this .. ;)


![](https://github.trello.services/images/mini-trello-icon.png) [Improve "Custom Mesh" node](https://trello.com/c/eh5oXebm/169-improve-custom-mesh-node)


![](https://github.trello.services/images/mini-trello-icon.png) [Curve socket](https://trello.com/c/3s58voGt/137-curve-socket)


![](https://github.trello.services/images/mini-trello-icon.png) [Improve "For Loop" nodes](https://trello.com/c/DrsaSCGO/165-improve-for-loop-nodes)


В таких условиях лучше сделать просто `return unless next_station`


We should talk about this ;)


I mentioned this in an email, but a common data structure for a Stack is a LinkedList. Your LinkedList would work for this if you made some minor changes to it.


@3v0k4 it could be left as a statue, a symbol of the past.


> On Jun 10, 2019, at 6:40 AM, Nicolas Cellier <notifications@github.com> wrote:
>
> Are we really interested in printing %p , symbolic? (the address of symbolic)
> Aren't we more interested by printing the contents %x , *symbolic?
>
the contents %x , *symbolic certainly


Username


Ver nice.


Delete


Successfully aliased the URL <https://ts-react-next-persistent-component-387hrn6hx.now.sh> to the following aliases.

* https://persistent-component.moviesom.com
* https://persistent-component.willim.nl
* https://ts-react-next-persistent-component.willemliu.now.sh
* https://ts-react-next-persistent-component-git-master.willemliu.now.sh


Переименовал с item.htmll на catalog-item.html
Переименовал с shop.html на catalog.html


Done


![](https://github.trello.services/images/mini-trello-icon.png) [https://github.com/luciasalar/drinks](https://trello.com/c/izPIse2w/6-https-githubcom-luciasalar-drinks)


I tried to create a branch that scales the pawn hash with tt size, see http://tests.stockfishchess.org/tests/view/5d01226d0ebc5925cf09cc48 and let me know where the faults are please :-)


Successfully aliased the URL <https://gatsby-theme-carbon-r31cz65mh.now.sh> to the following aliases.

* https://gatsby-theme-carbon.now.sh
* https://gatsby-theme-carbon.carbon-design-system.now.sh
* https://gatsby-theme-carbon-git-master.carbon-design-system.now.sh


great but gay


Leeanne


This is going to be fun ;) You can't actually do it efficiently with travis. But you can use appveyor.


Let's try oracleJDK later. It could be Oracle or Travis issue.


Voui. Minuscules, sans espace, sans accent. Mais je dois avouer que je ne suis pas sûr que ce soit un vrai "standard".


This code (tree) is more complex than some of your earlier coding projects, and so you might want to make your test a little more elaborate.
Some examples:
- Have a helper function that builds a tree that you use in many tests and maybe make an effort to describe that tree in text somehow. It's not super easy to do, but I think that it'd be helpful.
- Use a different named function for different tests, such as testRemoveNodeWith2ChildNoes(), testRemoveNodeWith1ChildNode(), testRemoveNodeWithNoChildNodes(), etc... If you don't do this, then consider just using comments and blocks of code to achieve something similar.


Wipe usernames


Created multidev environment [sfgov#pr-306](https://dashboard.pantheon.io/sites/91d50373-c4cf-40e4-a646-cb73e16a140c#pr-306).

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


Thank you @claucece  for the reading.

If I decide not to use `realloc` for memory resizing, find another way to resize the allocated memory as needed.

In the other hand, if I decided to continue using `realloc` for memory resizing, I need to accomplish this:
- Check the return value when invoking `realloc`
- Increase the memory for the real size that is needed


approved


How can I add a static route? I haven't found examples or parameter description.
Thanks


Successfully aliased the URL <https://my-vue-project-po0r3mtpy.now.sh> to the following aliases.

* https://my-vue-project.tinyswish.now.sh
* https://my-vue-project-git-master.tinyswish.now.sh


Successfully aliased the URL <https://ts-react-next-persistent-component-d4gfttupr.now.sh> to the following aliases.

* https://persistent-component.moviesom.com
* https://persistent-component.willim.nl
* https://ts-react-next-persistent-component.willemliu.now.sh
* https://ts-react-next-persistent-component-git-master.willemliu.now.sh


Sexymammah@gmail.com


why remove this?


Nice, could you make a PR?


Definitely. Maybe you are referring to something like this https://sogilis.com/blog/wrong-usage-of-extern-keyword-in-c/? ;)


This should not change


We should talk about this also @claucece


hvgvh


Whyever this helps, because after 185 those values should already be 0..1. But all artifacts are gone with this for my test clips.