[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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_phased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:3:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:7:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:8:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:21:19:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.R#L21) *warning:* **no visible global function definition for ‘get_states_phased’**
```r
  local_states <- get_states_phased(local_anc)
                  ^~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:27:21:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:34:5:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.R#L34) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(optim_pop_size == FALSE) {
    ^
```
[R/estimate_time_phased.R:41:9:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:48:9:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.R#L48) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(params[[1]] < 2) return(-Inf)
        ^
```
[R/estimate_time_phased.R:49:9:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(params[[2]] < 2) return(-Inf)
        ^
```
[R/estimate_time_phased.R:55:9:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:55:27:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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_phased.R:55:39:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/estimate_time_phased.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:2:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/RcppExports.R#L19) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:18:19:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L18) *warning:* **no visible global function definition for ‘get_states’**
```r
  local_states <- get_states(local_anc)
                  ^~~~~~~~~~
```
[R/unphased_log_likelihood.R:24:21:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L24) *warning:* **no visible global function definition for ‘single_state’**
```r
    seven_states <- single_state(t = local_time, N = local_pop_size, d = di)
                    ^~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:31:5:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) == 1) {
    ^
```
[R/unphased_log_likelihood.R:42:5:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L42) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(t) > 1) {
    ^
```
[R/unphased_log_likelihood.R:44:8:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/unphased_log_likelihood.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    for(i in seq_along(t)) {
       ^
```
[R/util.R:12:5:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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/47d51e1f655f9234dd079e3f6c5192bbb7821a46/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:52:48:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L52) *style:* **Commas should always have a space after.**
```r
  local_anc <- rep(2, length(local_anc_matrix[,1]))
                                               ^
```
[R/util.R:53:37:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L53) *style:* **Commas should always have a space after.**
```r
  homo_0 <- which(local_anc_matrix[,1] == 0 &
                                    ^
```
[R/util.R:54:40:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L54) *style:* **Commas should always have a space after.**
```r
                    (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                       ^
```
[R/util.R:54:64:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L54) *style:* **Commas should always have a space after.**
```r
                    (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                                               ^
```
[R/util.R:55:37:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L55) *style:* **Commas should always have a space after.**
```r
  homo_1 <- which(local_anc_matrix[,1] == 1 &
                                    ^
```
[R/util.R:56:40:](https://github.com/thijsjanzen/junctions/blob/47d51e1f655f9234dd079e3f6c5192bbb7821a46/R/util.R#L56) *style:* **Commas should always have a space after.**
```r
                    (local_anc_matrix[,1] == local_anc_matrix[,2]))
                                       ^
```


można to uprościć do
```
return value.sort((a, b) => {
     return a.name.toLowerCase() > b.name.toLowerCase() ? 1 : -1;
});
```
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator


If the recipient also emits an event `LogReceived`, in which order will the 2 events appear in the log?


checkmate Asus


That's not very informative ;)


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

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

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


dodaj też typy do `a` i `b`


1) Add counter_cache: true in StockItem while defining its belongs_to relationship with Variant. This will fix error
"NoMethodError: undefined method `counter_cache_column' for nil:NilClass"
2) Add changes for spree paperclip config
3) Add changes in checkout order file
4) Remove get_taxons method from private method to avoid undefine method error of get_taxons


tranlate 를 이용해서 변환해보세요.


There is separate route that takes only 1 film from backend (`/movies/{id}`), no need to download all films, as this could take a lot of time, especially while having slow network connection


staraj się zamienić any na jakieś konkretne typy


Now that your contract is safe enough, it is time to refactor it to allow anyone to send to any other 2 people at any time (when not paused in your case). Keep the same safety of course.


No need to create promise, `$http.get` returns promise itself


@negbie thanks for adding q850 stats per target name, direction isn't that critical.


boşukları temizleyelim @profstyle1


Or you can compare their `.toString(10)` and let chai build the error message.


jeśłi chodzi o typ tablicy to ja osobiście wolę zapis `Task[]` zamiast `Array<Task>` 😉


__API Description file syntax error__: Parsing service error (Autogenerated message from apiary.io)


Mmh, what is the difference with:

```javasccript
const [aliceAddress, bobAddress, carolAddress] = accounts;
```


Hello, I'm an author of phoenix and I would like to ask you why you didn't use UNIQUE INDEX for this purpose?

Here is the syntax:
```
$this->table('table')
    ->addColumn('unique_column')
    ->addIndex('unique_column', Index::TYPE_UNIQUE)
```


