[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/RcppExports.R#L19) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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:19:5:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.matrix(local_anc)) {
    ^
```
[R/unphased_log_likelihood.R:21:21:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L21) *warning:* **no visible global function definition for ‘get_states’**
```r
    local_states <- get_states(local_anc)
                    ^~~~~~~~~~
```
[R/unphased_log_likelihood.R:28:21:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L28) *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:35:5:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) == 1) {
    ^
```
[R/unphased_log_likelihood.R:46:5:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) > 1) {
    ^
```
[R/unphased_log_likelihood.R:48:8:](https://github.com/thijsjanzen/junctions/blob/3e5849cce378729c23c5a91b83b8fe6a4e53c527/R/unphased_log_likelihood.R#L48) *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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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/3e5849cce378729c23c5a91b83b8fe6a4e53c527/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)
                                                            ^
```


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

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


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": "server",
  "version": "0.0.1",
  "description": "",
  "dependencies": {
    "express": "^4.16.4",
  },
  "scripts": {
    "start": "node ."
  },
  "main": "index.js"
}


ja rozumiem, pomocne materiały polecam się zapoznać


Had to override the above a little bit with ed9b1769352516a2a56418715fa1bda59ac57624 to solve a problem on some GNU/Linux boxen.


Maybe check for "FileType(upx) = 1" as you else also accept the directory "bin/upx"


Many wanted to zoom out to the future where data can exist (forecasts etc )


Successfully aliased the URL <https://lost-art-project-7fskt321i.now.sh> to the following aliases.

* https://lost-art-project.funnydeveloper100.now.sh
* https://lost-art-project-git-master.funnydeveloper100.now.sh


@JuliaRegistrator register()


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

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>" b3b01062d3ab2da265d748c3a16c779a08f2d4b1
git push origin v0.2.1
```


or even, FILETYPE_FILE...  good point. Thanks.


Successfully aliased the URL <https://freshping-public-tools-5p8rqlt3o.now.sh> to the following aliases.

* https://freshping-public-tools.mukeshkrfd.now.sh
* https://freshping-public-tools-git-master.mukeshkrfd.now.sh


hi beautiful people. i am glad to meet you all here  on this beautiful day, i ll like to start by introducing myself to you.
but before i do that, please permit me to tell an inspiring story about a man who thought his life has finally  come to when his wife left him.


i will continue in my next visit
THANK YOU ALL


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


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

* https://darksky-graphql.berkansivri.now.sh
* https://darksky-graphql-git-master.berkansivri.now.sh


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

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


DeepCode analyzed this commit.
There are no new issues. 2 info reports were fixed.

[Click](https://www.deepcode.ai/app/gh/eea/eionet.contreg/68b37114a9e81da813c8feedabcd58c942c0c514/eea/eionet.contreg/75ca198a207c77208edf79d9ab5472f5bfb2c797/_/%2F/code/) to see more details.


@ovr thank you for message, it's available now.

Best regards,
Jumio Mobile Team


Successfully aliased the URL <https://window-table-16ldmgv80.now.sh> to the following aliases.

* https://window-table.dodan.now.sh
* https://window-table-git-master.dodan.now.sh


amazing :astonished:  :+1:


Il n y a pas de version Spring de cette Exception ?


Congrats!


SRC_URI[md5sum] = "50bf820e8f9ef4817c4e24b1a0b320a0"
SRC_URI[sha256sum] = "5128a1ccabcb076b9e6d70106fb4439c8725398d257ff9e662e7bcabf795e9fd"


Het lijkt onhandig om een lege constructor voor Simulation te hebben, en vervolgens een Initialise functie te implementeren.

Je kan beter de initialise code in de constructor zetten. Of is er een specifieke reden dat de constructor en Initialise() gescheiden zijn?


Valeurs en dur MACHINE-IP, CONTENT ...


@ahsan-ali-brainx define this key in constants.


my first commit


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


sum from 1 to 100


Successfully aliased the URL <https://window-table-1094zeuuv.now.sh> to the following aliases.

* https://window-table.dodan.now.sh
* https://window-table-git-master.dodan.now.sh


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

* https://darksky-graphql.berkansivri.now.sh
* https://darksky-graphql-git-master.berkansivri.now.sh


Reference #2668


@JuliaRegistrator register()


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

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


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

* https://xnix.me
* https://xnixme.xueseason.now.sh
* https://xnixme-git-master.xueseason.now.sh


Can we have clarity on this copyright. It does not look BSD, or open source compatible.


fast-forwarding master to auto = 4386b78a


Voor wat meer abstractie in de code...

Wat je kan doen is de GeneticCode class een static functie `generateRandomCode(int length)` geven. Deze functie genereert dan een GeneticCode van lengte `length` en vult het met random moves (wat je nu in de inner for-loop doet).

Een nieuwe random GeneticCode kan dan gegenereerd worden door `GeneticCode.generateRandomCode()` aan te roepen. e.g. `GeneticCode myNewCode = GeneticCode.generateRandomCode(10);`.

Effectively wordt dan dus de inner-loop (regel 45-68) verplaats naar de GeneticCode class.


Fixed spelling error


Successfully aliased the URL <https://nordnet-ui-i85rs7gyn.now.sh> to the following aliases.

* https://nordnet-ui.nordnet1.now.sh
* https://nordnet-ui-git-beta.nordnet1.now.sh


You can also build the sh4 with glibc 2.25.
That works fine.
Whether it is better or worse, I can not say.
It may be easier to customize.


This could potentially have a nice newtype wrapper around it with smart operations. I.e. only allow insertions that are unique.

E.g.

```haskell
newtype UniqueOMap k a = UniqueOMap { toList :: OMap k a }
  deriving (Show)
