[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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:31:26:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/calculate_error.R#L31) *style:* **Put spaces around all infix operators.**
```r
  if (!relative) return(t*error)
                        ~^~
```
[R/calculate_MAT.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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:10:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L10) *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:16:35:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L16) *style:* **Variable or function name should be snake_case.**
```r
estimate_time_markers <- function(J = NA,
                                  ^
```
[R/estimate_time_markers.R:17:35:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L17) *style:* **Variable or function name should be snake_case.**
```r
                                  N = Inf,
                                  ^
```
[R/estimate_time_markers.R:18:35:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L18) *style:* **Variable or function name should be snake_case.**
```r
                                  H_0 = 0.5,
                                  ^~~
```
[R/estimate_time_markers.R:31:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(J > 1e4) {
    ^
```
[R/estimate_time_markers.R:35:63:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_markers.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  fitted <- stats::optimize(to_fit, interval = c(2, upper_lim) )
                                                              ^
```
[R/estimate_time_unphased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the time since admixture, given unphased ancestry data.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_unphased.R:3:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc 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/estimate_time_unphased.R:7:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param max_t maximum time to be considered for maximum likelihood optimization. Too large values might cause the maximum likelihood algorithm to deviate from the global maximum.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_unphased.R:8:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L8) *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_unphased.R:21:19:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L21) *warning:* **no visible global function definition for ‘get_states’**
```r
  local_states <- get_states(local_anc)
                  ^~~~~~~~~~
```
[R/estimate_time_unphased.R:27:21:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L27) *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:34:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L34) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(optim_pop_size == FALSE) {
    ^
```
[R/estimate_time_unphased.R:41:9:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L41) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(verbose) cat(t, -sum(local_probs), "\n")
        ^
```
[R/estimate_time_unphased.R:48:9:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L48) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(params[[1]] < 2) return(-Inf)
        ^
```
[R/estimate_time_unphased.R:49:9:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(params[[2]] < 2) return(-Inf)
        ^
```
[R/estimate_time_unphased.R:55:9:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L55) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(verbose) cat("N",params[[1]],"t", params[[2]], -sum(local_probs), "\n")
        ^
```
[R/estimate_time_unphased.R:55:27:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L55) *style:* **Commas should always have a space after.**
```r
      if(verbose) cat("N",params[[1]],"t", params[[2]], -sum(local_probs), "\n")
                          ^
```
[R/estimate_time_unphased.R:55:39:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/estimate_time_unphased.R#L55) *style:* **Commas should always have a space after.**
```r
      if(verbose) cat("N",params[[1]],"t", params[[2]], -sum(local_probs), "\n")
                                      ^
```
[R/number_of_junctions_backcross.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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_backcross.R:13:29:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_backcross.R#L13) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  jt <- 2 * H_0 * t * C * 2^(-t)
                            ^
```
[R/number_of_junctions_di.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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_di.R:17:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_di.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.infinite(N)) local_k <- H_0
    ^
```
[R/number_of_junctions_di.R:19:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_di.R#L19) *style:* **Put spaces around all infix operators.**
```r
  local_j <- local_k - local_k * (1 - 1 / (2*N) - di)^t
                                           ~^~
```
[R/number_of_junctions_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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:25:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_markers.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(marker_distribution) < 2) {
    ^
```
[R/number_of_junctions_markers.R:30:6:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_markers.R#L30) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 2:length(marker_distribution)) {
     ^
```
[R/number_of_junctions_markers.R:31:57:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/number_of_junctions_markers.R#L31) *style:* **Put spaces around all infix operators.**
```r
    di <- marker_distribution[i] - marker_distribution[i-1]
                                                       ~^~
```
[R/number_of_junctions_markers.R:32:27:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/RcppExports.R:4:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L4) *style:* **Lines should not be more than 80 characters.**
```r
simulate_backcrossing_cpp <- function(pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:5:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
    .Call('_junctions_simulate_backcrossing_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:5:11:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L5) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_simulate_backcrossing_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:5:61:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L5) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_simulate_backcrossing_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
                                                            ^~~~~~~~~~~
```
[R/RcppExports.R:8:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
sim_fin_chrom <- function(pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:8:64:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L8) *style:* **Variable or function name should be snake_case.**
```r
sim_fin_chrom <- function(pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R) {
                                                               ^~~~~~~~~~~~~~
```
[R/RcppExports.R:8:86:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L8) *style:* **Variable or function name should be snake_case.**
```r
sim_fin_chrom <- function(pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R) {
                                                                                ^
```
[R/RcppExports.R:9:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
    .Call('_junctions_sim_fin_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:9:11:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L9) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_fin_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:9:49:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L9) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_fin_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, seed, R)
                                                ^~~~~~~~~~~
```
[R/RcppExports.R:12:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
sim_inf_chrom <- function(pop_size, freq_ancestor_1, run_time, size_in_Morgan, markers, seed) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:12:64:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L12) *style:* **Variable or function name should be snake_case.**
```r
sim_inf_chrom <- function(pop_size, freq_ancestor_1, run_time, size_in_Morgan, markers, seed) {
                                                               ^~~~~~~~~~~~~~
```
[R/RcppExports.R:13:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L13) *style:* **Lines should not be more than 80 characters.**
```r
    .Call('_junctions_sim_inf_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, markers, seed)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:13:11:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L13) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_inf_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, markers, seed)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:13:49:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L13) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_inf_chrom', PACKAGE = 'junctions', pop_size, freq_ancestor_1, run_time, size_in_Morgan, markers, seed)
                                                ^~~~~~~~~~~
```
[R/RcppExports.R:16:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
sim_phased_unphased_cpp <- function(pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L17) *style:* **Lines should not be more than 80 characters.**
```r
    .Call('_junctions_sim_phased_unphased_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:11:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L17) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_phased_unphased_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:59:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L17) *style:* **Only use double-quotes.**
```r
    .Call('_junctions_sim_phased_unphased_cpp', PACKAGE = 'junctions', pop_size, freq_ancestor_1, total_runtime, size_in_morgan, number_of_markers, time_points, seed)
                                                          ^~~~~~~~~~~
```
[R/RcppExports.R:19:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/RcppExports.R#L19) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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_backcrossing.R:26:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/sim_backcrossing.R#L26) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(time_points) == 1) {
    ^
```
[R/sim_backcrossing.R:27:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/sim_backcrossing.R#L27) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(time_points == -1) {
      ^
```
[R/sim_fin_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/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:10:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/sim_phased_unphased.R#L10) *style:* **Lines should not be more than 80 characters.**
```r
#' @return matrix with five columns: [time, individual, marker location, ancestry chromosome 1, ancestry chromosome 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:24:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/sim_phased_unphased.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(time_points) == 1) {
    ^
```
[R/sim_phased_unphased.R:25:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/sim_phased_unphased.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(time_points == -1) {
      ^
```
[R/unphased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc 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:18:19:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L18) *warning:* **no visible global function definition for ‘get_states’**
```r
  local_states <- get_states(local_anc)
                  ^~~~~~~~~~
```
[R/unphased_log_likelihood.R:24:21:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L24) *warning:* **no visible global function definition for ‘single_state’**
```r
    seven_states <- single_state(t = local_time, N = local_pop_size, d = di)
                    ^~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:31:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) == 1) {
    ^
```
[R/unphased_log_likelihood.R:42:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L42) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) > 1) {
    ^
```
[R/unphased_log_likelihood.R:44:8:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/unphased_log_likelihood.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(i in seq_along(t)) {
       ^
```
[R/util.R:12:5:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L12) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.matrix(local_anc_matrix)) {
    ^
```
[R/util.R:13:50:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L13) *style:* **Commas should always have a space after.**
```r
    local_anc <- rep(2, length(local_anc_matrix[,1]))
                                                 ^
```
[R/util.R:14:39:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L14) *style:* **Commas should always have a space after.**
```r
    homo_0 <- which(local_anc_matrix[,1] == 0 &
                                      ^
```
[R/util.R:15:42:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L15) *style:* **Commas should always have a space after.**
```r
                      (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                         ^
```
[R/util.R:15:66:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L15) *style:* **Commas should always have a space after.**
```r
                      (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                                                 ^
```
[R/util.R:16:39:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L16) *style:* **Commas should always have a space after.**
```r
    homo_1 <- which(local_anc_matrix[,1] == 1 &
                                      ^
```
[R/util.R:17:42:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L17) *style:* **Commas should always have a space after.**
```r
                      (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                         ^
```
[R/util.R:17:66:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L17) *style:* **Commas should always have a space after.**
```r
                      (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                                                 ^
```
[R/util.R:22:10:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/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/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L22) *warning:* **no visible global function definition for ‘get_states_vector’**
```r
  return( get_states_vector(local_anc))
          ^~~~~~~~~~~~~~~~~
```
[R/util.R:28:6:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L28) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 2:length(local_anc)) {
     ^
```
[R/util.R:29:24:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L29) *style:* **Put spaces around all infix operators.**
```r
    left <- local_anc[i-1]
                      ~^~
```
[R/util.R:32:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L32) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 0 && right == 1) all_states[i-1] <- 1
      ^
```
[R/util.R:32:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L32) *style:* **Put spaces around all infix operators.**
```r
    if(left == 0 && right == 1) all_states[i-1] <- 1
                                           ~^~
```
[R/util.R:33:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 1 && right == 0) all_states[i-1] <- 2
      ^
```
[R/util.R:33:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L33) *style:* **Put spaces around all infix operators.**
```r
    if(left == 1 && right == 0) all_states[i-1] <- 2
                                           ~^~
```
[R/util.R:34:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L34) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 1 && right == 1) all_states[i-1] <- 3
      ^
```
[R/util.R:34:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L34) *style:* **Put spaces around all infix operators.**
```r
    if(left == 1 && right == 1) all_states[i-1] <- 3
                                           ~^~
```
[R/util.R:35:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 0 && right == 0) all_states[i-1] <- 4
      ^
```
[R/util.R:35:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L35) *style:* **Put spaces around all infix operators.**
```r
    if(left == 0 && right == 0) all_states[i-1] <- 4
                                           ~^~
```
[R/util.R:36:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L36) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 2 && right == 1) all_states[i-1] <- 5
      ^
```
[R/util.R:36:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L36) *style:* **Put spaces around all infix operators.**
```r
    if(left == 2 && right == 1) all_states[i-1] <- 5
                                           ~^~
```
[R/util.R:37:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L37) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 2 && right == 0) all_states[i-1] <- 6
      ^
```
[R/util.R:37:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L37) *style:* **Put spaces around all infix operators.**
```r
    if(left == 2 && right == 0) all_states[i-1] <- 6
                                           ~^~
```
[R/util.R:38:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 0 && right == 2) all_states[i-1] <- 7
      ^
```
[R/util.R:38:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L38) *style:* **Put spaces around all infix operators.**
```r
    if(left == 0 && right == 2) all_states[i-1] <- 7
                                           ~^~
```
[R/util.R:39:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L39) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 1 && right == 2) all_states[i-1] <- 8
      ^
```
[R/util.R:39:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L39) *style:* **Put spaces around all infix operators.**
```r
    if(left == 1 && right == 2) all_states[i-1] <- 8
                                           ~^~
```
[R/util.R:40:7:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L40) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(left == 2 && right == 2) all_states[i-1] <- 9
      ^
```
[R/util.R:40:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L40) *style:* **Put spaces around all infix operators.**
```r
    if(left == 2 && right == 2) all_states[i-1] <- 9
                                           ~^~
```
[R/util.R:47:29:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L47) *style:* **Variable or function name should be snake_case.**
```r
single_state <- function(t, N, d) {
                            ^
```
[R/util.R:48:28:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L48) *style:* **Commas should always have a space after.**
```r
  trans_matrix <- matrix(0,7,7)
                           ^
```
[R/util.R:48:30:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L48) *style:* **Commas should always have a space after.**
```r
  trans_matrix <- matrix(0,7,7)
                             ^
```
[R/util.R:49:28:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                           ^~
```
[R/util.R:49:30:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                            ~^~
```
[R/util.R:49:31:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                              ^
```
[R/util.R:49:33:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                               ~^~
```
[R/util.R:49:40:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                      ~^~
```
[R/util.R:49:43:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Commas should never have a space before.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                         ~^
```
[R/util.R:49:46:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                            ~^~
```
[R/util.R:49:60:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                                          ~^~
```
[R/util.R:49:61:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                                            ^
```
[R/util.R:49:63:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L49) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[1, ] <- c(1 -1/(2*N) - 2*d , 2*d, 0, 0, 0, 1/(2*N), 0)
                                                             ~^~
```
[R/util.R:50:27:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                         ~^~
```
[R/util.R:50:28:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                           ^
```
[R/util.R:50:30:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                            ~^~
```
[R/util.R:50:40:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                      ~^~
```
[R/util.R:50:42:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                        ~^~
```
[R/util.R:50:43:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                          ^
```
[R/util.R:50:45:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                           ~^~
```
[R/util.R:50:58:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                                        ~^~
```
[R/util.R:50:60:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                                          ~^~
```
[R/util.R:50:61:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                                            ^
```
[R/util.R:50:63:](https://github.com/thijsjanzen/junctions/blob/3877de9630c620bf086f64c4bb83317615257b5e/R/util.R#L50) *style:* **Put spaces around all infix operators.**
```r
  trans_matrix[2, ] <- c(1/(2*N), 1 - 3*1/(2*N) - d, d, 2*1/(2*N), 0, 0, 0)
                                                             ~^~
```


Oh right, it can be set to `calldata` only on `external` functions, but constructors cannot be `external`...


"initialized"


If text properties are not being use, this is awkward, as just writing a simple message becomes somewhat painful.

Let's say i have a string with the contents:

```
This is some text which
I would like to
Display to the user
```

Then in order to just display it, I would need to;

* split it into a list of lines. Ok that's not so hard.
* map it into a dict where each elem contains 'text': <line>

Would it be possible for this argument to be, say either a text or list of strings or list of dicts?

If i remember correctly, the `balloon_show` API has something similar which made it quite easy to just throw up a message. I think that was something like `balloon_split`? should we have `popup_split`?


耳机和音效 - Headphone & audio effects


Did it work for you?
Probably need to add darkModeSupport in packaging


@miguel-l : are you sure that this change corrects the issue ?

It seems to me that you just replace value_draw by another value storing rule50. Then, you should verify that position rule50 counter is higher than TT one ( just after line 1260). If it is not higher, we should search the position again or retrieve another TT value.

Another issues:
- suppose that we have stored "draw in 40 moves", after this we find a draw in 50 moves, should we reset the score ?
- how to differentiate between "forced draw" and "equal position" ?


Demo tuy nhiên khi đã sử dụng transaction thì nên đặt khối thực thi trong try catch để bắt lỗi finaly để close.


Java project


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @jeromekelleher was added to this feedstock maintenance team.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


`popup_atcursor()` in this line should be `popup_menu()`.


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):
~~~


how best can i be with this application


For the "hint menu" use-case we would want something strictly doesn't overlap the existing popup menu. Is that possible ?

For example, as you read the lower part of the window, the pum draws above the cursor, but only if there isn't room below it. In this case we'd either want to suppress the "hint" menu or render it below the cursor if there's room.

Maybe a "best fit" option ?


Could you give me a socket server example in multiple-task;
i mean task A used to control server_socket and task B used to accept client socket;


Tương tự nên cho vào try catch cho hợp lý, chú ý đừng try catch toàn bộ,
E thử test TH list rỗng or list null thì getResultList() sẽ như nào nhé?


"failed"


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @arnoldosmium was added to conda-forge. Welcome to conda-forge!
  Go to https://github.com/orgs/conda-forge/invitation see your invitation.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


不过这个redis server需要把协程关闭掉，任何其他进程也不允许有协程[方式](https://github.com/swoole/swoole-src/issues/2571)


CМ - это система принципов и шаблонов организации и построения теоретической и практической деятельности, а также моделирования закономерностей окружающего мира на основе аксиоматических положений. Ключевой особенностью СМ является то, что оно сфокусировано на захвате разнообразия и вариативности окружающей действительности и разработке механизмов работы с ними. СМ -  подходит как для личного, так и для коллективного мышления.


good


Với mô hình DDD or MVVM thì ở tầng entity các properties ko cần pải là private mà lúc nào cũng là public để giảm tải việc viết quá nhiều get/set. private nếu ở những mô hình này nó sẽ để ở tầng model. vì lúc này các properties mới cần đảm bảo dữ liệu vào ra là đúng và hạn chế việc get/set


is this from last commit? or changed by you?


Copy of this build can be found at
https://builds.myetherwallet.com/build/f175c34d1975f20fe8d9d433abec5710822fc12d/index.html
                       https://www.cloudflare-ipfs.com/ipfs/QmWsdnk97p8Gg2d83QJeyKcgvcrvVUS3VjCYm6wm356Bc1
                       Virus Total analysis
                       https://www.virustotal.com/file/0c3e861e74f7dbee8a8fe6a00cf9284ba6dcdc6e6769f3ef703e69de7fa47487/analysis/1557738293/


Không để lẫn lộn get/setter với constructor như này. đọc lại xem ở trong class thì thứ tự thực thi của nó sẽ như nào mà sắp xếp code cho đúng


::findOrFail()


i think we should merge those two expect, let's says this.expectKeyWord?


中斷資料整理


Tại sao cần toString và hashcode, xem lại lý thuyết nếu chưa rõ nhé


code chưa format


ذخیر حالات غیرفعال وقفه در اینام مربطه
در صورتی که نگه دارنده قفل مقداری موجود نداشت اولیت نخ خد را اهدا میکند


EXPRESSION is a little bit too strict, we should support like (WS|TEXT|EXPRESSION) above to make sure those errors are capatured in static validation


why this ()?


Chưa có constructor ko tham số


有具体的代码么?非常感谢！！


why this is changed?


Now the client is well downloaded. Thanks.
We will test the new feature


show GFLOPS


Other case


Зачем накапливать вызовы в стеке?
Это тоже самое что

```
irb(main):001:0> def test
irb(main):002:1>   return test
irb(main):003:1> end
=> :test
irb(main):004:0> test
Traceback (most recent call last):
       16: from (irb):2:in `test'
       15: from (irb):2:in `test'
       14: from (irb):2:in `test'
       13: from (irb):2:in `test'
       12: from (irb):2:in `test'
       11: from (irb):2:in `test'
       10: from (irb):2:in `test'
        9: from (irb):2:in `test'
        8: from (irb):2:in `test'
        7: from (irb):2:in `test'
        6: from (irb):2:in `test'
        5: from (irb):2:in `test'
        4: from (irb):2:in `test'
        3: from (irb):2:in `test'
        2: from (irb):2:in `test'
        1: from (irb):2:in `test'
SystemStackError (stack level too deep)
```
Если убрать эту строчку, то просто будет выполнены следующая итерация цикла. Т.е тоже самое, только вызовы не будут накапливаться в стеке. Убери эту строчку


Does this imply that no border would be `[ 0, 0, 0, 0 ]`


Exception on väga üldine, peaks catchima täpsemat tüüpi.

siin kirjutamisel ei teki üldse mingit account infoga seotud exceptionit. pigem võiks meetodi algusesse lisada if (midagi on puudu) throw IllegalArgumentException


miks see `,e` ära läks? see oli väga hea, niimoodi jääb vea algne põhjus ka alles


Yes indeed!


@JuliaRegistrator register()


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

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 v0.2.1 -m "<description of version>" f8eab8eb8ebd3be99a21038aae89601d84858e1a
git push origin v0.2.1
```


Убери вызов `manage_stations`, чтобы вызовы не накапливались в стеке(т.к возврата из метода не произойдет). Иначе со временем получишь `SystemStackError`


LoginInfo asemel saaks siin lihtsalt selle sama properties returnida. aga nii on ka ok


См https://github.com/JIuc75/Reports-for-Thinknetica/commit/3556029e5ffb71b06822d31202d78e82e4bff73a#r33509233


It really isn't a good idea in stable. Because of lines 118 and 99. It breaks those conditionals (which are also wrong, but still it breaks them). I tried that as my original quick fix. But I'm pretty sure that the only place in Odoo Core that uses those fields at least for calculations/conditionals is this function.


soovitan pigem if (in == null) throw exception


Thanks !


Thanks for the explanation and the links.


Whoops! Mea culpa. Thanks for explaining @simonetripodi


What's the purpose of this variable in the first place?
No argument should be mandatory when asking for e.g. the size of the tensor shape of the dataset.


ok


what happens if this key is omitted ? Should we state that you have to call `popup_close` ?


File chưa format


Нет опечатки source > sourse?


Thừa quá nhiều dòng thừa


hea praktika on selle jaoks eraldi boolean teha, st  while (running) ja siis end käsu juures update.setRunning(false) + update.interrupt(). seda puhtalt selle pärast, et kui mingi bugine kood interrupt flagi ära sööb, siis niimoodi thread läheb lõpuks ikka kinni.


Waaah, thug , such pro


I've removed `elevation-1` class, right now I'm using by default toolbar elevation


name ="find Employee by id" chưa viết đúng format
thường thì sẽ là: "findById", "findEmployeeById", "find_employee_by_id"


Переименуй метод на `select_from_collection`


Successfully aliased the URL <https://snowflake-website-98e2sjnnf.now.sh> to the following aliases.

* https://snowflakewebdesign.nl
* https://snowflake-website.bingneef.now.sh
* https://snowflake-website-git-master.bingneef.now.sh


Constructor ko tham số pải để đầu tiên sau khai báo thuộc tính


Với mô hình DDD or MVVM thì ở tầng entity các properties ko cần pải là private mà lúc nào cũng là public để giảm tải việc viết quá nhiều get/set. private nếu ở những mô hình này nó sẽ để ở tầng model. vì lúc này các properties mới cần đảm bảo dữ liệu vào ra là đúng và hạn chế việc get/set


Tìm hiểu lại xem lại cần pải dùng tostring và hashcode?


> Should implement this inside ideep, right?

Yes, I have implemented this inside [ideep](https://github.com/XiaobingSuper/ideep/commit/edc625e661a1779ea2a4629000fff1386a3a21fa) and integreate it into [aten](https://github.com/XiaobingSuper/pytorch/commit/71031da76e303e35f0ac2fe5bbcc26dfda54d363). we shoud ask facebook team which one is better.


It would be good to have movie rating here as well, as we already have total movie votes


Thử check xem khi list = null or list rỗng thì getResultList() sẽ như thế nào?


This adds the Hitachi character LCD module. It will work with 2x16 and 4x20 displays


I think if you repeated this test with `po_line.price_unit = 90.0` you will find this PR doesn't quite resolve the issue.

The assertions on line 1158 and 1159 would be in that scenario
```
self.assertEquals(len(price_diff_aml), 0, "No line should have been generated in the price difference account.")
```

and 1164/1165 changed from 110 to 90.


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):
~~~


sandwich is added to receipeList file


почему не используешь btns.forEach?


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

* https://zlace.sg
* https://zlacesg.zlace.now.sh
* https://zlacesg-git-master.zlace.now.sh


It is used for debugging, when you start the app at port 8080 you can go to port 9001 for info
http://localhost:9001/actuator/health
http://localhost:9001/actuator/beans


Убери проверку на существование


вынеси функцию из анонимной в явное определение, так производительнее и читабельнее


I think this should be now `self._value_fn[:, 0]`?


Название класса в ед. числе
Измени название класса на `Wagon`
название файла на `wagon.rb`


оберни весь свой модуль в IIFE для изоляции


зато везде одинаково )))
поправлю, спасибо


should this be added to `disposables`?


You mean public class Date?


Yes, you are right, perhaps we can make it a utility function at next step(supportting 3D ops, including conv, pooling...).


Ssly wow


I think you're right, I just have used this so far as `rnChannelPlugin(channel)` not `rnChannelPlugin({channel: channel})`. And yeah, this plugin only makes sense for scope `"device"`.


This was there by mistake


Moving the discussion to a bit theoretical level. I'm not 100% sure of how mDNS works, therefore please excuse my question if it is silly.

So we have now a mechanism to re-announce mDNS after a network failure.

I was thinking about a case of a network outage due to generic power failure. In that case, when power comes back, the router's SSID will become available but what if the Apple TV is still in boot process? It may happen that mDSN re-announcement occurs before Apple TV is ready.

Is the above scenario really possible? If yes, would that missed re-announcement create any issue ?


这里加return没意义，而且eslint会报(no-useless-return)的错，调试工具又不能关，把beforeCreate改成created完美解决 @PanJiaChen


? This is the only part I don't understand


definitely. Added


This library for PostgreSQL , I don't need it but I think I installed it when I was trying to work on heroku , and when I start this new project I download all requirements


Style warning issue. Should change the order.


Tell me what is missing.


What did I say? :)


Wenn du kein 401 sendest und eh identisch mit `requireEntity` ist, kannst du auch `Problems.requireEntity(null, id, "No such Reservation");` benutzen. Vielleicht noch ein Kommentar `// no permission, but hide that fact`


First commit


start 是用户本地会用到的功能，`ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION` 最好不要写在这里，要想想怎么去掉。


You can add any cards as commanders to test, `Init.txt` examples:
```
[test commander genji]
commander:Human:Genju of the Realm:1

[test commander urza]
commander:Human:Urza, Academy Headmaster:1

[test commander creature]
commander:Human:Balduvian Bears:1
```


Now the recipient is only saved for information purposes, am I right? There is no enforcement associated with it. Therefore, it no longer belongs in storage.


If this contract is deployed twice, both instances will create the same hashes with the same inputs. This means that the recipient could guess the password if it has been used on another instance.
This is a risk for your user.
How can you protect your user?


Khi sử dụng transaction thì cần try catch để bắt exception, finaly để close


@nashif you introduced codeowners issue:  Expected '/' after directory 'soc/nios2' in CODEOWNERS


# 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 already set `keyHash1`, no need to `return` it.


In case you want to fix the half-pixel shift after this commit:
https://github.com/MiSTer-devel/SNES_MiSTer/blob/c37c41dfbb6664d6916f15627e07c1d3d525a525/src/PPU.vhd#L890

Change to 298.

I will do Genesis later.


code của e thừa nhiều dòng ko cần thiết


In that case Apple TV should send an mDNS broadcast request for particular mDNS names and mdnsresponder (that's why it is called "responder", not "announcer") will respond with matched service records.


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

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


Add the keyword `const`.


Puzzle `1-1dd3b0e3` discovered in   [`scripts/tokenisation-benchmark.py`](  https://github.com/heytitle/thai-word-tokenisation-benchmark/blob/master/scripts/tokenisation-benchmark.py)   and submitted as #5. Please, remember that the puzzle was not   necessarily added in this particular commit. Maybe it was added earlier, but   we discovered it only now.


Puzzle `1-a494b037` discovered in   [`scripts/tokenisation-benchmark.py`](  https://github.com/heytitle/thai-word-tokenisation-benchmark/blob/master/scripts/tokenisation-benchmark.py)   and submitted as #6. Please, remember that the puzzle was not   necessarily added in this particular commit. Maybe it was added earlier, but   we discovered it only now.


All other releases have <h2> headings, only this one has <h3>. I assume, that is automatically created by chore, so you probably want to update all the old ones or alternatively tune chore back to the old behaviour.


Puzzle `1-1dd3b0e3` disappeared from [`scripts/tokenisation-benchmark.py`](https://github.com/heytitle/thai-word-tokenisation-benchmark/blob/master/scripts/tokenisation-benchmark.py), that's why I closed #5. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.


Puzzle `1-a494b037` disappeared from [`scripts/tokenisation-benchmark.py`](https://github.com/heytitle/thai-word-tokenisation-benchmark/blob/master/scripts/tokenisation-benchmark.py), that's why I closed #6. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.


Fix


For **bias_defined = False**, the gradient of bias can be a empty ideep tensor in **_mkldnn_conv2d_backward_weights** function.


np, I tested the .ova for vbox after generating it with misp-packer and I get this response header
```
HTTP/1.1 302 Found
Date: Mon, 13 May 2019 11:28:49 GMT
Server: Apache/2.4.29 (Ubuntu)
Location: https://0.0.0.0/
Content-Length: 200
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
```


jeśli nie używasz możesz wywalić tą metodę i usunąć `implements OnInit` z nazwy klasy. Jeśli planujesz używać to dodaj typy:
```
public ngOnInit(): void{
}
```


感谢提示，我又改了一下。


As a response. Return 500 on a cookie expired error is way too much.  clear cookie and redirect user to login page would be better?


dodaj we wszystkich metodach w projekcie typy, w tym przypadku będzie `public remove(task: Task): void`

Jeśli jakaś metoda jest wywoływana z kodu html np `(click)="remove(task)"` to jest ona publiczna(`public`) jeśli wywoływana jest tylko z klasy i nigdzie na zewnątrz to prywatna(`private`) :)


I would be careful about saying how the Treasury gets used. Remember, it's reference docs, so it really needs to be like, "This is what this does." If you need an example, make sure you state that it's just an example.

> The Treasury module provides a "pot" of funds that can be managed by stakeholders in the system. It provides a structure for making spending proposals from this pot. The chain will need a method (e.g. inflation, fees) for getting funds into the pot. For example, the Council could vote to fund the Treasury with a portion of the block reward and use the funds to pay developers.


Registrar no index


Blank line before lists


Ok, I will rewrite it if we not integrate it into ideep. Thanks!


why do you need `this.moviesMock` if you don't use it anywhere?


better name it `defaultUrl` instead of `data`


"when making a **proposal**"


hello janosh, I cloned your develop branch, then occured an error:

```shell
- Unknown argument 'pathToSlugField'.
```


I do not believe this is good enough:

* Alice hashes "password1", "Carol" -> "hash1".
* Alice sends 1 Ether with "hash1".
* The contract hashes "remitId1", "hash1" -> "hash2".
* Carol waits for "password1" from Alice.
* Carol collects with "remitId1" and "password1".
* Now, Alice sends 2 Ether with "hash1".
* The contract hashes "remitId2", "hash1" -> "hash3".
* Carol does not need to wait for "password1" from Alice.
* Carol collects with "remitId2" and "password1".

How can you protect Alice?


I try to avoid specific variable names in the `//!` section. `total_issuance` is intuitive enough, but without knowing what "portion" means, it's not clear what this trait is for.


Who dun nit?


Thanks for fixing dedup buffer (400ms).


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


PR_opened/Fix_7082_SiteGTUFD_Crash (jmarrec) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (6 of 6 tests passed, 0 test warnings)

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


first file


基础实现mybatis


tak jak wspominałem wcześniej możesz sobie stworzyć typ dla koloru np:
```
export enum TaskColor {
   red = 'red',  // albo positive = 'red', w zaleznosci czy dany kolor cos oznacza
   green = 'green'
}
```
Wtedy możesz importować tego enuma w różnych miejscach i jeśli np. postanowisz zmienić odcień czerwonego to zmieniasz tylko w jednym miejscu ;)
Możesz go użyć w ten sposób tutaj
```
return this.tasksList.length >= 5 ? TaskColor.red : TaskColor.green;
```


Update charts and board java version again


Can you send the `owner` concern to a parent contract?


Niepodoba mi się to `: any` w typie ;)
Dodaj jakiś konkretny typ :)


Successfully aliased the URL <https://alehatsmancom-8lqkk0eha.now.sh> to the following aliases.

* https://alehatsman.com
* https://alehatsmancom.alehatsman.now.sh
* https://alehatsmancom-git-master.alehatsman.now.sh


You do not need to make this parameter `payable` because no transfer will take place.


> What did I say? :)

How do I remember things from years ago? ;)

Yes, a cleanup will be desirable.


> I am using 7.3

7.2.15 is the latest stable. There is no 7.3.x 😕

In any case, this commit has been included in the [7.2.8 release][1].

[1]: https://github.com/angular/angular/commits/903d28fe86744159582b738cb41e453ec21095c9


constuctor đang để thứ tự lung tung quá


cái này mục đích để làm gì vậy?


Sorry about that. This relies on local changes I made to `gatsby-transformer-remark` which [haven't been merged yet](https://github.com/gatsbyjs/gatsby/pull/13972). I'm still working on that PR. If you revert `src/utils/fragments/post.js` to

```js
import { graphql } from 'gatsby'

export const query = graphql`
  fragment post on MarkdownRemark {
    frontmatter {
      title
      subtitle
      slug
      date(formatString: "MMM D, YYYY")
      tags
      showToc
      ...cover
    }
    timeToRead
    excerpt(pruneLength: 200)
    headings{
      value
      depth
    }
    html
  }
`
```

it should compile again.


It is better to use a named function instead of using the fallback function. Users assume the fallback function is cheap to run, which is not the case here.


Now could not deploy this pull request since the `package.json` file does not contain valid JSON.

  Click here to see the contents of `package.json`

{
  "name": "portfolio-kai",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "axios": "^0.18.0",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "react-pose": "^4.0.8",
    "react-scripts": "3.0.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
    "now-build": "react-scripts build && mv build dist"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}


PR_opened/Fix_7082_SiteGTUFD_Crash (jmarrec) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

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


e có hiểu super nghĩa là như nào ko?


Your welcome. I made reason causes promtarget aware too.


Now that you understand the overflow concern, have a look at the `SafeMath` library.