There is separate route that takes only 1 film from backend (/movies/{id}), no need to download all films, as this could take a lot of time, especially while having slow network connection


No need to create promise, $http.get returns promise itself


Does this pass?


Successfully aliased the URL <https://study-assist-rlsawc5xo.now.sh> to the following aliases.

* https://study-assist.vincentreynaud.now.sh
* https://study-assist-git-master.vincentreynaud.now.sh


tutaj pewna sztuczka z użyciem observables, wyjaśnię o co chodzi z pipe itp ;)
```
    this.taskservice.getTaskListObs()
   .pipe(
      filter((tasks: Task) => t.isDone === true)
   )
  .subscribe((tasksDone: Array<Task>) => {
      this.tasksDone = tasksDone;
    });
```


Instead of looping over every not found IP in the specified Network (could be quite a lot in a for e.g. /16 scenario) range and checking with the netbox api for existence, download a complete list of all IP´s in netbox and check locally, thus minimising the API request and speeding things up a lot.
In my case a /16 net was causing an hour long delay and is now down to sub 1 second.


为啥子类里面的show函数不加virtual？


Hi Ivan,

Odoo support domain="[('id', 'in', categ_ids)]".

Thanks


Are you testing whether is it possible to delete or not?


You probably to name this intermediate variable.


Ah good :)


Successfully aliased the URL <https://next-demo-dnwfc70r2.now.sh> to the following aliases.

* https://next-demo.mccarthey.now.sh
* https://next-demo-git-master.mccarthey.now.sh


lepsze rozwiązanie:
```
   const taskList = TaskArr.map(taskName => {
      return { userId: this.authService.user.uid, name: taskName, created: new Date().toLocaleString(), isDone: false }
   });
```


추가된 메세지 입니다.


Successfully aliased the URL <https://the-news-1k3r44wvb.now.sh> to the following aliases.

* https://the-news.midudev.now.sh
* https://the-news-git-master.midudev.now.sh


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

* https://portfolio.hokit.now.sh
* https://portfolio-git-master.hokit.now.sh


> The previous findIndex implementation was slightly confusing

Sure was.


`const [ accountSender, accountOne ... ] = accounts;`


Please use C99 / C++ style here.