```

And then have a smart `insert :: k -> v -> UniqueOMap k v -> Maybe (UniqueOMap k v)` that checks for existence and returns `Nothing` if the key already exists in the map. The `OMap` from `ordered-containers` would retain order.

With a type like this, you'd handle the error at the consumption phase (parsing), and then you wouldn't have to worry about it later on, as [you did here](https://github.com/adobe/Chronikis/blob/bb5c17b743b8dbb48f12b24f6c107c3bb42fc989/compiler/src/Checks.hs#L42-L43).

E.g.

```haskell
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Data.OrderedUniqueMap
  ( UniqueOMap
  , (<|)
  , empty
  ) where

import           Data.Map.Ordered (OMap)
import qualified Data.Map.Ordered as OM

newtype UniqueOMap k a = UniqueOMap { toList :: OMap k a }
  deriving (Show, Functor, Foldable)

empty :: UniqueOMap k v
empty = UniqueOMap OM.empty

(<|) :: Ord k => (,) k v -> UniqueOMap k v -> Maybe (UniqueOMap k v)
(<|) (k, v) (UniqueOMap m) =
  case OM.lookup k m of
    Nothing -> Just (UniqueOMap ((k, v) OM.<| m))
    Just {} -> Nothing
```


читая ваш интерфейс, мне не очень понятен его смысл, т.е. у вас есть пространство имен BigMath, оно предполагает работу с арифметикой, ок ну зачем в него добавлять функцию, для проверки InputCheck? Это не есть часть этого пространства имен. Т.е. вам надо разделять логику что относиться к вашей арифметике, а что нет, это не верный подход все совмещать вместе.
Ок, другой момент, зачем выносить наружу функции CheckSign Compare StrToInt MassToStr??? Это часть внутрености работы уже функциональности сложения, вычитание, деления, умножения. Т.е. пользовател. нужно только арифметика зачем ему промежуточные, скажем в синтаксисе ООП приватный функционал, функции. Сделайте их внутренными BigNumbers.cpp модуле


Check de Java code hier: https://rosettacode.org/wiki/Plot_coordinate_pairs#Java

Als je die class lichtelijk aanpast zou je het misschien kunnen gebruiken voor het plotten van de individuals.


зачем это надо???? это экспортируется в модуле где используемться зачем это делать для укаждого заголовочного файла. Т.е. используете только то что нужно этому заголовочному файлу, зачем тащить зависимости. Помните я вам рассказывал о зависимости компиляций.
```
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
```

Ваш заголовочный файл этот контекст где то использует???


Mise à jours de l'index


Successfully aliased the URL <https://nordnet-ui-je7uokdma.now.sh> to the following aliases.

* https://nordnet-ui.nordnet1.now.sh
* https://nordnet-ui-git-beta.nordnet1.now.sh


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

* https://xnix.me
* https://xnixme.xueseason.now.sh
* https://xnixme-git-master.xueseason.now.sh


#629 です！


немного намудрили
```
if(Number[0] != '-')
{
   return false;
}
```

Иногда смотрите на свой код или циклы или условия и смотрите что вам в них не нравится, и решения сами будут к вам приходить


testestest


ratelimits*


I put my nickname, but now I added my name and last initial as instructed.


![영어단어(5일차)](https://user-images.githubusercontent.com/48553194/57449248-619f4700-7296-11e9-9595-8c774d4236e6.JPG)


When running wait-for within a container exec "$@" throws a can't open ''whichever command'': No such file or directory. It works when removing the exec


test comment


```haskell
> S.runState (newName' False "x") (Data.Set.fromList ["x"])
("x_0",fromList ["x","x_0"])
> S.runState (newName' False "x") (Data.Set.fromList ["x_0"])
("x_1",fromList ["x_0","x_1"])
> S.runState (newName' True "x") (Data.Set.fromList ["x_0"])
("x",fromList ["x","x_0"])
```

Looks ok. Important to get these name generating functions right.


On principe ici ça devrait être configurable à l'extérieur du code avec un fichier de config our par variable d'environnement


Sorry … i [fix it](https://github.com/LimeSurvey/LimeSurvey/commit/cd6f6a8ea79303c512dddb7aa5c2b1b698918c41) but have a 504 Gateway Time-out … (maybe because of all my plugins … (not in files, but in DB …))

Can you check again please ?


Our project is not GPL-3. Our own code is BSD 3 clause. Our dependencies include several different licences but none of them are GPL-3 either. See LICENCE.txt


Acceptable, but please align with the copyright notice in the file for clarity.


@jdleesmiller What do you think about adding a license copy to this repository?

The github UI can show a banner then, see the [document updater](https://github.com/overleaf/document-updater) as an example.


Hi @eternoendless , I have changed Validate.php file, but I have not a ValidateCoreTest.php file in my prestashop 1.6.1.9 becuase I have not a test directory. I have created the test directory and the file ValidateCoreTest.php inside tests/Unit/classes/ but it is not working. I did a test in my site and the solution is not working, any help?


In terms of occurrences in the code:

```
$ grep -ohP "Fabricate\(:\K(\w+)" $(git ls-files spec | grep _spec.rb$) | sort | uniq -c | sort -n | tail -n 10
     90 theme
    108 moderator
    114 upload
    142 tag
    198 group
    316 admin
    321 category
    572 topic
    945 post
   1341 user
```

In terms of fabrications at runtime:

```
$ FPROF=1 rake spec
...
[TEST PROF INFO] Factories usage

 Total: 15281
 Total top-level: 10284
 Total uniq factories: 119

 total      top-level                            name

  6089           2715                            user
  2398           1205                           topic
  2142           2098                            post
   663            663                           admin
   620            529                        category
   372            367                           group
   284            283                             tag
   232            133                   coding_horror
   211            147           private_message_topic
   204            204                           theme
   196            196                    notification
   193            186                          upload
   136            136                       moderator
    77             19                 secondary_email
...
```


Don't disable the lint rule. Instead, send an error to the logger and return false.

```
else {
    logger.error(new Error('Unexpected element type'));
    return false;
}
```


Right, that would be better. PR very welcome!


<img width="1440" alt="Screenshot 2019-05-08 at 10 23 20 PM" src="https://user-images.githubusercontent.com/20547232/57449635-5fb49400-7254-11e9-865d-1da027e392cc.png">

Test coverage pic added.


Successfully aliased the URL <https://personal-xgxterzhcv.now.sh> to the following alias.

* https://www.connordav.is


Good man thanks for your hard work


❌ [Build was (probably) aborted](https://jenkins.internalx.com/job/macios/job/d16-1-arm64-32/1/display/redirect)

🔥 [Jenkins job](https://jenkins.internalx.com/job/macios/job/d16-1-arm64-32/1/display/redirect) (on internal Jenkins) failed in stage(s) 'Test run, Test run' 🔥

✅ [Build succeeded](https://jenkins.internalx.com/job/macios/job/d16-1-arm64-32/1//console)
✅ Packages: [xamarin.ios-12.10.0.172.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/package/xamarin.ios-12.10.0.172.pkg) [xamarin.mac-5.10.0.172.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/package/xamarin.mac-5.10.0.172.pkg)
✅ [API Diff (from stable)](http://xamarin-storage/jenkins/xamarin-macios/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/jenkins-results/api-diff/index.html)
✅ [API Diff (from PR only)](http://xamarin-storage/jenkins/xamarin-macios/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/jenkins-results/apicomparison/api-diff.html) (no change)
✅ [Generator Diff](http://xamarin-storage/jenkins/xamarin-macios/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/jenkins-results/generator-diff/index.html) (no change)
🔥 [Test run failed](http://xamarin-storage/jenkins/xamarin-macios/d16-1-arm64-32/5484a9a7c139ef169366b67eedaf5ae4614d3a47/1/jenkins-results/tests/index.html) 🔥

# Test results

<details>
<summary>6 tests failed, 0 tests skipped, 342 tests passed.</summary>

## Failed tests

 * [NUnit] Mono SystemTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono CorlibTests/watchOS 32-bits - simulator/Debug: Crashed
 * [NUnit] Mono MonoDataSqliteTests/watchOS 32-bits - simulator/Debug: Crashed
 * [xUnit] Mono SystemDataXunit/watchOS 32-bits - simulator/Debug: Crashed
 * mmptest/macOS/NonSystem: Failed (Execution failed with exit code 2)
 * MTouch tests/NUnit: Failed (Execution failed with exit code 2)
</details>


@ahsan-ali-brainx Why is there a commented code?


That i have already tested here http://tests.stockfishchess.org/tests/view/5cd3dbb10ebc5925cf04ae50. But lets see.


Zabbix-Agent


Successfully aliased the URL <https://xnixme-7d2ztltut.now.sh> to the following aliases.

* https://xnix.me
* https://xnixme.xueseason.now.sh
* https://xnixme-git-master.xueseason.now.sh


DeepCode analyzed this commit.
There are no new issues. 2 info reports were fixed.

[Click](https://www.deepcode.ai/app/gh/eea/eionet.contreg/4a90fab9a0bfa1fbe0859628b69d51fc3335cd7d/eea/eionet.contreg/ad0b78bdabe5e0f4dffb9baad97cd75dcc134419/_/%2F/code/) to see more details.


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

* https://everythng.stream
* https://everythng.cecaniahcorabelle.now.sh
* https://everythng-git-master.cecaniahcorabelle.now.sh


size_Result это size_t, а i это unsigned


Hi @krumo,
Nice catch, but I think that this problem is handled on a different level in the framework.
Let's review those cases when empty mask list would occur (maybe I'm wrong, correct me please if so):
- ground truth: not all datasets coming with instance level segmentation, but since masks are just an extra field of the `BoxList` instances it should not be a problem. If we don't have it, we just don't use `SegmentationMask`.
- prediction: let's say that our network has predicted a bounding box a class, and we have `N` instances. By default, the `roi_mask` head will also output _something_ non-zero stuff that is automatically appended to the predictions under the `mask` field (not `masks`, issue here: #527 )


ok thanks


**Installation**

**GitHub**
The Inputlog-Copy-Task uses Git as a version control system. Follow the instructions on the GitHub Guides to learn how to set up a repository

**Visual Studio**
Visual Studio 15 or higher - Community Edition was used to develop the Inputlog-Copy-Task. When installing Visual Studio, make sure that the following components are installed:
•	Visual C#
•	Visual Web Developer
•	.NET Framework 4.5 or higher
•	Office Developer Tools

**Bigram Resources**
An excel with bigrams (character-character pairs) for several (western) languages. For every bigram, an indication of the use frequency based on a large text corpus of the given language. The handedness of the bigram is the position of the two characters on a keyboard: LL = both on the left-hand side; LR = on left and one right; RR = both on the right-hand side, etc.

**Documentation**
Instructions on how to use the copy task, starting with the creation of a task, the execution of the exercises and finally the analysis of the logged writing process.

**Task Creator**
The copy task creator is written in C# (2015) on top of the .NET Framework version 4.5 and can be used as a standalone program. It is also possible to access the Task Creator via the Inputlog desktop program (http://www.inputlog.net/). The output generates an XML file with a specific set of tags that are recognized by the copy task JavaScript. Inputlog supports the creation of an analysis of the copy task output file. The Copy Task Creator expects Windows 8 and higher.

**Web**
The copy task is developed in JavaScript (with jQuery 2.1.0) is web based and is tested on most common browsers (Chrome, Internet Explorer, Firefox, Safari and Opera - OSX/Windows). The web application contains all the JavaScript libraries it depends on in the web/scripts/ folder.


string Num_A, string Num_B должны передаваться по const ссылке


Updated the manual link.


Добавил проверки, спасибо!


gtx1063  etp

4gb+ eth etc


try:
/usr/local/pf/bin/pfcmd pfconfig clear_backend
systemctl restart packetfence-config
/usr/local/pf/bin/pfcmd configreload hard

Since the admin roles are built in pfconfig, new admin roles have to be loaded in pfconfig to be active so that might be the missing piece


THis is great. To handle NODATA you would potentially do something like

```
as_numpy = np.frombuffer(cell_data_bytes, ...)
if cell_type.has_no_data():
    nd_value = cell_type.no_data
    as_numpy = np.ma.masked_equal(as_numpy, nd_value)  # if the value in the array is `nd_value`, it is masked as nodata

```


But on `button:hover` the underline still appears.

<img width="198" alt="Screen Shot 2019-05-09 at 5 24 00" src="https://user-images.githubusercontent.com/486954/57450053-1d944e00-7266-11e9-93e0-d3d209577955.png">

@faderud is this desired or needs a fix?


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

* https://coiny.astrolince.now.sh
* https://coiny-git-master.astrolince.now.sh


привыкайте в таких вот случаях юзать auto, он вас избавит от многих ошибок. Это такой модный подход, плюс компиятор сам решит какого типа сделать эту переменную


No solo eso , tambien colocamos el icono y aliniamos el texto y le dimos color.


In CompLexMarkets (een van mijn andere projecten) heb ik wat code geschreven voor het maken van een gui in Java. Daar zou je wat uit kunnen halen voor jouw gui.

https://github.com/lexvanderstoep/CompLexMarkets/tree/master/src/uk/co/complex/lvs/cm/gui


ok, poza bardzo patologicznymi schematami parsowania może to działać poprawnie.


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

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


 <content_rating type="oars-1.0">
    <content_attribute id="violence-cartoon">intense</content_attribute>
    <content_attribute id="sex-nudity">mild</content_attribute>
    <content_attribute id="language-humor">moderate</content_attribute>
  </content_rating>

I think is more accurate.


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

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


Drop node 4 support with configs `^6.0` => you was drop node 8, 10, 11, 12 too
Please change it too `>=6.0`


на будущее лучше такие функции возращать пару, где первое поле будет содержать статус работы функции, а вот второе поле уже результат. Т.е. в вызывающей части вы проверяете если первое поле true значит есть результат. Это поможет в том случае если вы логируете ваш результат работы, т.е. у вас есть потоки DEBUG, INFO, ERROR. Так вот bool результат как раз и помогает понять у вас ошибка или нет


Successfully aliased the URL <https://reasonable-pokedex-670bumsra.now.sh> to the following aliases.

* https://reasonable-pokedex.davidcorticchiato.now.sh
* https://reasonable-pokedex-git-master.davidcorticchiato.now.sh


Sure. I planned to fix there many things anyway in manifest file. This is more like draft version. And i expected for some help and i got it. :) Thank you.


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

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


не разделяйте пробелом пост и преф операции


`big` endian doesn't make sense, as both x86_64 and ARM (by default) are `little` endian. I'll push a PR to change this. Thanks @vpeter4.


Successfully aliased the URL <https://cviceni-test-2kle71c6r.now.sh> to the following aliases.

* https://cviceni-test.historylab.now.sh
* https://cviceni-test-git-master.historylab.now.sh


로그인창 상단바 변경, 체크박스 수정, 이미지뷰 기능 연결 추가


Tu exposes 2 WS qui exploitent un seul Service (CopyService). Ne vaudrait t il pas mieux de les regrouper dans un seul controller : Ex: CopyPastController


Seems it doesn't set anything useful if with wrong value build binaries still works :-)


еще раз не усложняйте чтения цикла
```
while (size_Result != 1 && Result_mass[size_Result - 1] == 0)
 {
   size_Result-- ;
 }
```


This patch breaks various extensions which rely on `exxtras_list`. Do you plan to keep compatibility or is there any suggested way to patch the extensions?


Spr: czy "p" nie zależy jakoś od n i m?


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

* https://everythng.stream
* https://everythng.cecaniahcorabelle.now.sh
* https://everythng-git-master.cecaniahcorabelle.now.sh


why delta >= slot->interval_time here and ">" for slot->running state ? combined both delta check as one.


brakuje "znaczka" procent


@manojbhadane
This is not update, that you done in v1.6.1.

you remove this lines in .md file

 Note
This library is using **androidx**, If you face any problems related to AppCompat library make sure you project is updated with **androidx**.
# Download
This library is available in **jitPack** which is the default Maven repository used in Android Studio.
@@ -41,17 +37,6 @@ dependencies {
	 implementation 'com.github.manojbhadane:Holdy:v1.6.1'
}
```
**Step 3.** Enable databinding in your apps module **build.gradle**
```Gradle
android {
	 ...

	dataBinding {
        	enabled true
    	}
}


Successfully aliased the URL <https://cviceni-test-j6dj87vfx.now.sh> to the following aliases.

* https://cviceni-test.historylab.now.sh
* https://cviceni-test-git-master.historylab.now.sh


Successfully aliased the URL <https://vela-store-a16idf8r8.now.sh> to the following aliases.

* https://vela-store.velabikes1.now.sh
* https://vela-store-git-master.velabikes1.now.sh


пишите иногда практичней(это все рекомендации на будущее)
```
 return NegResult ? '-' + Result : Result;
```


передавайте по const ref


такие коментарии лучше вверх перенести оператора


需要优化


Да есть такое дело - warning: control may reach end of non-void function.
Как тут можна написать подругому?


это рекомендация на будещее если делаете new проверяйте на exeption


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

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


как и в функции выше, на будещее применяйте в таких контекстах тернарный оператор


Successfully aliased the URL <https://cviceni-test-3exq8tnwp.now.sh> to the following aliases.

* https://cviceni-test.historylab.now.sh
* https://cviceni-test-git-master.historylab.now.sh


Successfully aliased the URL <https://reasonable-pokedex-r91a725ta.now.sh> to the following aliases.

* https://reasonable-pokedex.davidcorticchiato.now.sh
* https://reasonable-pokedex-git-master.davidcorticchiato.now.sh


const ref


shoooooooo


- Adding random_shuffle algorithm to shuffling the clear message.
- Changing the name EAGLE to Tomahawk


Congrats on your new baby girl @dobrien501


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

* https://coiny.astrolince.now.sh
* https://coiny-git-master.astrolince.now.sh


Can you get runtime cost there as well? Compared to the entire run ?


Successfully aliased the URL <https://nordnet-ui-akuxf7eeh.now.sh> to the following aliases.

* https://nordnet-ui.nordnet1.now.sh
* https://nordnet-ui-git-beta.nordnet1.now.sh


Already working on it :slight_smile:


как и выше в других фуынкциях


Still learning how to navigate GitHub...
1. will there be an install-able release any time soon?
2. Please ensure that the "Shortcut" suffix and Arrow can be removed.
3. One other item is making Icon replacement easier, especially finding them. (Was that in pif or moreicons, where did I see that???)


Il faut penser aussi à déplier la liste (supprimer en base) une fois que le Paste est invoqué sur un objet Copy


Exercício no git


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

* https://xnix.me
* https://xnixme.xueseason.now.sh
* https://xnixme-git-master.xueseason.now.sh


Great, DB upgrade works now!


Successfully aliased the URL <https://reasonable-pokedex-ezd2411ot.now.sh> to the following aliases.

* https://reasonable-pokedex.davidcorticchiato.now.sh
* https://reasonable-pokedex-git-master.davidcorticchiato.now.sh


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

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


test-prof doesn't measure that, but it's not difficult to patch.


this bitch is empty.....
yeeeeeeeeeeeeeet


Учел этот случай.


я думаю что вы немного перемудрили
```
result += quoient;
```


Successfully aliased the URL <https://nordnet-ui-dxv28i6qe.now.sh> to the following aliases.

* https://nordnet-ui.nordnet1.now.sh
* https://nordnet-ui-git-beta.nordnet1.now.sh


I wonder if GetLootRecipientGroup() should be involved too here, in case the loot recipient leaves the party (or is that handled properly already anyway ? )


Delete


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

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


[quote="SamSaffron, post:24, topic:3373"]
My issue though is that the only correct 100% way of creating a post is `create_post` search the spec files for tons of examples. This is the predominate way we create posts in the app, we incredibly rarely do `Post.create!` and the vast majority of time use `PostCreator` .
[/quote]

I have nothing against this and I think that if we can use PostCreator through out we should. Technically, we will also have to run all the background jobs immediately by default in order to get a production accurate post.


Not sure how relevant it is, but this still retains the sams reference.


@peterbud and @Alexpux, I wonder if the hangs are reproducible on gc v8.0.4?


Spr:
- czy "x","y" zależy jakość od długości sekwencji?
- brak oznaczenia złożoności f-cji findPath
- dlaczego podwójne wykresy?


Yes, setting the wrong endian value probably isn't having any effect when the CPU is `x86_64` - presumably meson is overriding with a sane value based on `cpu_family`/`cpu` or just ignoring the supplied value completely when the configured arch only supports `little` endian. It might have an effect on a bi-endian arch such as ARM, but setting `big` endian for `x86_64` would not be valid in which case meson may do the right thing and always uses `little`.

I've pushed a PR which always sets endian to `little` as that's all we need for now (and is unlikely to change any time soon).


KOMENT


Delete освобождает память на которую указывает указатель, а nullptr удаляет сам указатель, чтобы им не было возможности воспользоваться. Вы нам вроде сами говорили так делать. Или я чтото неправильно понял?


see changes


o co chodzi z "substitution +1"


i will give it a try. thanks again!


코드 복사해서 돌려본 결과 일부로 너무 큰 값이나 너무 빠르게 입력하지만 않으면 오류는 그다지 없음
계산식에 오류는 없음


base_tag | master  (LMR for captures not cracking alpha)
You are not testing vs your patch (?)


The code in transaction.py isn't debugging code.  It's a place holder for when we add this to the transaction layer.

What's the issue?


I would change to something like: "Tested old and invalid votes", "screw up" is not exactly nice language 😅


да ладно смешно же было


Fix bug


🔥 Device tests completed (Failed) on TvOS on [Azure DevOps](https://dev.azure.com/devdiv/DevDiv/_build/index?buildId=2661876)(TvOS): [Html Report](http://xamarin-storage//jenkins-results/tests/index.html) 🔥

# Tests failed catastrophically (no summary found)


Šim projektam nevaru vairs pievienot neko, vienkārši nedarbojas. Man profilā ir otrs projekts


@Vizvezdenec
I noticed it just after submit and have already resubmitted. But thanks.


Я убрал передачу по константной ссылке из-за Num_A.erase(0,1) (если число отрицательное удаляет знак)


Можна и так, согласен.


olá. não tenho a resolução pronta. Talvez alguns de meus alunos possa ter em seus repositórios.


I'm not a maintainer, but that doesn't look right.
I'm pretty sure that other tests also want to be executed.


@pyphilia, can we change this to `TITLE` or `SPACE_TITLE`? I want to use the term "ILS" as little as possible.


Successfully aliased the URL <https://now-next-graphql-monorepo-k77505tnh.now.sh> to the following aliases.

* https://now-next-graphql-monorepo.notrab.now.sh
* https://now-next-graphql-monorepo-git-master.notrab.now.sh


@gfro3d , @loryru : ho cambiato l'etichetta "loc" in "top" per seguire le convenzioni di Apertium. È un semplice cambio di etichetta, ma deve essere fatto anche nel dizionario bilingue. In apertium-cat-ita non ho avuto problemi.


this looks wrong here (please revert : )


Is blocks based message require interaction endpoint?


Looks good except the merge didnt allign this correctly