[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L11) *style:* **Variable and function name style should be snake_case.**
```r
calc_k <- function(N = Inf,
                   ^
```
[R/calc_K.R:12:20:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L12) *style:* **Variable and function name style should be snake_case.**
```r
                   R = Inf,
                   ^
```
[R/calc_K.R:13:20:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L13) *style:* **Variable and function name style should be snake_case.**
```r
                   H_0 = 0.5,
                   ^~~
```
[R/calc_K.R:14:20:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L14) *style:* **Variable and function name style should be snake_case.**
```r
                   C = 1) {
                   ^
```
[R/calc_K.R:16:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L16) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L19) *style:* **Variable and function name style should be snake_case.**
```r
    K <- H_0 * R
    ^
```
[R/calc_K.R:23:5:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L23) *style:* **Variable and function name style should be snake_case.**
```r
    K <- H_0 * C * 2 * N
    ^
```
[R/calc_K.R:27:5:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calc_K.R#L27) *style:* **Variable and function name style should be snake_case.**
```r
    K <- Inf
    ^
```
[R/calculate_error.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L15) *style:* **Variable and function name style should be snake_case.**
```r
time_error <- function(J = NA,
                       ^
```
[R/calculate_error.R:16:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L16) *style:* **Variable and function name style should be snake_case.**
```r
                       N = Inf,
                       ^
```
[R/calculate_error.R:17:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
                       R = Inf,
                       ^
```
[R/calculate_error.R:18:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L18) *style:* **Variable and function name style should be snake_case.**
```r
                       H_0 = 0.5,
                       ^~~
```
[R/calculate_error.R:19:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L19) *style:* **Variable and function name style should be snake_case.**
```r
                       C = 1,
                       ^
```
[R/calculate_error.R:24:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L24) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_error.R#L30) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if ( relative) return(  error)
                        ^
```
[R/calculate_MAT.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_MAT.R#L12) *style:* **Variable and function name style should be snake_case.**
```r
calculate_mat <- function(N = Inf,
                          ^
```
[R/calculate_MAT.R:13:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_MAT.R#L13) *style:* **Variable and function name style should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_MAT.R:14:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_MAT.R#L14) *style:* **Variable and function name style should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_MAT.R:15:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_MAT.R#L15) *style:* **Variable and function name style should be snake_case.**
```r
                          C = 1) {
                          ^
```
[R/calculate_MAT.R:20:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_MAT.R#L20) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L13) *style:* **Variable and function name style should be snake_case.**
```r
estimate_time <- function(J = NA,
                          ^
```
[R/calculate_time.R:14:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L14) *style:* **Variable and function name style should be snake_case.**
```r
                          N = Inf,
                          ^
```
[R/calculate_time.R:15:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L15) *style:* **Variable and function name style should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_time.R:16:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L16) *style:* **Variable and function name style should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_time.R:17:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
                          C = 1) {
                          ^
```
[R/calculate_time.R:28:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/calculate_time.R#L28) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param marker_distribution A vector containing the position of all markers in Morgan.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:7:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:8:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:12:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' J <- number_of_junctions_markers(N = 100, H_0 = 0.5, t = 200, marker_distribution = markers)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:18:35:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L18) *style:* **Variable and function name style should be snake_case.**
```r
estimate_time_markers <- function(J = NA,
                                  ^
```
[R/estimate_time_markers.R:19:35:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L19) *style:* **Variable and function name style should be snake_case.**
```r
                                  N = Inf,
                                  ^
```
[R/estimate_time_markers.R:20:35:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L20) *style:* **Variable and function name style should be snake_case.**
```r
                                  H_0 = 0.5,
                                  ^~~
```
[R/estimate_time_markers.R:34:71:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_markers.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  fitted <- stats::optimize(to_fit, interval = c(lower_lim, upper_lim) )
                                                                      ^
```
[R/estimate_time_phased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L2) *style:* **functions should have cyclomatic complexity of less than 15, this has 49.**
```r
get_prob_from_matrix_phased <- function(left, right, p, P) {
^
```
[R/estimate_time_phased.R:2:57:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L2) *style:* **Variable and function name style should be snake_case.**
```r
get_prob_from_matrix_phased <- function(left, right, p, P) {
                                                        ^
```
[R/estimate_time_phased.R:108:19:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L108) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_phased.R:122:23:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L122) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_phased.R:122:32:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L122) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_phased.R:125:10:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L125) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( log(focal_prob))
         ^
```
[R/estimate_time_phased.R:129:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L129) *style:* **Variable and function names should not be longer than 30 characters.**
```r
get_cond_prob_vector_phased_inf <- function(info_vector,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:137:19:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L137) *warning:* **no visible global function definition for ‘single_state_inf’**
```r
  seven_states <- single_state_inf(local_time, d = di)
                  ^~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:151:23:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L151) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_phased.R:151:32:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L151) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_phased.R:154:10:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L154) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( log(focal_prob))
         ^
```
[R/estimate_time_phased.R:158:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L158) *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:159:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L159) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector using labels indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (label = 1), homozygous for the second ancestor (label = 2), heterozygous [0,1] (label = 3) or heterozygous [1, 0] (label = 4).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:163:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L163) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:164:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L164) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:165:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L165) *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:200:11:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L200) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/estimate_time_phased.R:207:58:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L207) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/estimate_time_phased.R:257:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L257) *style:* **Lines should not be more than 80 characters.**
```r
#' estimates the time since admixture, given unphased ancestry data and assuming infinite population size.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:258:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L258) *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:259:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L259) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector using labels indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (label = 1), homozygous for the second ancestor (label = 2), heterozygous [0,1] (label = 3) or heterozygous [1, 0] (label = 4).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:262:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L262) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:263:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L263) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:296:11:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L296) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/estimate_time_phased.R:303:58:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_phased.R#L303) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/estimate_time_unphased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L2) *style:* **functions should have cyclomatic complexity of less than 15, this has 28.**
```r
get_prob_from_matrix <- function(left, right, p, P) {
^
```
[R/estimate_time_unphased.R:2:50:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L2) *style:* **Variable and function name style should be snake_case.**
```r
get_prob_from_matrix <- function(left, right, p, P) {
                                                 ^
```
[R/estimate_time_unphased.R:12:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                       ^
```
[R/estimate_time_unphased.R:12:43:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                                          ^
```
[R/estimate_time_unphased.R:18:22:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L18) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- p * q * ( p * q * P[3] +
                     ^
```
[R/estimate_time_unphased.R:35:24:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (q ^ 2) * ( P[1] + P[4] + P[7]) +
                       ^
```
[R/estimate_time_unphased.R:88:19:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L88) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_unphased.R:102:23:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L102) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_unphased.R:102:32:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L102) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_unphased.R:105:12:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L105) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    return( log(focal_prob))
           ^
```
[R/estimate_time_unphased.R:160:11:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L160) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/estimate_time_unphased.R:167:58:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/estimate_time_unphased.R#L167) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/number_of_junctions_backcross.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_backcross.R#L10) *style:* **Variable and function name style should be snake_case.**
```r
number_of_junctions_backcross <- function(H_0 = 0.5,
                                          ^~~
```
[R/number_of_junctions_backcross.R:11:43:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_backcross.R#L11) *style:* **Variable and function name style should be snake_case.**
```r
                                          C = 1,
                                          ^
```
[R/number_of_junctions_di.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_di.R#L12) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_di.R#L13) *style:* **Variable and function name style should be snake_case.**
```r
                                   H_0 = 0.5,
                                   ^~~
```
[R/number_of_junctions_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_markers.R#L20) *style:* **Variable and function name style 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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions_markers.R#L21) *style:* **Variable and function name style should be snake_case.**
```r
                                        H_0 = 0.5,
                                        ^~~
```
[R/number_of_junctions_markers.R:32:27:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions.R#L13) *style:* **Variable and function name style should be snake_case.**
```r
number_of_junctions <- function(N = Inf,
                                ^
```
[R/number_of_junctions.R:14:33:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions.R#L14) *style:* **Variable and function name style should be snake_case.**
```r
                                R = Inf,
                                ^
```
[R/number_of_junctions.R:15:33:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions.R#L15) *style:* **Variable and function name style should be snake_case.**
```r
                                H_0 = 0.5,
                                ^~~
```
[R/number_of_junctions.R:16:33:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions.R#L16) *style:* **Variable and function name style should be snake_case.**
```r
                                C = 1,
                                ^
```
[R/number_of_junctions.R:28:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/number_of_junctions.R#L28) *style:* **Variable and function name style should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/optim_limits.R:5:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/optim_limits.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param calc_func function to calculate the time, should accept two arguments: upper, lower and should return a stats::optimize object with two properties: $minimum and $objective
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/optim_limits.R:6:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/optim_limits.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param iterations number of times the boundaries should be adjusted to obtain an estimate that is not close to the boundaries. After this number of iterations is exceeded, NA is returned
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/phased_log_likelihood.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the log likelihood of observing the phased data, given the population size, initial heterozygosity and time since admixture
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:3:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/phased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:38:11:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/phased_log_likelihood.R#L38) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/phased_log_likelihood.R:45:58:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/phased_log_likelihood.R#L45) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_backcrossing.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' @return List with five entries: average_junctions: average number of junctions over time, detected_junctions: average number of detected junctions, given the markers. markers: vector with the locations of the molecular markers, junction_distribution: distribution of junctions per time step average_heterozygosity: average heterozygosity.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_fin_chrom.R#L22) *style:* **Variable and function name style should be snake_case.**
```r
                           R = 100) {
                           ^
```
[R/sim_inf_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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:12:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_unphased.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' @return a tibble with five columns: [time, individual, marker location, ancestry chromosome 1, ancestry chromosome 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_with_error.R:1:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Individual Based Simulation of the accumulation of junctions, given phasing error
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_with_error.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.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. Phased data is
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_with_error.R:3:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' generated using a user-provided error rate. Ancestry on both chromosomes of 10 randomly sampled individuals per generations is
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_with_error.R:8:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L8) *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_with_error.R:9:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L9) *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_with_error.R:10:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L10) *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_with_error.R:15:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L15) *style:* **Lines should not be more than 80 characters.**
```r
#' @param error_rate fraction of markers that are erroneously phased (e.g. swapped)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_with_error.R:16:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/sim_phased_with_error.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' @return a tibble with five columns: [time, individual, marker location, ancestry chromosome 1, ancestry chromosome 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/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/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/unphased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:34:11:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/unphased_log_likelihood.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/unphased_log_likelihood.R:41:58:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/R/unphased_log_likelihood.R#L41) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[tests/testthat/test-equations.R:11:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-equations.R#L11) *style:* **Variable and function name style should be snake_case.**
```r
  A <- is.infinite(v3)
  ^
```
[tests/testthat/test-equations.R:18:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-equations.R#L18) *style:* **Variable and function name style should be snake_case.**
```r
  J <- junctions::number_of_junctions(N = 100, R = 1000,
  ^
```
[tests/testthat/test-marker_dist.R:4:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-marker_dist.R#L4) *style:* **Variable and function name style should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:16:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-marker_dist.R#L16) *style:* **Variable and function name style should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:17:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-marker_dist.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:60:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-marker_dist.R#L60) *style:* **Variable and function name style should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:61:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-marker_dist.R#L61) *style:* **Variable and function name style should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-phased-error.R:53:64:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-phased-error.R#L53) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  expected_heterozygosity <- 2 * 0.5 * 0.5 * (1 - 1 / (2 * 100) ) ^ 200
                                                               ^
```
[tests/testthat/test-sims.R:4:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L4) *style:* **Variable and function name style should be snake_case.**
```r
  R <- 100 #chromosome size
  ^
```
[tests/testthat/test-sims.R:5:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L5) *style:* **Variable and function name style should be snake_case.**
```r
  N <- 100 #population size
  ^
```
[tests/testthat/test-sims.R:6:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L6) *style:* **Variable and function name style should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```
[tests/testthat/test-sims.R:7:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L7) *style:* **Variable and function name style should be snake_case.**
```r
  C <- 1 #number of recombinations per meiosis
  ^
```
[tests/testthat/test-sims.R:29:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L29) *style:* **Variable and function name style should be snake_case.**
```r
  N <- 50 #population size
  ^
```
[tests/testthat/test-sims.R:30:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L30) *style:* **Variable and function name style should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```
[tests/testthat/test-sims.R:31:3:](https://github.com/thijsjanzen/junctions/blob/d0bc6e6def93cb06defe3e797ab0b223b99072d7/tests/testthat/test-sims.R#L31) *style:* **Variable and function name style should be snake_case.**
```r
  C <- 1 #number of recombinations per meiosis
  ^
```


Successfully deployed to following URLs:

* https://zenunu-e0syv0739.now.sh
* https://zenunu.now.sh
* https://zenunu.dtox-consulting.now.sh
* https://zenunu-git-master.dtox-consulting.now.sh


<!DOCTYPE html>

<title>WK0 CJWeaver</title>

Welcome!<

Cynthia Weaver

Web Programming 1

  Teaching English Language Arts to Middle School Students

Summiting Blood Mountain on the Appalachian Trail

Programming a First Web Page  alt= "pulling out hair"

Rise to the Challenge

Live with Passion

Never Give Up!


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


working on it


Successfully deployed to following URLs:

* https://strongly-client-bhzbyiilc.now.sh
* https://strongly-client.now.sh
* https://strongly-client.caco0830.now.sh
* https://strongly-client-git-master.caco0830.now.sh


Successfully deployed to following URLs:

* https://n3-lh70adzbn.now.sh
* https://n3-omega.now.sh
* https://n3.0o.now.sh
* https://n3-git-master.0o.now.sh


> @merge: board config should look like [that](https://gitlab.com/tlaurion/heads/blob/PrivacyBeast_X230_QubesOS_Certified_thin-provisioning-tools/boards/x230-libremkey/x230-libremkey.config#L44)

I was pointing to the lowest part, to compare with the [x230.config](https://github.com/merge/heads/blob/4cbab95691d169aa4d7e52f27717be5a5a7fddcb/boards/x230/x230.config#L38).

By including a valid IFD and ME, we can now produce x230-top.rom and x230-bottom.rom rom from coreboot.rom. The user can now externally flash both chips at once and remove the need to have a x230-flash board configuration. (Resolving an old debate).


@yhzhang1, I'm done.


Successfully deployed to following URLs:

* https://seunghodev-ihni0ldqf.now.sh
* https://seungho.dev
* https://seunghodev.niceb5y.now.sh
* https://seunghodev-git-master.niceb5y.now.sh


Successfully deployed to following URLs:

* https://next-app-k3hfac6gj.now.sh
* https://next-app.chengyucai.now.sh
* https://next-app-git-develop.chengyucai.now.sh


This is the original  file


![Difference between blocks](https://raw.githubusercontent.com/jwunderl/test/e1afbed6a9c667571b8dbef5d48c334488d610c0/.github/makecode/blocksdiff.png)


Successfully deployed to following URLs:

* https://reactgraphqlecommstore-1hik3ijp3.now.sh
* https://reactgraphqlecommstore.super8989.now.sh
* https://reactgraphqlecommstore-git-master.super8989.now.sh


if (window.confirm(message)) {


Successfully deployed to following URLs:

* https://597w9uun3-ob1hhb7uk.now.sh
* https://johno.com
* https://git-master.johno1.now.sh


Successfully deployed to following URLs:

* https://me-e8xkjl0gj.now.sh
* https://vararu.org
* https://me.tvararu.now.sh
* https://me-git-master.tvararu.now.sh


Successfully deployed to following URLs:

* https://next-ts-boilerplate-pcqfa2epo.now.sh
* https://next-ts-boilerplate.vararu.org
* https://next-ts-boilerplate.tvararu.now.sh
* https://next-ts-boilerplate-git-master.tvararu.now.sh


Should this specify to the left or right of the main stinger video?


checking


The thing is for deleted posts or for posts which we can't access Discourse returns 403: Forbidden. In cases like this we should continue with the next post and not try again for the same post.


Maybe `get_interface_x()` would be enough? I think most would associate the _x already with a position value?


groceries data set for Association rules


Perhaps you could be slightly more verbose here. Something like
"There is a nasty bug with Behat-testing this theme that the footer is not displayed until the settings of the theme are stored manually. It seems not to be sufficient to just rely on the default settings being stored during the installation of the theme. Until we find the root of this bug, we circumvent it by setting the brand color manually and within this process making sure that all settings are really stored to the database."


try using the $ string:
```
Console.WriteLine($"\nInputted Values: {height}m, {weight}kg.");
```


Successfully deployed to following URLs:

* https://nteract-site-gv8ew4vbn.now.sh
* https://nteract.io
* https://nteract-site.nteract.now.sh
* https://nteract-site-git-master.nteract.now.sh


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


@cane-see-project/android-team


This is intended as wip towards new API


Successfully deployed to following URLs:

* https://interface-oauap7n3m.now.sh
* https://melon.avantgarde.finance
* https://interface.avantgarde-finance.now.sh
* https://interface-git-master.avantgarde-finance.now.sh


<details>

<summary>Submitting the task to Taskcluster failed. Details</summary>

Error: Property extra is larger than 262144 bytes when encoded for storage

---

* method:     createTask
* errorCode:  InputError
* statusCode: 400
* time:       2020-01-23T14:04:54.780Z

</details>


@JuliaRegistrator register


Successfully deployed to following URLs:

* https://pkgreviewdev-o64m64xnj.now.sh
* https://pkgreview.now.sh
* https://pkgreviewdev.iqubex-technologies.now.sh
* https://pkgreviewdev-git-master.iqubex-technologies.now.sh


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

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.1 -m "<description of version>" 4219d6522a976d6b92406cd30e23c4cc3d588602
git push origin v1.0.1
```


This was due to the missing footer. But with our workaround in the background the step "And I log out" does work again and I changed those.


Changed.


Successfully deployed to following URLs:

* https://cheat-sheets-mofk69xv8.now.sh
* https://cheatsheets.xyz
* https://www.cheatsheets.xyz
* https://cheetsheets.xyz
* https://www.cheetsheets.xyz
* https://cheat-sheets.spences10.now.sh
* https://cheat-sheets-git-master.spences10.now.sh


Thanks for the fix! 😅


See above


Pi-Hole nutzt den Regex-Standard Posix Ere (POSIX Extended Regular Expressions)
und unterstützt kein "Lookaround": Heißt, dass der Teilausdruck `(?!\.de)`  nicht funktioniert.
Getestet mit xn--80ak6aa92e.com (PoC Punycode-Domain aus 2017).
Die Seite wird normal geladen.
Habe die Regex nur evaluiert, kann leider keine Lösung anbieten.


Successfully deployed to following URLs:

* https://zpie-a3ctik65a.now.sh
* https://zpie.now.sh
* https://zpie.brucegne.now.sh
* https://zpie-git-master.brucegne.now.sh


@akx Because it becomes so small it's hard to see.


@gokce, I added a deploy script so that each student can host their project through github. It makes their URL: https://username.github.io/p5js-boilerplate 👌


Successfully deployed to following URLs:

* https://zpie-1q84f6opq.now.sh
* https://zpie.now.sh
* https://zpie.brucegne.now.sh
* https://zpie-git-master.brucegne.now.sh


Successfully deployed to following URLs:

* https://blogmuditxyz-9yen8yr4t.now.sh
* https://blog.mudit.xyz
* https://www.blog.mudit.xyz
* https://blogmuditxyz.zdx.now.sh
* https://blogmuditxyz-git-master.zdx.now.sh


thank you


dsds


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/terminus-build-tools-plugin/master/assets/images/visit-site-36.png)](https://pr-34-jts-bt.pantheonsite.io/)

Created multidev environment [pr-34](https://dashboard.pantheon.io/sites/b9257c49-0df3-46b3-8327-ee01ed6941a8#pr-34) for jts-bt.


Successfully deployed to following URLs:

* https://main-site-no0u4xibe.now.sh
* https://fcc-mcr.now.sh
* https://fccmanchester.com
* https://main-site.fcc-mcr.now.sh
* https://main-site-git-master.fcc-mcr.now.sh


Successfully deployed to following URLs:

* https://plate-app-8k9odzn65.now.sh
* https://plate-app.now.sh
* https://plate-app.knipferrc.now.sh
* https://plate-app-git-master.knipferrc.now.sh


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/terminus-build-tools-plugin/master/assets/images/visit-site-36.png)](https://pr-18-ocmc.pantheonsite.io/)

Created multidev environment [pr-18](https://dashboard.pantheon.io/sites/56fc199e-402e-4733-87e4-f50029b384b8#pr-18) for ocmc.


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/terminus-build-tools-plugin/master/assets/images/visit-site-36.png)](https://pr-22-iron-wp.pantheonsite.io/)

Created multidev environment [pr-22](https://dashboard.pantheon.io/sites/b3945ea7-2c7a-4025-aed8-72e4398914c3#pr-22) for iron-wp.


Foi excluída a função/classe Habitat onde o usuário poderia modificar cores e temas para o jogo, visto que outras cores sem serem as padrões preta para o campo e verde para a cobra, não eram muito boas aos olhos por serem mais fortes.
Foi Adicionada outra função/classe (Dimensões) onde o jogador poderá aumentar o tamanho do mapa/cobra, deixando o jogo mais fácil de se chegar a vitória.
Dentre outras correções menos importantes...


Successfully deployed to following URLs:

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


develop (Myoldmopar) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-UnitTestsCoverage-Debug: OK (1269 of 1269 tests passed, 0 test warnings)

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


@AlexMSchakel, I'm done.


Does "commands below" refer to the "Or manually:" part?


This commit allows for the user to output a single RMF file for the sample_A and sample_B models, rather than a folder of individual RMF files for each model. This significantly improves throughput in downstream clustering with imp-sampcon (see https://github.com/salilab/imp-sampcon/commit/8021c884737826dbd600830f999a9e79bb791c72).

This functionality is invoked in `run_extract_models.py` by replacing `AT.do_extract_models(...)` with `AT.do_extract_models_single_rmf(HA, file_out_A, top_dir, analys_dir,scores_prefix)`

where:

`HA` is the dataframe returned by `AT.get_models_to_extract(modfileA)`
`file_out_A` is the path/name of the output RMF file with all extracted models
`top_dir` is the folder containing all of the PMI trajectory output folders
`analys_dir` is the directory where all output will go
`scores_prefix` is the file prefix for the scores file needed for imp-sampcon

See https://github.com/salilab/PMI_analysis/blob/master/example/run_extract_models_single_rmf.py for a full script example.

In addition to the above changes, models from raw trajectory outputs are read more efficiently (by only opening each RMF file once), resulting in a ~5-fold speedup in the model extraction step.


    :x: Test Failed: va/tests/accessibility

composer va:test:accessibility

```
audited 183 packages in 1.516s
found 2 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

> axe_tests@1.0.0 test /var/aegir/projects/cms/pr709
> node ./tests/accessibility/aXeAccessibilityCheck.js

!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov 1
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/sections  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/landing_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/documentation_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/event  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/health_care_local_facility  = 1
[ { id: 'label',
    impact: 'critical',
    tags:
     [ 'cat.forms',
       'wcag2a',
       'wcag332',
       'wcag131',
       'section508',
       'section508.22.n' ],
    description: 'Ensures every form element has a label',
    help: 'Form elements must have labels',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
    nodes:
     [ [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/health_care_region_detail_page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/health_care_region_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/office  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/outreach_asset  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/person_profile  = 1
[ { id: 'duplicate-id-aria',
    impact: 'critical',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description:
     'Ensures every id attribute value used in ARIA and in labels is unique',
    help: 'IDs used in ARIA and labels must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id-aria?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/press_release  = 1
[ { id: 'aria-allowed-attr',
    impact: 'critical',
    tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
    description: 'Ensures ARIA attributes are allowed for an element\'s role',
    help: 'Elements must only use allowed ARIA attributes',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/aria-allowed-attr?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/regional_health_care_service_des  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/news_story  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr709.ci.cms.va.gov/node/add/support_service  = 0
[]
!!!  VIOLATION TYPES FOUND: 6 PROCESS EXITED WITH CODE 1  !!!
> npm install --only=production
> npm test
Thu, 23 Jan 2020 16:05:05 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:44:14
Thu, 23 Jan 2020 16:05:08 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:56:42
Failed to inject axe-core into one of the iframes!
Failed to inject axe-core into one of the iframes!
npm ERR! Test failed.  See above for more details.
Script npm test handling the va:test:accessibility event returned with error code 1
```

- **On:** devshop.cms.va.gov
- **In:** 01:13


Successfully deployed to following URLs:

* https://portfolio-m0t4rnp0r.now.sh
* https://portfolio-five-eta.now.sh
* https://jasmine-amber-patel-portfolio.now.sh
* https://portfolio.jasmineamberja.now.sh
* https://portfolio-git-master.jasmineamberja.now.sh


Successfully deployed to following URLs:

* https://ember-pdf-o1re81tfn.now.sh
* https://ember-pdf.now.sh
* https://ember-pdf.emberhub.now.sh
* https://ember-pdf-git-master.emberhub.now.sh


Successfully deployed to following URLs:

* https://zeit-php-kk1rzy7u5.now.sh
* https://zeit-php-seven-gamma.now.sh
* https://zeit-php.rolandihms.now.sh
* https://zeit-php-git-master.rolandihms.now.sh


Why not change the calls in the loop to
`setCheckOption(setSalt, "salt", expressionFunctionType->saltSet());`


Successfully deployed to following URLs:

* https://blog-nuxt-jkhhvyqbq.now.sh
* https://blog-nuxt.now.sh
* https://blog-nuxt.bramaudi1.now.sh
* https://blog-nuxt-git-master.bramaudi1.now.sh


yes, this is intended, search_result is a table or nil


How complicated will it be to fix it by using pandas 1.0?


Successfully deployed to following URLs:

* https://ticktackboom-1x243lj4s.now.sh
* https://ticktackboom.now.sh
* https://ticktackboom.manosprk.now.sh
* https://ticktackboom-git-master.manosprk.now.sh


Executing a delete to the table is enough to remove the entire objects inside it. Also, we can access to the "nft_base_rules" structure to know which table is already created. Example:

```
if (dnat_rules_v4 | snat_rules_v4 | filter_rules_v4 | fwd_rules_v4)
    concat_buf(&buf, "delete table %s %s", NFTLB_IPV4_FAMILY, NFTLB_TABLE_NAME);
```

Same for IPv6. for netdev case we can access to "nft_base_rules.ndv_input_rules.n_interfaces" in order to know if netdev table is in use. This way we only send the delete to used tables.

Thanks!


Also: could you check tfs-pandas? :-/


Successfully deployed to following URLs:

* https://cra-template-typescript-redux-1xptov6gh.now.sh
* https://cra-template-typescript-redux.now.sh
* https://cra-template-typescript-redux.alexandr-g.now.sh
* https://cra-template-typescript-redux-git-master.alexandr-g.now.sh


Successfully deployed to following URLs:

* https://web2020-4qxae462z.now.sh
* https://dev.jesentanadi.com
* https://web2020.jtanadi.now.sh
* https://web2020-git-master.jtanadi.now.sh


@dariusk I'm not sure what this change does, where if an event attendee has an email, their badge has a link attached to it with their database ID. Is it a mistake?


Successfully deployed to following URLs:

* https://forecast-av13y52kj.now.sh
* https://forecast.autapomorph.now.sh
* https://weatherforecaster.now.sh
* https://forecaster.now.sh
* https://forecast-git-master.autapomorph.now.sh


Successfully deployed to following URLs:

* https://printer-gvn1uwx3s.now.sh
* https://printer.mcw-anesth.tech
* https://printer.mcw-anesth.now.sh
* https://printer-git-master.mcw-anesth.now.sh


That looks good. Nice use of multiple handles too; I forgot that this was possible.


As of 1.0.0rc0, the warnings we previously got from running tests are now KeyErrors. Fixing this would be a matter of identifying the problematic lines and fixing those.

However, the switch to 1.0 is honetly huge (see: https://pandas.pydata.org/pandas-docs/version/1.0.0/whatsnew/v1.0.0.html), and there is no guarantee that all lines run as expected on 1.0.

I'd say it's best to leave this hard limit (<1.0) for now until we are 100% sure that omc3 can handle the shift. Potentially, this could be an entirely new issue and branch.


display import result message on results tab of wizard

Added an <h:outputText> component to the wizard’s results tab.  Moved code from onFlowProcess() in wizard controller to trigger the import process to new method “triggerImport()”.  Added 2 new instance variables to wizard controller, “importSuccessful” and “importResult” to save the info from the ImportInfo returned by importData().  Added new method getImportResultString() to wizard controller to serve as model for new outputText component.

return a struct from helper importData() method

Currently the import() method is void, change it to return a struct with a boolean indicating success or failure, and a String message for describing the actions taken if successful, or error encountered if unsuccessful.

Created inner class “ImportInfo” in the import helper base class with instance variables described above, and constructor to set the variables.  Changed abstract signature to return ImportInfo for importData().  Changed cable catalog import helper to return ImportInfo.  Changed wizard controller to check the return, and display an error message if unsuccessful.

move validInput mechanism from helper to import wizard controller

I don;t like that the helper subclasses set a variable from the base class when an invalid input is encountered.  It’s not clear that this is the expected behavior for a subclass, since there is no abstract method to override.  I could add an abstract method but I don’t love that idea either, because each subclass would need to add a boolean variable to return as the method’s value.

Instead, I moved the “validInput” instance variable to the import wizard controller and removed it from the helper base class.  I changed the signature for the abstract helper method “parseRow()” to return a boolean instead of void.  The controller will check the return value from parseRow() and set the validInput variable itself.


This broke the theme for me on windows, visual studio 2015 and msys2:

WARNING: Could not find theme 'scummremastered' falling back to builtin!


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


There's a lot of white space. Can you make it a little more compressed.


Yay!


@JuliaRegistrator register


Deploy preview for _website_ ready!

Built with commit a67be3643aed394ae7b77358517d218381d7dbc4

https://zeit-now-deployment-p02q7wuov.now.sh


Solucionado @brunoperezm , en el proximo commit lo subo


Successfully deployed to following URLs:

* https://white-2gtv5yn2b.now.sh
* https://prabagitaivan.com
* https://white.prabagitaivan.now.sh
* https://white-git-master.prabagitaivan.now.sh


I'll try with 3.10.2 and issue a PR if it works.

But since we're talking about the _minimum required_ version here. Couldn't you devise a way - like some script - to determine the semantically fitting version? In general it seems like best practice to me to only increase this value when running into issues with old cmake versions.


Great Job


Successfully deployed to following URLs:

* https://programming-20-pdc13iqe2.now.sh
* https://programming-20.mooc.fi
* https://java-programming.mooc.fi
* https://programming-20.mooc.now.sh
* https://programming-20-git-master.mooc.now.sh


Snap build available: [multipass_1.1.0-dev.62+g4eba5af_amd64.snap](https://transfer.sh/bRIZ4/multipass_1.1.0-dev.62+g4eba5af_amd64.snap)


Typo here- should be wallsWithAdjacentRooms

With the change above this would be something like:
var wallsWithAdjacentRooms = []
wall([corners[0], corners[1], corners[2], corners[3], corners[0]], wallsWithAdjacentRooms)


This is a quiz written in Dart the using Flutter framework. This enables the developer to write code once for both iOS and Androids platforms. I have been using Flutter now for approximatley 12 months after spending time learning Swift. I am hopefully trying to get a junior role in a mobile development company. At the moment I am in IT Support but my job comes to an end in January 2020. Anybody interested in speaking to me please email submariner100@gmail.com

This application is very basic and the UI has very limited styling, hopefully I will come back to this and make it look a bit better.


Successfully deployed to following URLs:

* https://typefeel-epkhyrq7s.now.sh
* https://typefeel.com
* https://typefeel.rsbear.now.sh
* https://typefeel-git-master.rsbear.now.sh


Successfully deployed to following URLs:

* https://centrobr42-vk-mini-apps-li94ho3e5.now.sh
* https://centrobr42-vk-mini-apps.now.sh
* https://centrobr42-vk-mini-apps.alexgorn00.now.sh
* https://centrobr42-vk-mini-apps-git-master.alexgorn00.now.sh


Deploy preview for _website_ ready!

Built with commit 58d51d50ba3559c300640a166ab5883b5e6bbebd

https://uxla-m0u15l4dl.now.sh


@theKashey Hi, I believe that this change breaks the very popular `https://material-ui.com`

Hot reloading with anything ripple related even like just a simple `Button` in it now results in:

```
index.js:1 React-Hot-Loader: error occurred while comparing hook signature ReferenceError: useRippleHandler is not defined
    at Object.getCustomHooks (ButtonBase.js:65)
    at haveEqualSignatures (react-hot-loader.development.js:2560)
    at areSignaturesCompatible (react-hot-loader.development.js:2585)
    at compareRegistered (react-hot-loader.development.js:2593)
    at compareComponents (react-hot-loader.development.js:2634)
    at hotComponentCompare (react-hot-loader.development.js:2725)
    at reconcileSingleElement (react-dom.development.js:15478)
    at reconcileChildFibers (react-dom.development.js:15566)
    at reconcileChildren (react-dom.development.js:18076)
    at updateForwardRef (react-dom.development.js:18142)
    at beginWork$1 (react-dom.development.js:20185)
    at beginWork$$1 (react-dom.development.js:25713)
    at performUnitOfWork (react-dom.development.js:24661)
    at workLoopSync (react-dom.development.js:24637)
    at performSyncWorkOnRoot (react-dom.development.js:24236)
    at react-dom.development.js:12181
    at unstable_runWithPriority (scheduler.development.js:818)
    at runWithPriority$2 (react-dom.development.js:12131)
    at flushSyncCallbackQueueImpl (react-dom.development.js:12176)
    at flushSyncCallbackQueue (react-dom.development.js:12164)
    at Object.batchedUpdates$1 [as unstable_batchedUpdates] (react-dom.development.js:24358)
    at react-hot-loader.development.js:3045
    at react-hot-loader.development.js:3004
    in WithStyles(ForwardRef(ButtonBase)) (created by Button)
    in Button (created by WithStyles(ForwardRef(Button)))
    in WithStyles(ForwardRef(Button)) (at root.js:55)
    in Root (created by HotExportedRoot)
    in HotExportedRoot (at src/index.js:13)
console.<computed> @ index.js:1
r @ backend.js:6
error @ react-hot-loader.development.js:294
haveEqualSignatures @ react-hot-loader.development.js:2572
areSignaturesCompatible @ react-hot-loader.development.js:2585
compareRegistered @ react-hot-loader.development.js:2593
compareComponents @ react-hot-loader.development.js:2634
hotComponentCompare @ react-hot-loader.development.js:2725
reconcileSingleElement @ react-dom.development.js:15478
reconcileChildFibers @ react-dom.development.js:15566
reconcileChildren @ react-dom.development.js:18076
updateForwardRef @ react-dom.development.js:18142
beginWork$1 @ react-dom.development.js:20185
beginWork$$1 @ react-dom.development.js:25713
performUnitOfWork @ react-dom.development.js:24661
workLoopSync @ react-dom.development.js:24637
performSyncWorkOnRoot @ react-dom.development.js:24236
(anonymous) @ react-dom.development.js:12181
unstable_runWithPriority @ scheduler.development.js:818
runWithPriority$2 @ react-dom.development.js:12131
flushSyncCallbackQueueImpl @ react-dom.development.js:12176
flushSyncCallbackQueue @ react-dom.development.js:12164
batchedUpdates$1 @ react-dom.development.js:24358
(anonymous) @ react-hot-loader.development.js:3045
(anonymous) @ react-hot-loader.development.js:3004
Promise.then (async)
add @ react-hot-loader.development.js:3003
deepUpdate @ react-hot-loader.development.js:3061
Promise.then (async)
updateInstances @ react-hot-loader.development.js:3099
(anonymous) @ react-hot-loader.development.js:3113
hotSetStatus @ bootstrap:267
hotApply @ bootstrap:652
(anonymous) @ bootstrap:363
Promise.then (async)
hotUpdateDownloaded @ bootstrap:362
hotAddUpdateChunk @ bootstrap:338
webpackHotUpdateCallback @ bootstrap:57
(anonymous) @ main.def61cd85fc84d73050d.hot-update.js:1
```

code to investigate would be `@material-ui/core/es/ButtonBase.js`

This is with all the latest dependencies

```
{
  "browserslist": {
    "development": [
      "last 1 chrome version",
      "last 1 explorer version",
      "last 1 firefox version",
      "last 1 safari version"
    ],
    "production": [
      "last 1 chrome version",
      "last 1 explorer version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "dependencies": {
    "@material-ui/core": "^4.8.3",
    "@material-ui/icons": "^4.5.1",
    "@testing-library/jest-dom": "^5.0.0",
    "@testing-library/react": "^9.4.0",
    "@testing-library/user-event": "^8.0.3",
    "ramda": "^0.26.1",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-intl": "^3.11.0",
    "react-router-dom": "^5.1.2",
    "react-scripts": "3.3.0"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "name": "material",
  "private": true,
  "scripts": {
    "build": "craco build",
    "eject": "craco eject",
    "start": "craco start",
    "test": "craco test"
  },
  "version": "0.1.0",
  "devDependencies": {
    "@craco/craco": "^5.6.3",
    "@hot-loader/react-dom": "^16.11.0",
    "handlebars": "^4.7.2",
    "react-hot-loader": "^4.12.18"
  }
}
```


I removed this line from my local checkout; will commit it later if I don't find a reason to keep it


let's be consistent. in other application we use "from ... import" for views


what is your name?


Accidentally forgot to uncomment?))


Errant closing brace here.


Never again


Why don't you use ModelForm here?


@JuliaRegistrator register