for (int i = 0; ...


`const`.


@rivo
Could you release **tview** according to semver rule?


You could also test the presence of the expected event.


Please use C99 / C++11.

int i = 0;


burayı geri alalım?


Hi I've tried with two e-mail servers, gmail 465 and fastwebnet.it 587 but
no way to connect the server:(so the first step went wrong) even if the
ESP8266 was connected to the network (as in the below serial monitor print)

I've used your "example sketch" where i've only modified the WiFi
connection part just to have more data about the connection to the network.
Below also the libreries used in the skecth (not sure if that can be due to
a not updated version of . WiFiClientSecure.hand ESP8266WiFi.h)
Do you have any suggestion?
Thanks

#include <Base64.h>
#include <WiFiClientSecure.h>
#include <ESP8266WiFi.h>

11:08:10.327 -> connecting to...iPhone pperetta
11:08:11.533 -> ,
11:08:12.046 -> ,
11:08:12.528 -> ,
11:08:13.042 -> ,
11:08:13.523 -> ,
11:08:14.865 -> ,
11:08:15.376 -> ,
11:08:15.376 -> SSID.....iPhone pperetta
11:08:15.376 -> Successsfully connected...
11:08:15.376 -> IP Address allottad to Node MCU172.20.10.2
11:08:15.376 -> MAC Address of ESP....CC:50:E3:56:55:9F
11:08:15.376 -> Mode: STA+AP
11:08:15.376 -> PHY mode: N
11:08:15.376 -> Channel: 1
11:08:15.376 -> AP id: 0
11:08:15.376 -> Status: 5
11:08:15.376 -> Auto connect: 1
11:08:15.376 -> SSID (15): iPhone pperetta
11:08:15.410 -> Passphrase (9): XXXXXX
11:08:15.410 -> BSSID set: 0
11:08:15.410 ->
11:08:16.133 -> SMTP responded that it could not connect to the mail server

Il giorno dom 12 mag 2019 alle ore 10:40 G6EJD <notifications@github.com>
ha scritto:

> Yes on any ESP device the main thing to get right is the server address
> and port number.
>
> Some mail servers have such high levels of security that it may not work
> but these are few.
>
> Monitor the serial port for the server returned messages if there’s a
> problem.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/G6EJD/ESP8266-Sending-Emails/commit/286553cccfc8d6a5421641006020511b7eb74a70#commitcomment-33502470>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMA6DCTI6CQXYI3FCFOQENDPU7JXRANCNFSM4HMJU7EA>
> .
>


The test would look tighter if you tested for a single account.


veritabanını gönderir misin?


Have a look at http://gist.github.com/xavierlepretre/d5583222fde52ddfbc58b7cfa0d2d0a9 or `truffle-assertions`.


Просто комент


pull back


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

* https://portfolio.hokit.now.sh
* https://portfolio-git-master.hokit.now.sh


Always `true`?


great job


Successfully aliased the URL <https://kollavarsham-calendar-uluagcgkae.now.sh> to the following alias.

* https://calendar-now.kollavarsham.org


I'm not sure if this is my problem. But after this change, should we include `<ros/message_traits.h>` and `<ros/serialization.h>` in `ros_introspection.hpp`?

`catkin_make` builds fine. But `catkin_make_isolated` or `catkin build` only work after including those headers. I'm not familiar with the differences of those command though.

Thank you again!


So it starts by not running, and we have to call `setRunning`. Perhaps add a constructor argument?


ok


Can you have a look at the `SafeMath` library?


it("should expect equality" function() {


이미지태그 소스 경로를 절대경로로 하면 교수님컴퓨터에서는 이미지가 x박스로 뜰껄?
src속성을 상대경로인 `src="./resume.png"`  라고 고치면 폴더 경로가 바뀌더라도 잘나옴.


on-premisses,

Typo.


Deployment failed with the following error:

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


add_button_id = 'qty_plus_cartline_change_'
for i in wonderful:
    unique_id = i
    buttonElem = 'browser.find_element_by_id'+(add_button_id + unique_id)
    print (buttonElem)
    #buttonElem.click()


@JuliaRegistrator register()


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

Created multidev environment [pr-18](https://dashboard.pantheon.io/sites/840a397a-5241-40be-9dbb-0029dafe6d18#pr-18) for democogroup.


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

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.1.3 -m "<description of version>" 877446c08caf1e694a6e9c5fb590bfd816d4814f
git push origin v0.1.3
```


yay


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

Created multidev environment [pr-1](https://dashboard.pantheon.io/sites/565bc579-7d3d-466e-babf-4854eec1f5b5#pr-1) for support-wallboard.


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

Created multidev environment [pr-6](https://dashboard.pantheon.io/sites/5ddf1407-7330-4c2e-8e93-2964116eb32c#pr-6) for taoti-circleci-mark.


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

Created multidev environment [pr-6](https://dashboard.pantheon.io/sites/460c2dd7-cd1b-4a7a-9eb0-1f900ed4f9ce#pr-6) for dwayne-stanford-demo-site.


Mass-marketing (website) is such a good tool, they have unique features that competitors do not have, [atompark resources](https://www.atompark.com/bulk-email-service/) provide a stream of target audiences and high-quality hot leads, thanks to them for that.


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

Created multidev environment [pr-4](https://dashboard.pantheon.io/sites/a49d274c-9df4-40b7-9332-190725ad5b15#pr-4) for elcbooking.


TeamCity Gribble ORM :: Deploy [Build 1.6.175.0](http://build.mikeobrien.net/viewLog.html?buildId=4006&buildTypeId=gribble&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 477, ignored: 2 Build time: 00:01:23


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

Created multidev environment [pr-6](https://dashboard.pantheon.io/sites/9176ee83-8b5b-4230-8a44-89365dbc4a72#pr-6) for brookgreend8v2.


Successfully aliased the URL <https://jobify-1lmyauhid.now.sh> to the following aliases.

* https://jobify.rafaelnetto.now.sh
* https://jobify-git-master.rafaelnetto.now.sh


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

Created multidev environment [pr-80](https://dashboard.pantheon.io/sites/5cbd78f8-3a96-492a-beb0-f892421708d8#pr-80) for gk-8.


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

Created multidev environment [pr-1](https://dashboard.pantheon.io/sites/cb531a06-a70a-4927-b3ab-5250568b33be#pr-1) for dwayne-stanford-drupal8-2019.


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

Created multidev environment [pr-8](https://dashboard.pantheon.io/sites/bd8bab1d-9fc1-4ed9-8ccf-9224a11e02d8#pr-8) for usittorg.


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

Created multidev environment [pr-15](https://dashboard.pantheon.io/sites/e94a9b80-cf7d-42bd-ac20-14243d3253d7#pr-15) for sage-st-trading-app.


New-Feature-CBVAV-Mods (rraustad) - x86_64-MacOS-10.13-clang: OK (2405 of 2405 tests passed, 4 test warnings)

Messages:\n
 * 4 tests had: BND diffs.

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


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

Created multidev environment [pr-2](https://dashboard.pantheon.io/sites/bdcf9fad-8f4d-4993-bedc-e2a762456ca2#pr-2) for jc-marketing-site.


It at least now says it is caching something, so that is promising:

https://ci.appveyor.com/project/jdblischak/workflowr/builds/24514738#L28663

And it recognized that a cache was available when the commit was rebuilt after rebasing onto master. It was invalidated this time, but will presumably work going forward on this same branch.

https://ci.appveyor.com/project/jdblischak/workflowr/builds/24518144?fullLog=true#L10


where to define VENDOR_EDIT??


Successfully aliased the URL <https://library-of-silas-opybrvwdz.now.sh> to the following aliases.

* https://library.si
* https://library-of-silas.joshb.now.sh
* https://library-of-silas-git-master.joshb.now.sh


苟离人


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

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


@ss23 when I compiled your additions for the paradox cloning they are not showing up in the commands / help.  can you add them to the main libraries?


In the original code the `console.log` outputs `>>> position:  { coords: { latitude: 10, longitude: 10 } }` which verifies that the mock code was called.

I tried out the new code you suggested and the reason `element.position` always returns `undefined` is because `position` does not have the `@api` decorator so it's not accessible directly from the outside (the test code).

The original Stackexchange post mentioned getting an error, which makes me wonder what other code was in your original repro that's different from this example. Is there any way you can reproduce the original issue in this project? Or if you have a project I can clone and debug myself that would help as well.


Здравствуйте.

Исправила 5 дз, ссылка на 6:
https://github.com/mariakhakhova/hello_world/blob/master/Homework_6.ipynb

С уважением, Хахова Мария

сб, 27 апр. 2019 г. в 21:05, illarionovEA <notifications@github.com>:

> В задании с кругом для большей наглядности попробуй смоделировать больше
> точек (1000). Они окажутся скученными в центре круга (это и сейчас видно).
> Почему так? как все же получить равномерное?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/mariakhakhova/hello_world/commit/b4a1fb51a775697162e23e73968c1c2cbfb35549#commitcomment-33333400>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ALLUWZ6JEVG4YDELLJWOYJLPSSIYNANCNFSM4HI4XS5Q>
> .
>


The following version does not have "lf paradox clone" It looks like you did the work but isn't wired up to the main libraries app/libraries.

proxmark3> hw version
Prox/RFID mark3 RFID instrument
bootrom: master/v3.1.0-68-g0b6efd0-suspect 2019-05-13 23:55:38
os: /-suspect 2019-05-13 23:43:15

proxmark3> lf paradox
help             This help
demod            Demodulate a Paradox FSK tag from the GraphBuffer
read             Attempt to read and Extract tag data from the antenna
proxmark3> lf paradox clone
help             This help
demod            Demodulate a Paradox FSK tag from the GraphBuffer
read             Attempt to read and Extract tag data from the antenna
proxmark3>


proxmark3> lf paradox
help             This help
demod            Demodulate a Paradox FSK tag from the GraphBuffer
read             Attempt to read and Extract tag data from the antenna
proxmark3> lf paradox clone
help             This help
demod            Demodulate a Paradox FSK tag from the GraphBuffer
read             Attempt to read and Extract tag data from the antenna
proxmark3>


😄 😄 😄 this progression/escalation is funny


Deployment failed with the following error:

~~~
The supplied alias "https://diceroll.now.sh" is not a valid hostname
~~~


So I know the setting is noStencilShaderRead, but since this affects tiling (even without HTILE), does this not affect stencil shader writes too?


Maker Faire 2019 @ Branksome Hall Asia


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

* https://uncss-online.com
* https://uncssonline.pajasevi.now.sh
* https://uncssonline-git-master.pajasevi.now.sh


你應該使用 document.getElementById


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


the python files are just moved from one folder to another, otherwise they remain unchanged.


This works for some recipes (e.g. bzip2 docopt, gsl_microsoft, zilb, OpenSSL):

https://ci.appveyor.com/project/acgetchell/cdt-plusplus/build/job/mt2i4lw8hkhkp2sb?fullLog=true#L4202

But not others (boost):

https://ci.appveyor.com/project/acgetchell/cdt-plusplus/build/job/mt2i4lw8hkhkp2sb?fullLog=true#L7162


Week 11 update


FYI, I'm finishing up a major rebuild of Recon-ng that will upgrade the framework to Python 3 and introduce a module marketplace that decouples modules from the core framework. Wanted to give you a heads up so you don't waste a bunch of time. If you'd like to contribute to maintaining and reviewing modules, the marketplace repo is currently at https://github.com/lanmaster53/recon-ng-modules.


fix #81


- React has been updated from v16.5.2 to v16.8.6
- New action types:
  - `GUILD_PREMIUM_SUBSCRIPTIONS_COOLDOWN_FETCH_SUCCESS`
  - `MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING`
  - `MEDIA_ENGINE_SOUNDSHARE_FAILED`
  - `MEDIA_ENGINE_SOUNDSHARE_FAILURE_DISMISS`
  - `SOUNDSHARE_FAILED`
- New endpoint: `GUILD_PREMIUM_SUBSCRIPTION_COOLDOWN: "/users/@me/guilds/premium/subscriptions/cooldown"`
- New constant:
```js
MediaEngineHookTypes = {
    SOUND: null,
    VIDEO: null
}
```

## New strings
- `NOTICE_SOUNDSHARE_FAILED: "Hey, something went wrong and we couldn't stream the sound from your game."`
- `PREMIUM_GUILD_COOLDOWN_AVAILABLE_COUNTDOWN: "Your boost will be available in **{days, number}d {hours, number}h {minutes, number}m**"`


@tpcarman

Here is the output of Get-DrsClusterGroup:

PS C:\windows\system32> Get-DrsClusterGroup

Name            Cluster         GroupType   Member
----            -------         ---------   ------
NSXControllers  M2-DSC01-GEN01  VMGroup
Production V... M2-DSC01-GEN01  VMGroup
Production H... M2-DSC01-GEN01  VMHostGroup {dsc1vs21.gci.com, dsc1vs22.gci.com, dsc1vs18.gci.com}


{this.state.loading===true?<ResetPwModal history={this.props.history} timeover = {this.state.timeover}/>:null}
이부분을
{this.state.loading === true ? <ResetPwModal /> : null} 으로 변경해보고 알려주세요~ :)


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

Created multidev environment [ci-2](https://dashboard.pantheon.io/sites/773d21c5-6e8c-460c-a1bb-c9f07cbab430#ci-2) for mm-theme-demo.


요기요


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

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


Deployment failed with the following error:

~~~
The property `builds` is only allowed on Now 2.0 — please upgrade: https://zeit.co/upgrade
~~~


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

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


Could you please tell me how to get  raw cookies or nestscape format ? I can only get cookies which are too long by Google Chrome.


## Jenkins Build Summary

Built from [this commit](https://github.com/ximinez/rippled/commit/e415918ce51409c1ee8b61d3d165f897863d6c7e)

Built at __20190514 - 00:36:57__

### Test Results

Build Type | Log | Result | Status
---------- | --- | ------ | ------
msvc.Debug | [console](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//console) | no test results, t: n/a [BAD EXIT] | FAIL :red_circle:
gcc.Release
-Dassert=ON,
MANUAL_TESTS=true | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Release_Dassert_ON_MANUAL_TESTS_true.txt) | 915 cases, 820 failed, t: 5m9s | FAIL :red_circle:
docs,
TARGET=docs | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/docs_TARGET_docs.txt) | 1 cases, 0 failed, t: 0m1s | PASS :white_check_mark:
gcc.Debug
-Dcoverage=ON,
TARGET=coverage_report,
SKIP_TESTS=true | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug_Dcoverage_ON_TARGET_coverage_report_SKIP_TESTS_true.txt) | 1171 cases, 568 failed, t: 844s | FAIL :red_circle:
clang.Debug | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/clang.Debug.txt) | 1171 cases, 568 failed, t: 2m57s | FAIL :red_circle:
msvc.Debug,
NINJA_BUILD=true | [console](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//console) | no test results, t: n/a [BAD EXIT] | FAIL :red_circle:
gcc.Debug | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug.txt) | 1171 cases, 568 failed, t: 3m6s | FAIL :red_circle:
clang.Debug
-Dunity=OFF | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/clang.Debug_Dunity_OFF.txt) | 1170 cases, 568 failed, t: 8m41s | FAIL :red_circle:
rpm | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/rpm.txt) | no test results, t: n/a [BAD EXIT] | FAIL :red_circle:
clang.Release
-Dassert=ON | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/clang.Release_Dassert_ON.txt) | 1171 cases, 568 failed, t: 4m54s | FAIL :red_circle:
gcc.Release
-Dassert=ON | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Release_Dassert_ON.txt) | 1171 cases, 568 failed, t: 5m7s | FAIL :red_circle:
gcc.Debug
-Dunity=OFF | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug_Dunity_OFF.txt) | 1170 cases, 568 failed, t: 11m34s | FAIL :red_circle:
msvc.Debug
-Dunity=OFF | [console](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//console) | no test results, t: n/a [BAD EXIT] | FAIL :red_circle:
gcc.Debug
-Dstatic=OFF | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug_Dstatic_OFF.txt) | 1171 cases, 568 failed, t: 3m3s | FAIL :red_circle:
gcc.Debug
-Dstatic=OFF -DBUILD_SHARED_LIBS=ON | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug_Dstatic_OFF_DBUILD_SHARED_LIBS_ON.txt) | 1171 cases, 568 failed, t: 3m3s | FAIL :red_circle:
msvc.Release | [console](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//console) | no test results, t: n/a [BAD EXIT] | FAIL :red_circle:
gcc.Debug,
NINJA_BUILD=true | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/gcc.Debug_NINJA_BUILD_true.txt) | 1171 cases, 568 failed, t: 2m54s | FAIL :red_circle:
clang.Debug
-Dunity=OFF -Dsan=address,
PARALLEL_TESTS=false,
DEBUGGER=false | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/clang.Debug_Dunity_OFF_Dsan_address_PARALLEL_TESTS_false_DEBUGGER_false.txt) | 1170 cases, 568 failed, t: 11m23s | FAIL :red_circle:
clang.Debug
-Dunity=OFF -Dsan=undefined,
PARALLEL_TESTS=false | [logfile](http://ci.ops.ripple.com/job/ed-rippled/job/fund-flags/9//artifact/clang.Debug_Dunity_OFF_Dsan_undefined_PARALLEL_TESTS_false.txt) | 1170 cases, 568 failed, t: 11m44s | FAIL :red_circle:


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

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


Why don’t use std::vector? Any reason to introduce a new type?


@mosh-hamedani @hoangthan
help me please
I got this error:
Severity	Code	Description	Project	File	Line	Suppression State
Error		The item "App_Start\BundleConfig.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter.	Vidly

![Captura de pantalla (14)](https://user-images.githubusercontent.com/50602641/57662865-78f47200-75bf-11e9-992f-e802f40e8c1a.png)


식물 추천 네비게이션 바 링크 달고 수정 계획중


Build version: __`0.10.0-renovate/node-8.16.768`__ :crossed_fingers: [`renovate/node-8.16`](https://github.com/streamich/ci-scripts/tree/renovate/node-8.16) on [*CircleCI*](https://circleci.com/gh/streamich/ci-scripts/768) :tada:


此时一会机块乐路过@up主


Aliasing failed with the following error:

~~~
Error! We could not alias since the domain taswellipsum.com could not be verified due to the following reasons:
~~~


Build version: __`0.10.0-renovate/node-8.16.1188`__ :crossed_fingers: [`renovate/node-8.16`](https://github.com/streamich/ci-scripts/tree/renovate/node-8.16) on [*Travis*](https://travis-ci.org/streamich/ci-scripts/builds/532065599) :tada:


Oh, I remember this!


Successfully aliased the URL <https://componentsstatus-boardio-bvd5lib7j.now.sh> to the following aliases.

* https://components.status-board.io
* https://componentsstatus-boardio.status-board1.now.sh
* https://componentsstatus-boardio-git-master.status-board1.now.sh


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

Created multidev environment [pr-1](https://dashboard.pantheon.io/sites/773d21c5-6e8c-460c-a1bb-c9f07cbab430#pr-1) for mm-theme-demo.


i need that file , how i get it?


No longer needed.


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

* https://jameswlane.com
* https://www.jameswlane.com
* https://jameswlanecom.jameswlane.now.sh
* https://jameswlanecom-git-master.jameswlane.now.sh


Successfully aliased the URL <https://react-pure-loaders-3bh54ig2s.now.sh> to the following aliases.

* https://react-pure-loaders.jameswlane.now.sh
* https://react-pure-loaders-git-master.jameswlane.now.sh


ggdfrg


Test-revert-of-Implement-correct-economizer-action-for-cycling-air-systems-from-16-years-ago (rraustad) - x86_64-MacOS-10.13-clang: OK (2360 of 2405 tests passed, 57 test warnings)

Messages:\n
 * 93 tests had: EIO diffs.
 * 15 tests had: ERR diffs.
 * 43 tests had: ESO big diffs.
 * 21 tests had: MTR big diffs.
 * 13 tests had: Table big diffs.
 * 51 tests had: ESO small diffs.
 * 57 tests had: MTR small diffs.
 * 45 tests had: Table small diffs.
 * 1 test had: AUD diffs.

Failures:\n

regression Test Summary
 * Passed: 610
 * Failed: 45

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


Deployment failed with the following error:

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


Build version: __`3.2.0-master.370`__ :crossed_fingers: [`master`](https://github.com/streamich/md-mdast/tree/master) on [*CircleCI*](https://circleci.com/gh/streamich/md-mdast/370) :tada:


Build version: __`3.2.0-renovate/node-8.16.369`__ :crossed_fingers: [`renovate/node-8.16`](https://github.com/streamich/md-mdast/tree/renovate/node-8.16) on [*CircleCI*](https://circleci.com/gh/streamich/md-mdast/369) :tada:


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

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


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

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


When initialising a `std::vector` from a `std::istream` (at least when restricted to C++98, which OSG seems to be) you can either:
* Set the size to the required length, and then use the underlying `char *`. This default-constructs a bunch of `char`s, which then get immediately overwritten, so is slower than the preexisting approach.
* Use a `std::istreambuf_iterator` to construct the vector. If you don't want to load the whole stream into the vector, you need to use `std::advance(itr, count)` to create the end iterator as there's no `operator+`, and that's equivalent to calling the iterator's `operator++` a bunch of times in a for loop, which also makes it slower than the preexisting approach.

I didn't want to make the TGA reader any slower if avoidable.

Also, and this is more minor, had I used a `std::vector` for the buffer the function returned, I'd have had to change other parts of the file as there's no way to keep the underlying array around after the vector is destroyed, so I'd need to return the vector instead of just a `char *`


Dodanie protokolu selektywnego


Don't uses alpha versions in packages.
This has broken WELD package.


> if you remove this it will be included in the tree if there is already compiled the binaries cause compilation error because the same one called twice is executed
> to fix you have to manually remove the folder

Not exactly sure what you're trying to say. This update is so that people can build bootctrl from source rather than including prebuilt binaries. Prebuilt binaries can still be included in the recovery ramdisk by placing in the appropriate folder in recovery/root in the device tree if building from source isn't preferred. This patch by itself shouldn't break anything, unless people had added this repo already via other means, which they should now be able to remove.


Hi i am developing the app


Что делает puts в user?


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

Created multidev environment [ci-169](https://dashboard.pantheon.io/sites/840a397a-5241-40be-9dbb-0029dafe6d18#ci-169) for democogroup.


Will complete for my Works HTML file tomorrow!


Значения которые касаются Карты, что они делают тут?
Используй `Card::DEFAULT_VALUE` и т.д


Only for Teaching, don't put on production.


remember configure database location, besides user and password.


Этот метод должен быть в User а не тут


Remember configure database location, besides user and password.


Keep queries only one line.


Будет `card.get_card_score(card)`?
сделай что бы было просто `card.score` не понимаю зачем передавать объект в котором должно все это итак выполняться
```ruby
  def score
    if %w[J Q K].include? value
      DEFAULT_VALUE
    elsif value == 'A'
      ACE_MIN_VALUE
    else
      value.to_i
    end
  end
```


Все это должно быть в  User, в методе score


![](https://github.trello.services/images/mini-trello-icon.png) [Preparar a tela de cadastro de anamnese](https://trello.com/c/J7yCPv4y/17-preparar-a-tela-de-cadastro-de-anamnese)


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

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


Мне приходится иногда по два раза нажимать получить карту, что бы карты открылись, а передачу хода аж 3 раза делать, проверь


@JuliaRegistrator register()


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

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

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