[R/calculate_frequencies.R:3:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_frequencies.R#L3) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/calculate_frequencies.R:12:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_frequencies.R#L12) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if( dim(vv)[1] > 0) {
      ^
```
[R/calculate_frequencies.R:12:8:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_frequencies.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    if( dim(vv)[1] > 0) {
       ^
```
[R/calculate_frequencies.R:37:17:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_frequencies.R#L37) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  source_pop <- check_input_pop(source_pop)
                ^~~~~~~~~~~~~~~
```
[R/calculate_frequencies.R:39:18:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_frequencies.R#L39) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
  pop_for_cpp <- population_to_vector(source_pop)
                 ^~~~~~~~~~~~~~~~~~~~
```
[R/calculate_tajima_d.R:2:53:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_tajima_d.R#L2) *style:* **Put spaces around all infix operators.**
```r
                               markers = seq(1e-6, 1-1e-6, length.out = 100),
                                                   ~^~
```
[R/calculate_tajima_d.R:5:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_tajima_d.R#L5) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/calculate_tajima_d.R:29:3:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_tajima_d.R#L29) *warning:* **local variable ‘mutation_rate’ assigned but may not be used**
```r
  mutation_rate <- 0
  ^~~~~~~~~~~~~
```
[R/calculate_tajima_d.R:37:15:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_tajima_d.R#L37) *style:* **Put spaces around all infix operators.**
```r
  c1 <- b1 - 1/a1
             ~^~
```
[R/calculate_tajima_d.R:61:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/calculate_tajima_d.R#L61) *style:* **Put spaces around all infix operators.**
```r
  pi <- pi * 1.0 / (choose(2*number_of_sampled_individuals, 2))
                           ~^~
```
[R/fst.R:13:16:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L13) *warning:* **no visible global function definition for ‘create_random_markers’**
```r
    markers <- create_random_markers(number_of_markers)
               ^~~~~~~~~~~~~~~~~~~~~
```
[R/fst.R:19:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L19) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 10 + findtype(pop1[[i]]$chromosome1, focal_marker)
                       ^~~~~~~~
```
[R/fst.R:20:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L20) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 10 + findtype(pop1[[i]]$chromosome2, focal_marker)
                       ^~~~~~~~
```
[R/fst.R:26:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L26) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 10 + findtype(pop2[[i]]$chromosome1, focal_marker)
                       ^~~~~~~~
```
[R/fst.R:27:24:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L27) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 10 + findtype(pop2[[i]]$chromosome2, focal_marker)
                       ^~~~~~~~
```
[R/fst.R:42:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L42) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop1 <- check_input_pop(pop1)
          ^~~~~~~~~~~~~~~
```
[R/fst.R:44:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/fst.R#L44) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop2 <- check_input_pop(pop2)
          ^~~~~~~~~~~~~~~
```
[R/individual_class.R:85:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/individual_class.R#L85) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(num_colors > 20) num_colors <- 20
    ^
```
[R/individual_class.R:171:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/individual_class.R#L171) *warning:* **no visible binding for global variable ‘verify_individual’**
```r
  v <- unlist(lapply(pop, verify_individual))
                          ^~~~~~~~~~~~~~~~~
```
[R/iso_female.R:9:17:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/iso_female.R#L9) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  source_pop <- check_input_pop(source_pop)
                ^~~~~~~~~~~~~~~
```
[R/ld.R:2:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L2) *style:* **Variable or function name should be snake_case.**
```r
calculate_average_LD <- function(alleles_pos_1, alleles_pos_2) {
^~~~~~~~~~~~~~~~~~~~
```
[R/ld.R:7:3:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L7) *style:* **Variable or function name should be snake_case.**
```r
  LD <- 0
  ^~
```
[R/ld.R:11:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L11) *style:* **Variable or function name should be snake_case.**
```r
      p_A_i <- length(which(alleles_pos_1 == i)) / length(alleles_pos_1)
      ^~~~~
```
[R/ld.R:12:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L12) *style:* **Variable or function name should be snake_case.**
```r
      p_B_j <- length(which(alleles_pos_2 == j)) / length(alleles_pos_2)
      ^~~~~
```
[R/ld.R:14:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L14) *style:* **Variable or function name should be snake_case.**
```r
      countAB <- 0
      ^~~~~~~
```
[R/ld.R:16:13:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L16) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        if ( (alleles_pos_1[a, 1]) == i && (alleles_pos_2[a, 1] == j)) {
            ^
```
[R/ld.R:17:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L17) *style:* **Variable or function name should be snake_case.**
```r
          countAB <- countAB + 1
          ^~~~~~~
```
[R/ld.R:20:13:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L20) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        if ( (alleles_pos_1[a, 2]) == i && (alleles_pos_2[a, 2] == j)) {
            ^
```
[R/ld.R:21:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L21) *style:* **Variable or function name should be snake_case.**
```r
          countAB <- countAB + 1
          ^~~~~~~
```
[R/ld.R:25:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L25) *style:* **Variable or function name should be snake_case.**
```r
      p_A_i_B_j <- countAB / (length(alleles_pos_1[, 1]) +
      ^~~~~~~~~
```
[R/ld.R:28:30:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L28) *style:* **Variable or function name should be snake_case.**
```r
      if (is.nan(p_A_i_B_j)) p_A_i_B_j <- 0
                             ^~~~~~~~~
```
[R/ld.R:30:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L30) *style:* **Variable or function name should be snake_case.**
```r
      D_i_j <- p_A_i_B_j - p_A_i * p_B_j
      ^~~~~
```
[R/ld.R:32:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L32) *style:* **Variable or function name should be snake_case.**
```r
      D_i_j_max <- 1
      ^~~~~~~~~
```
[R/ld.R:35:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L35) *style:* **Variable or function name should be snake_case.**
```r
        D_i_j_max <- min(p_A_i * p_B_j, (1 - p_A_i) * (1 - p_B_j))
        ^~~~~~~~~
```
[R/ld.R:37:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L37) *style:* **Variable or function name should be snake_case.**
```r
        D_i_j_max <- min(p_A_i * (1 - p_B_j), (1 - p_A_i) * p_B_j)
        ^~~~~~~~~
```
[R/ld.R:41:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L41) *style:* **Variable or function name should be snake_case.**
```r
        LD <- LD + p_A_i * p_B_j * abs(D_i_j / D_i_j_max)
        ^~
```
[R/ld.R:53:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L53) *style:* **Variable or function name should be snake_case.**
```r
calculate_LD <- function(pop,
^~~~~~~~~~~~
```
[R/ld.R:58:10:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L58) *warning:* **no visible global function definition for ‘check_input_pop’**
```r
  pop <- check_input_pop(pop)
         ^~~~~~~~~~~~~~~
```
[R/ld.R:64:16:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L64) *warning:* **no visible global function definition for ‘create_random_markers’**
```r
    markers <- create_random_markers(number_of_markers)
               ^~~~~~~~~~~~~~~~~~~~~
```
[R/ld.R:70:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L70) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_1 <- 1 + findtype(pop[[i]]$chromosome1, focal_marker)
                      ^~~~~~~~
```
[R/ld.R:71:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L71) *warning:* **no visible global function definition for ‘findtype’**
```r
      allele_2 <- 1 + findtype(pop[[i]]$chromosome2, focal_marker)
                      ^~~~~~~~
```
[R/ld.R:80:3:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L80) *style:* **Variable or function name should be snake_case.**
```r
  LD_matrix   <- matrix(nrow = length(markers), ncol = length(markers), NA)
  ^~~~~~~~~
```
[R/ld.R:87:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L87) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        index1 <- c( (x - 1) * 2 + 1, (x - 1) * 2 + 2)
                    ^
```
[R/ld.R:88:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L88) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        index2 <- c( (y - 1) * 2 + 1, (y - 1) * 2 + 2)
                    ^
```
[R/ld.R:92:15:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/ld.R#L92) *warning:* **no visible global function definition for ‘calculate_average_LD’**
```r
        ld <- calculate_average_LD(g1, g2)
              ^~~~~~~~~~~~~~~~~~~~
```
[R/plot.R:6:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/plot.R#L6) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
{
^
```
[R/plot.R:109:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/plot.R#L109) *style:* **Commas should always have a space after.**
```r
  ax <- dplyr::full_join(a1,a2, by = c("location", "ancestor"))
                            ^
```
[R/plot.R:211:12:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/plot.R#L211) *warning:* **no visible global function definition for ‘calculate_dist_junctions’**
```r
  junct <- calculate_dist_junctions(pop)
           ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:33:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L33) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population_1 <- population_to_vector(input_population_1)
                            ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:46:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(sum(input_population_2 == "individual") ==
        ^
```
[R/simulate_admixture_migration.R:57:29:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L57) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population_2 <- population_to_vector(input_population_2)
                            ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:71:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L71) *style:* **Lines should not be more than 80 characters.**
```r
    initial_frequencies[[2]] <- initial_frequencies[[2]] / sum(initial_frequencies[[2]])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:88:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L88) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(is.na(select_matrix)) {
        ^
```
[R/simulate_admixture_migration.R:89:41:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L89) *style:* **Put spaces around all infix operators.**
```r
        select_matrix <- matrix(-1, nrow=2, ncol=2)
                                       ~^~
```
[R/simulate_admixture_migration.R:89:49:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L89) *style:* **Put spaces around all infix operators.**
```r
        select_matrix <- matrix(-1, nrow=2, ncol=2)
                                               ~^~
```
[R/simulate_admixture_migration.R:94:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L94) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is.na(markers))  {
      ^
```
[R/simulate_admixture_migration.R:129:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L129) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct_1 <- create_pop_class(selected_pop$population_1)
                          ^~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:130:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L130) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct_2 <- create_pop_class(selected_pop$population_2)
                          ^~~~~~~~~~~~~~~~
```
[R/simulate_admixture_migration.R:148:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L148) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == FALSE && track_junctions == FALSE) {
    ^
```
[R/simulate_admixture_migration.R:153:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_migration.R#L153) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == FALSE && track_junctions == TRUE) {
    ^
```
[R/simulate_admixture_until.R:70:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_until.R#L70) *style:* **Commas should never have a space before.**
```r
    cat(total_generations, "\t", fst ,"\n")
                                    ~^
```
[R/simulate_admixture_until.R:70:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture_until.R#L70) *style:* **Commas should always have a space after.**
```r
    cat(total_generations, "\t", fst ,"\n")
                                      ^
```
[R/simulate_admixture.R:14:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L14) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.list(input_population)) {
    ^
```
[R/simulate_admixture.R:17:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!is(input_population, "population")) {
      ^
```
[R/simulate_admixture.R:19:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L19) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(sum(all_are_individuals == "individual") ==
        ^
```
[R/simulate_admixture.R:25:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is(input_population$population, "population")) {
      ^
```
[R/simulate_admixture.R:29:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is(input_population, "population")) {
      ^
```
[R/simulate_admixture.R:30:27:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L30) *warning:* **no visible global function definition for ‘population_to_vector’**
```r
      input_population <- population_to_vector(input_population)
                          ^~~~~~~~~~~~~~~~~~~~
```
[R/simulate_admixture.R:38:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(sum(is.na(initial_frequencies))) {
    ^
```
[R/simulate_admixture.R:43:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L43) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(sum(initial_frequencies) != 1) {
    ^
```
[R/simulate_admixture.R:48:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L48) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(is.matrix(select_matrix)) {
    ^
```
[R/simulate_admixture.R:60:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L60) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is.na(select_matrix)) {
      ^
```
[R/simulate_admixture.R:61:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L61) *style:* **Put spaces around all infix operators.**
```r
      select_matrix <- matrix(-1, nrow=2,ncol=2)
                                     ~^~
```
[R/simulate_admixture.R:61:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L61) *style:* **Commas should always have a space after.**
```r
      select_matrix <- matrix(-1, nrow=2,ncol=2)
                                         ^
```
[R/simulate_admixture.R:61:46:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L61) *style:* **Put spaces around all infix operators.**
```r
      select_matrix <- matrix(-1, nrow=2,ncol=2)
                                            ~^~
```
[R/simulate_admixture.R:65:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L65) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(markers) == 1) {
    ^
```
[R/simulate_admixture.R:66:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is.na(markers))  {
      ^
```
[R/simulate_admixture.R:78:32:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L78) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  selected_pop <- simulate_cpp( input_population,
                               ^
```
[R/simulate_admixture.R:91:25:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L91) *warning:* **no visible global function definition for ‘create_pop_class’**
```r
  selected_popstruct <- create_pop_class(selected_pop$population)
                        ^~~~~~~~~~~~~~~~
```
[R/simulate_admixture.R:112:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L112) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == FALSE && track_junctions == FALSE) {
    ^
```
[R/simulate_admixture.R:116:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L116) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == FALSE && track_junctions == TRUE) {
    ^
```
[R/simulate_admixture.R:121:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L121) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == TRUE && track_junctions == FALSE) {
    ^
```
[R/simulate_admixture.R:123:46:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L123) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                             ^
```
[R/simulate_admixture.R:123:57:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L123) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                                        ^
```
[R/simulate_admixture.R:123:68:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L123) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                                                   ^
```
[R/simulate_admixture.R:131:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L131) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(track_frequency == TRUE && track_junctions == TRUE) {
    ^
```
[R/simulate_admixture.R:133:46:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L133) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                             ^
```
[R/simulate_admixture.R:133:57:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L133) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                                        ^
```
[R/simulate_admixture.R:133:68:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/simulate_admixture.R#L133) *style:* **Commas should always have a space after.**
```r
    colnames(frequencies_tibble) <- c("time","location","ancestor","frequency")
                                                                   ^
```
[R/utilities.R:2:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L2) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is(pop, "population")) {
    ^
```
[R/utilities.R:3:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L3) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is.list(pop)) {
      ^
```
[R/utilities.R:4:9:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L4) *style:* **Place a space before left parenthesis, except in a function call.**
```r
      if(is(pop$population, "population")) {
        ^
```
[R/utilities.R:7:11:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L7) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        if(is(pop$population_1, "population")) {
          ^
```
[R/utilities.R:39:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L39) *style:* **Commas should always have a space after.**
```r
    positive <- which(indiv$chromosome1[,2] > -1)
                                         ^
```
[R/utilities.R:43:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L43) *style:* **Commas should always have a space after.**
```r
    positive <- which(indiv$chromosome2[,2] > -1)
                                         ^
```
[R/utilities.R:48:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L48) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is(population, "population")) {
    ^
```
[R/utilities.R:49:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/R/utilities.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(is(population$population, "population")) {
      ^
```
[tests/testthat.R:2:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
library(GenomeAdmixR) # nolint keep package name non-all-lowercase, due to backwards compatibility
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat.R:2:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
library(GenomeAdmixR) # nolint keep package name non-all-lowercase, due to backwards compatibility
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-allele_frequencies.R:82:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-allele_frequencies.R#L82) *style:* **Lines should not be more than 80 characters.**
```r
  testthat::expect_equal(sum(b$mean_freq), 1, tolerance = 1 / number_of_founders)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-isoFemales.R:88:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L88) *style:* **Commas should always have a space after.**
```r
  a <- matrix(c(0.1,1, 2, 2), nrow = 2)
                    ^
```
[tests/testthat/test-isoFemales.R:89:19:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L89) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                  ^
```
[tests/testthat/test-isoFemales.R:89:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L89) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                    ^
```
[tests/testthat/test-isoFemales.R:89:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L89) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                      ^
```
[tests/testthat/test-isoFemales.R:105:19:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L105) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                  ^
```
[tests/testthat/test-isoFemales.R:105:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L105) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                    ^
```
[tests/testthat/test-isoFemales.R:105:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-isoFemales.R#L105) *style:* **Commas should always have a space after.**
```r
  b <- matrix(c(0,1,1,-1), nrow = 2)
                      ^
```
[tests/testthat/test-junctions.R:8:3:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-junctions.R#L8) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[tests/testthat/test-junctions.R:31:59:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-junctions.R#L31) *style:* **Commas should always have a space after.**
```r
    cat(pop_size, run_time, morgan, mean(found), expected,"\n")
                                                          ^
```
[tests/testthat/test-save_load.R:26:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-save_load.R#L26) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in seq_along(vx)) {
     ^
```
[tests/testthat/test-selection.R:6:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L6) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:6:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L6) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:6:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L6) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:47:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L47) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:47:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L47) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:47:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L47) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:74:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L74) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:74:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L74) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:74:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L74) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:75:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L75) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.75, 1.0, 1, 1+s,  1)
                                        ~^~
```
[tests/testthat/test-selection.R:119:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L119) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:119:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L119) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:119:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L119) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.25, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:120:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L120) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.75, 1.0, 1, 1+s,  1)
                                        ~^~
```
[tests/testthat/test-selection.R:189:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L189) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:189:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L189) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:189:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L189) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:190:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L190) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:190:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L190) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:190:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L190) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:194:40:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L194) *style:* **Put spaces around all infix operators.**
```r
                         select_matrix =select_matrix,
                                       ^~
```
[tests/testthat/test-selection.R:203:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L203) *style:* **Put spaces around all infix operators.**
```r
    simulate_admixture(select_matrix =select_matrix,
                                     ^~
```
[tests/testthat/test-selection.R:218:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L218) *style:* **Put spaces around all infix operators.**
```r
                       select_matrix =select_matrix,
                                     ^~
```
[tests/testthat/test-selection.R:227:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L227) *style:* **Put spaces around all infix operators.**
```r
    simulate_admixture(select_matrix =select_matrix,
                                     ^~
```
[tests/testthat/test-selection.R:238:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L238) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:238:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L238) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:238:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L238) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.05, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:239:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L239) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                     ~^~
```
[tests/testthat/test-selection.R:239:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L239) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                         ~^~
```
[tests/testthat/test-selection.R:239:48:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L239) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.15, 1.0, 1+0.5*s, 1+s, 0)
                                              ~^~
```
[tests/testthat/test-selection.R:243:19:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L243) *style:* **Commas should always have a space after.**
```r
  select_matrix[1,] <- c(0.5, 0.1, 0.2)
                  ^
```
[tests/testthat/test-selection.R:247:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L247) *style:* **Put spaces around all infix operators.**
```r
                       select_matrix =select_matrix,
                                     ^~
```
[tests/testthat/test-selection.R:256:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-selection.R#L256) *style:* **Put spaces around all infix operators.**
```r
                       select_matrix =select_matrix,
                                     ^~
```
[tests/testthat/test-simulate_admixture_until.R:31:65:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture_until.R#L31) *style:* **Commas should always have a space after.**
```r
                                 initial_frequencies = list(c(1,1),
                                                                ^
```
[tests/testthat/test-simulate_admixture_until.R:32:65:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture_until.R#L32) *style:* **Commas should always have a space after.**
```r
                                                            c(1,1)),
                                                                ^
```
[tests/testthat/test-simulate_admixture.R:4:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L4) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=2, ncol=5)
                                 ~^~
```
[tests/testthat/test-simulate_admixture.R:4:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L4) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=2, ncol=5)
                                         ~^~
```
[tests/testthat/test-simulate_admixture.R:7:40:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L7) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                      ~^~
```
[tests/testthat/test-simulate_admixture.R:7:44:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L7) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                          ~^~
```
[tests/testthat/test-simulate_admixture.R:7:51:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L7) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                                 ~^~
```
[tests/testthat/test-simulate_admixture.R:8:40:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L8) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.6, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                      ~^~
```
[tests/testthat/test-simulate_admixture.R:8:44:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L8) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.6, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                          ~^~
```
[tests/testthat/test-simulate_admixture.R:8:51:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L8) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[2, ] <- c(0.6, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                                 ~^~
```
[tests/testthat/test-simulate_admixture.R:26:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L26) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(length(are_equal) > 1) are_equal <- FALSE
    ^
```
[tests/testthat/test-simulate_admixture.R:44:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L44) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1, ncol=5)
                                 ~^~
```
[tests/testthat/test-simulate_admixture.R:44:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L44) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1, ncol=5)
                                         ~^~
```
[tests/testthat/test-simulate_admixture.R:55:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L55) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1,ncol=3)
                                 ~^~
```
[tests/testthat/test-simulate_admixture.R:55:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L55) *style:* **Commas should always have a space after.**
```r
  select_matrix <- matrix(NA, nrow=1,ncol=3)
                                     ^
```
[tests/testthat/test-simulate_admixture.R:55:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_admixture.R#L55) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1,ncol=3)
                                        ~^~
```
[tests/testthat/test-simulate_migration.R:14:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L14) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:14:71:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L14) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                      ^
```
[tests/testthat/test-simulate_migration.R:14:73:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L14) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                        ^
```
[tests/testthat/test-simulate_migration.R:15:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L15) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:15:71:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L15) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                      ^
```
[tests/testthat/test-simulate_migration.R:15:73:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L15) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                        ^
```
[tests/testthat/test-simulate_migration.R:22:1:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
  testthat::expect_true( length(markers) == length(unique(vy$frequencies$location)) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-simulate_migration.R:22:25:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L22) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  testthat::expect_true( length(markers) == length(unique(vy$frequencies$location)) )
                        ^
```
[tests/testthat/test-simulate_migration.R:22:84:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L22) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  testthat::expect_true( length(markers) == length(unique(vy$frequencies$location)) )
                                                                                ^
```
[tests/testthat/test-simulate_migration.R:25:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L25) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1, ncol=5)
                                 ~^~
```
[tests/testthat/test-simulate_migration.R:25:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L25) *style:* **Put spaces around all infix operators.**
```r
  select_matrix <- matrix(NA, nrow=1, ncol=5)
                                         ~^~
```
[tests/testthat/test-simulate_migration.R:28:40:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L28) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                      ~^~
```
[tests/testthat/test-simulate_migration.R:28:44:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L28) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                          ~^~
```
[tests/testthat/test-simulate_migration.R:28:51:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L28) *style:* **Put spaces around all infix operators.**
```r
  select_matrix[1, ] <- c(0.5, 0.5, 0.5+0.5*s, 0.5+s, 0)
                                                 ~^~
```
[tests/testthat/test-simulate_migration.R:34:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L34) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,0),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:35:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L35) *style:* **Commas should always have a space after.**
```r
                                                                c(0,1)),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:41:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L41) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(loc in unique(vy$final_frequency$location)) {
     ^
```
[tests/testthat/test-simulate_migration.R:47:30:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L47) *style:* **Commas should always have a space after.**
```r
  a1 <- subset(found, found[,1] < 0.4)
                             ^
```
[tests/testthat/test-simulate_migration.R:48:30:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L48) *style:* **Commas should always have a space after.**
```r
  a2 <- subset(found, found[,1] == 0.5)
                             ^
```
[tests/testthat/test-simulate_migration.R:50:4:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L50) *style:* **Commented code should be removed.**
```r
  #b1 <- t.test(a1[,2] - 0.5)
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-simulate_migration.R:52:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L52) *style:* **Commas should always have a space after.**
```r
  testthat::expect_equal(mean(a1[,2]), 0.5, tolerance = 0.1)
                                  ^
```
[tests/testthat/test-simulate_migration.R:76:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L76) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:76:71:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L76) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                      ^
```
[tests/testthat/test-simulate_migration.R:76:73:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L76) *style:* **Commas should always have a space after.**
```r
                                     initial_frequencies = list(c(1,1,0,0),
                                                                        ^
```
[tests/testthat/test-simulate_migration.R:77:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L77) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                    ^
```
[tests/testthat/test-simulate_migration.R:77:71:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L77) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                      ^
```
[tests/testthat/test-simulate_migration.R:77:73:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L77) *style:* **Commas should always have a space after.**
```r
                                                                c(0,0,1,1)),
                                                                        ^
```
[tests/testthat/test-simulate_migration.R:86:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L86) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in unique(a1$ancestor)) {
     ^
```
[tests/testthat/test-simulate_migration.R:87:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L87) *style:* **Commas should never have a space before.**
```r
    b1 <- subset(a1 ,a1$ancestor == i)
                   ~^
```
[tests/testthat/test-simulate_migration.R:87:22:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L87) *style:* **Commas should always have a space after.**
```r
    b1 <- subset(a1 ,a1$ancestor == i)
                     ^
```
[tests/testthat/test-simulate_migration.R:98:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L98) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in unique(a2$ancestor)) {
     ^
```
[tests/testthat/test-simulate_migration.R:99:21:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L99) *style:* **Commas should never have a space before.**
```r
    b1 <- subset(a2 ,a2$ancestor == i)
                   ~^
```
[tests/testthat/test-simulate_migration.R:99:22:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-simulate_migration.R#L99) *style:* **Commas should always have a space after.**
```r
    b1 <- subset(a2 ,a2$ancestor == i)
                     ^
```
[tests/testthat/test-tajima.R:13:8:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L13) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  while(t < 1000) {
       ^
```
[tests/testthat/test-tajima.R:23:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L23) *style:* **Commented code should be removed.**
```r
   # cat(t,"\n")
     ^~~~~~~~~~~
```
[tests/testthat/test-tajima.R:35:26:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  testthat::expect_error(  calculate_tajima_d(pop$initial_frequency) )
                         ^
```
[tests/testthat/test-tajima.R:35:69:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  testthat::expect_error(  calculate_tajima_d(pop$initial_frequency) )
                                                                    ^
```
[tests/testthat/test-tajima.R:41:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L41) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(1 == 2) {
    ^
```
[tests/testthat/test-tajima.R:46:6:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(r in 1:10) {
     ^
```
[tests/testthat/test-tajima.R:49:5:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(r ) {
    ^
```
[tests/testthat/test-tajima.R:49:7:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L49) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if(r ) {
      ^
```
[tests/testthat/test-tajima.R:53:39:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L53) *style:* **Put spaces around all infix operators.**
```r
                            seed = 666+r,
                                     ~^~
```
[tests/testthat/test-tajima.R:57:35:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L57) *style:* **Put spaces around all infix operators.**
```r
      select_matrix <- matrix(nrow=1,ncol=5)
                                 ~^~
```
[tests/testthat/test-tajima.R:57:38:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L57) *style:* **Commas should always have a space after.**
```r
      select_matrix <- matrix(nrow=1,ncol=5)
                                     ^
```
[tests/testthat/test-tajima.R:57:42:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L57) *style:* **Put spaces around all infix operators.**
```r
      select_matrix <- matrix(nrow=1,ncol=5)
                                        ~^~
```
[tests/testthat/test-tajima.R:58:23:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L58) *style:* **Commas should always have a space after.**
```r
      select_matrix[1,] <- c(0.5, 1, 1.1, 1.2, 0)
                      ^
```
[tests/testthat/test-tajima.R:61:43:](https://github.com/thijsjanzen/GenomeAdmixR/blob/c7f32d49c41cc9e2abea025ac0336a3591635269/tests/testthat/test-tajima.R#L61) *style:* **Put spaces around all infix operators.**
```r
                                seed = 666+r,


I don't see where "this repo" uses GDAL, or if so, which version it has. It's still using trusty, right?


I don't think your patch is wrong, we just need to do something like this:

```
zend_error(E_NOTICE, "Array to string conversion");
if (try && UNEXPECTED(EG(exception))) {
    return NULL;
}
return ZSTR_KNOWN(ZEND_STR_ARRAY_CAPITALIZED);
```


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


Puedes subirlo


Will you create a new pull request for the fix, or should I?


need to add something


add it


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

* https://arkstudio.xyz
* https://www.arkstudio.xyz
* https://arkstudio-client.movingbrands.now.sh
* https://arkstudio-client-git-development.movingbrands.now.sh


@berolinux Do you have any docs on that patch ? Like whos is an author, benchmarks ?

Have you considered preparing PR for https://github.com/madler/zlib/issues to share with others ?


Shouldn't this be `/dev/MAKEDEV`?


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

* https://ronnyhaase.com


to add to Stefan's comment here;
platform_data style structs were used before device-tree ;
and many drivers were written with platform_data ;
when they were switched to device-tree, some of drivers used platform_data to keep copies of device-tree information;

adding `ad7791_platform_data` is not a bad idea [in general], but it's good to add it if you have a clear need for it;
but this depends on how things will be structured;


}
void draw (){
  background (255, 255, 0);

  s = cos(a);
  scale(0.5);
  pushMatrix ();
  translate (width/1, height/1);
  rotate (radians(r));

  fill(000);
  rect(290, 290, 70, 70);
  scale(s);

  fill(0, 0, 255);
  rect(260, 260, 70, 70);
  scale(s);

  fill(000);
  rect(240, 240, 80, 80);
  scale(s);

  fill(0, 0, 255);
  rect(200, 200, 100, 100);
  scale(s);

  fill (000);
  rect (220, 220, 120, 120);
  scale(s);

popMatrix ();
  r -= 5;
}


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

* https://next-healthcare.dawochihliou.now.sh
* https://next-healthcare-git-master.dawochihliou.now.sh


Needs to be change this!!!


CC: @iamleot

I think we can also remove the following services:

/etc/rc.d/raidframe
/etc/rc.d/random_seed
/etc/rc.d/sysdb
/etc/rc.d/wscons
/etc/rc.d/syslogd
/etc/rc.d/cleartmp
/etc/rc.d/dmesg
/etc/rc.d/fccache
/etc/rc.d/ldconfig
/etc/rc.d/quota
/etc/rc.d/virecover
/etc/rc.d/savecore
/etc/rc.d/motd

It should boost booting a little bit.

Q: Are we starting each time clean VM without potential local damage after crash?


m


hello .....


WoooHooo!


ghgjh


Good project


For thousands of reboots this optimization will pay off.


Small afterword, I must correct myself.

I wasn't meaning that someone who placed `nosoundclipping` did a bad thing. No. This neither a bad, nor a good thing - this is a **right** thing, because this is how the engine, the Game should work in it's initial form.

However, it is our both freedom and responsibility to make it better. As I have said before, we are trying to make some things better (isn't that's why source ports are existing for?), not "just because", but always because of reasonable logic and both visual and audible appearance. That's it.


added code processing volume sensor value


Oh yeah, it is still trusty. With GDAL, I just mean this:
```
addons:
    apt:
        packages:
            - libgdal-dev
```
which now suffices to install `sf` without `ubuntugis/ppa`, so that there is no need for the extra lines:
```
addons:
  apt:
    sources:
      - sourceline: 'ppa:ubuntugis/ppa'
```
Right?


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

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


interesting comment


Cleaned up WiFi part.
Added weather data array.


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

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


I'm not sure if we need to do `( cd /dev && ./MAKEDEV kcov )` as otherwise it will create kcov in a current directory?


I think yes, you wrote geth in `launch42`.


ここはそのまま講師ちゃった方がスッキリしない？
```
foreach ($schedule->candidatesas $value) {
``


    setPage = (pageNumber, shouldReplace = false) => {
        const { history, location } = this.props;
        const { search } = location;
        const queryParams = new URLSearchParams(search);
        const method = shouldReplace ? 'replace' : 'push';

        queryParams.set('page', pageNumber);
        history[method]({ search: queryParams.toString() });
    };

hello

How does react router monitor the page on the url to update the data?


https://readouble.com/laravel/5.5/ja/collections.html#method-pluck
こいつ使ったら、for文回さなくていいね

19行目〜２３行目の処理を１行でまとめていけるで！


Sorry for the confusion. With `./launch42.sh` I believe I am using Geth (as I asked you in another thread). The error referenced above was an attempt to launch a lighter version of Geth as described in Unit 4.

However, I'm not sure how to open the rpc http in Geth and `./launch42.sh` works great.


無理やりintにしてんのか〜


@rom9 Here's a patch with optimized pow-loops and also sse-code
```diff
diff --git a/rtengine/rawimagesource.cc b/rtengine/rawimagesource.cc
index 9a9c9d08f..7ba99e893 100644
--- a/rtengine/rawimagesource.cc
+++ b/rtengine/rawimagesource.cc
@@ -3597,47 +3597,57 @@ void RawImageSource::filmNegativeProcess(const procparams::FilmNegativeParams &p

     if(ri->getSensorType() == ST_BAYER) {
 #ifdef _OPENMP
-        #pragma omp parallel
-#endif
-        {
-
-#ifdef _OPENMP
-            #pragma omp for nowait
+        #pragma omp parallel for schedule(dynamic, 16)
 #endif
-            for (int row = 0; row < H; row ++) {
-                for (int col = 0; col < W; col++) {
-                    float val = rawData[row][col];
-                    int c  = FC(row, col);                        // three colors,  0=R, 1=G,  2=B
-
-                    // Exponents are expressed as positive in the parameters, so negate them in order
-                    // to get the reciprocals. Avoid trouble with zeroes, minimum pixel value is 1.
-                    val = pow_F(max(val, 1.f), -exps[c]);
-
-                    rawData[row][col] = (val);
-                }
+        for (int row = 0; row < H; row ++) {
+            int col = 0;
+            // Exponents are expressed as positive in the parameters, so negate them in order
+            // to get the reciprocals. Avoid trouble with zeroes, minimum pixel value is 1.
+            const float exps0 = -exps[FC(row, col)];
+            const float exps1 = -exps[FC(row, col + 1)];
+#ifdef __SSE2__
+            const vfloat expsv = _mm_setr_ps(exps0, exps1, exps0, exps1);
+            const vfloat onev = F2V(1.f);
+            for (; col < W - 3; col+=4) {
+                STVFU(rawData[row][col], pow_F(vmaxf(LVFU(rawData[row][col]), onev), expsv));
+            }
+#endif // __SSE2__
+            for (; col < W - 1; col+=2) {
+                rawData[row][col] = pow_F(max(rawData[row][col], 1.f), exps0);
+                rawData[row][col + 1] = pow_F(max(rawData[row][col + 1], 1.f), exps1);
+            }
+            if (col < W) {
+                rawData[row][col] = pow_F(max(rawData[row][col], 1.f), exps0);
             }
         }
     } else if(ri->getSensorType() == ST_FUJI_XTRANS) {
 #ifdef _OPENMP
-        #pragma omp parallel
-#endif
-        {
-
-#ifdef _OPENMP
-            #pragma omp for nowait
+        #pragma omp parallel for schedule(dynamic, 16)
 #endif
-            for (int row = 0; row < H; row ++) {
-                for (int col = 0; col < W; col++) {
-                    float val = rawData[row][col];
-                    int c  = ri->XTRANSFC(row, col);                        // three colors,  0=R, 1=G,  2=B
-
-                    // Exponents are expressed as positive in the parameters, so negate them in order
-                    // to get the reciprocals. Avoid trouble with zeroes, minimum pixel value is 1.
-                    val = pow_F(max(val, 1.f), -exps[c]);
-
-                    rawData[row][col] = (val);
+        for (int row = 0; row < H; row ++) {
+            int col = 0;
+            // Exponents are expressed as positive in the parameters, so negate them in order
+            // to get the reciprocals. Avoid trouble with zeroes, minimum pixel value is 1.
+            const float expsc[6] = {-exps[ri->XTRANSFC(row, 0)], -exps[ri->XTRANSFC(row, 1)], -exps[ri->XTRANSFC(row, 2)], -exps[ri->XTRANSFC(row, 3)], -exps[ri->XTRANSFC(row, 4)], -exps[ri->XTRANSFC(row, 5)]};
+#ifdef __SSE2__
+            const vfloat expsv0 = _mm_setr_ps(expsc[0], expsc[1], expsc[2], expsc[3]);
+            const vfloat expsv1 = _mm_setr_ps(expsc[4], expsc[5], expsc[0], expsc[1]);
+            const vfloat expsv2 = _mm_setr_ps(expsc[2], expsc[3], expsc[4], expsc[5]);
+            const vfloat onev = F2V(1.f);
+            for (; col < W - 11; col+=12) {
+                STVFU(rawData[row][col], pow_F(vmaxf(LVFU(rawData[row][col]), onev), expsv0));
+                STVFU(rawData[row][col + 4], pow_F(vmaxf(LVFU(rawData[row][col + 4]), onev), expsv1));
+                STVFU(rawData[row][col + 8], pow_F(vmaxf(LVFU(rawData[row][col + 8]), onev), expsv2));
+            }
+#endif // __SSE2__
+            for (; col < W - 5; col+=6) {
+                for (int c = 0; c < 6; ++c) {
+                    rawData[row][col + c] = pow_F(max(rawData[row][col + c], 1.f), expsc[c]);
                 }
             }
+            for (int c = 0; col < W; col++, c++) {
+                rawData[row][col + c] = pow_F(max(rawData[row][col + c], 1.f), expsc[c]);
+            }
         }
     }

```


ここはやっぱり後ほどロジック考え直そう


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

* https://www.jeremyswinnen.com
* https://jeremyswinnen.com
* https://jeremyswinnen.jereswinnen.now.sh
* https://jeremyswinnen-git-master.jereswinnen.now.sh


もっというと、クエリビルダの方の`pluck`を使った方が処理が軽い気がする。
https://readouble.com/laravel/5.5/ja/queries.html

難しいだろうから明日教えます。


Perfect, yes I think so too. Any idea how to advance time/block in Geth? Is this my setup or are other students running into this issue as well?


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

* https://monorepo.storybook.now.sh
* https://monorepo-git-next.storybook.now.sh


Missing key for password


Случайный коммит


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

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


Изменение предыдущего коммита


Оишбка в описании коммита


Hummer


おっと
destroyはdeleteメソッドに対して削除処理を行うコントローラーだから
edit Viewをリターンしちゃダメだぞっ


In SSE-code the vmaxf function translates to a single machine instruction, which is fine.


@dvandyk Last commit it compiled, this one does not. I was not able to fix the problem but I think you can do it easily.


ダメというか、メソッドの意味が変わってきちゃうので推奨できないぞっ


[EIRS - mssql_UPDATE.zip](https://github.com/contecg/EIRS-MSSQL-refactored/files/3261211/EIRS.-.mssql_UPDATE.zip)
New Update


Does this work if you remove the `ObjectListQuery`, and just use `$field_query` directly below in the `select()`? If not, there's a bug in the mpx-php library we should fix.


`$candidate` は複数のはずなのに単数形になっている。
単数形をfor文で回すのは感覚的にはよくわからない状態。
単数形と複数形の違いはしっかり意識しておこう！

それと、あんまり`$key`,`$value`という使い方はしないように。
変数名は非常に大事なので、意味のない名前の付け方はよくないぜ

そんなシェーンに課題図書を贈呈しよう。
https://drive.google.com/file/d/0B93qjDJl3beuSVIwMUh0NkQ1S1E/view?usp=sharing
必ず読むように！


Help


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

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


Since you're returning just the first result, we probably don't need to loop over everything. Perhaps something like `return ($results->valid() ?: $results->current())`?


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

* https://next-healthcare.dawochihliou.now.sh
* https://next-healthcare-git-master.dawochihliou.now.sh


Successfully aliased the URL <https://ohjelmointi-19-hvlq9fvrv.now.sh> to the following aliases.

* https://ohjelmointi-19.mooc.fi
* https://ohjelmointi-19.mooc.now.sh
* https://ohjelmointi-19-git-master.mooc.now.sh


Successfully aliased the URL <https://catch-of-the-day-go6vf34ux.now.sh> to the following aliases.

* https://catch-of-the-day.asjas.now.sh
* https://catch-of-the-day-git-master.asjas.now.sh


The activity is not always new :)


@SimpleBinary I expected that


 Hi Ghansham,
Good catch. I agree. Try the modification below. If it works for you, please modify in your branch and create a pull request on github against the "dev" branch.
ossimImageRenderer::ossimImageRenderer(ossimImageSource *inputSource,
                                       ossimImageViewTransform *imageViewTrans)
    : ossimImageSourceFilter(inputSource),
      ossimViewInterface(0),
      m_Resampler(0),
      m_BlankTile(0),
      m_Tile(0),
      m_TemporaryBuffer(0),
      m_StartingResLevel(0),
      m_inputR0Rect(),
      m_viewRect(),
      m_rectsDirty(true),
      m_MaxRecursionLevel(5),
      m_AutoUpdateInputTransform(true),
      m_MaxLevelsToCompute(999999),  // something large so it will always compute
      m_averageViewToImageScale(1.0),
      m_averageViewToImageRLevelScale(0.0)

{
   ossimViewInterface::theObject = this;
   m_Resampler = new ossimFilterResampler();

   loadState(ossimPreferences::instance()->preferencesKWL(), "renderer.");
   m_ImageViewTransform = imageViewTrans;
}

Thanks,Oscar
    On Thursday, June 6, 2019, 2:15:20 AM EDT, ghansham <notifications@github.com> wrote:

It seems like the loadState being called from ossimImageRenderer constructor simply flushes the ossimImageViewTransform being passed in constructor. In loadState, it should check if ossimImageViewTransform is set, then it should not re-initialize it.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


If I modify like that:

```solidity
    function changeStorage() public
    {
        Balance storage b = balances[msg.sender];
        require(b.b == 100, 'ok');
        require(b.b == 100, 'ok');
        require(b.c == 100, 'ok');
        require(b.c == 100, 'ok');
        require(b.d == 100, 'ok');
        require(b.d == 100, 'ok');
        require(b.e == 100, 'ok');
        require(b.e == 100, 'ok');

        b.b = 100;
    }

    function changeMemory() public
    {
        Balance memory b = balances[msg.sender];
        require(b.b == 100, 'ok');
        require(b.b == 100, 'ok');
        require(b.c == 100, 'ok');
        require(b.c == 100, 'ok');
        require(b.d == 100, 'ok');
        require(b.d == 100, 'ok');
        require(b.e == 100, 'ok');
        require(b.e == 100, 'ok');

        balances[msg.sender].b = 100;
    }
```
Then:

* `changeStorage` -> `execution cost: 2373 gas`
* `changeMemory` -> `execution cost: 1954 gas`

So it is when there is repetition that the gain is made.


you're more than welcome @codesoap ... thanks


Game is now functional.


Ghansham -- I just saw this was a code review of a mod that I had made. I'll fix it. Thanks again.
Oscar


Test


Hi!
Just saw this because you referenced <gatsbyjs/gatsby#11830>.
Is this already in use? Because then you'd need `gatsby-plugin-remove-serviceworker` to remove the outdated serviceworker from clients that already visited the page.


Successfully aliased the URL <https://musiikin-teoria-material-8lwg0j5gb.now.sh> to the following aliases.

* https://musiikin-teoria.now.sh
* https://musiikin-teoria-material.mooc.now.sh
* https://musiikin-teoria-material-git-master.mooc.now.sh


What is that?


Kamil Rytarowski writes:
> I think we can also remove the following services:
>
> [...]
>
> It should boost booting a little bit.

Probably won't boost a lot but given that previously and in this list
there were also rc.d scripts that mostly just do just a test(1) and then
exit, other possible scripts that does similar and are enabled by
default (`rcvar' listed here):

 ccd
 ppp


*potter.tdat, *adison.tdat, *albus.tdat can be dropped becaue its not for our devices and it's useless to keep it there


THORD VERSION
[WEB_SERVER_DESINE.pptx](https://github.com/25kb/Hello_balaji/files/3261262/WEB_SERVER_DESINE.pptx)


めっちゃよき🌸✨


This seems to break test suite, see issue #88


MATLAB code


Yes, trusty now has GDAL 2.2.2, which before it didn't. The ppa may however update sooner to newer versions: GDAL 3 and PROJ 6 have been released, and contain pretty drastic changes.


<details>

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

Client ID project/taskcluster/tc-github/production-2 does not have sufficient scopes and is missing the following scopes:

```
queue:create-task:highest:aws-provisioner-v1/mobile-1-decision
```

This request requires the client to satisfy the following scope expression:

```
{
  "AllOf": [
    "assume:repo:github.com/mitchhentges/reference-browser:branch:master",
    "queue:route:statuses",
    {
      "AnyOf": [
        {
          "AllOf": [
            "queue:scheduler-id:taskcluster-github",
            {
              "AnyOf": [
                "queue:create-task:highest:aws-provisioner-v1/mobile-1-decision"
              ]
            }
          ]
        }
      ]
    }
  ]
}
```

---

* method:     createTask
* errorCode:  InsufficientScopes
* statusCode: 403
* time:       2019-06-06T11:11:32.705Z

</details>


@vibhavp I think the :package-version does not belong here. `lsp-metals--server-command` is a function and returns now `'(lsp-mode . "6.1")`, instead of the command and args.


Hey!
I see you are interested in this project. We welcome anyone who wants to further contribute to the project and we have a discord group where we discuss out future plans and issues. If you ever need help or just talk then feel to join us here: https://discord.gg/Wya4Dst

Kind Regards,
dr_nyt.


Hello:

That seems strange to me for a loadState is suppose to do just that, load the entire state if it’s specified.   Are there checks to see if ivt is specified in any way in the state object?

Take care

Garrett

> On Jun 6, 2019, at 6:59 AM, Oscar Kramer <notifications@github.com> wrote:
>
> Hi Ghansham,
> Good catch. I agree. Try the modification below. If it works for you, please modify in your branch and create a pull request on github against the "dev" branch.
> ossimImageRenderer::ossimImageRenderer(ossimImageSource *inputSource,
> ossimImageViewTransform *imageViewTrans)
> : ossimImageSourceFilter(inputSource),
> ossimViewInterface(0),
> m_Resampler(0),
> m_BlankTile(0),
> m_Tile(0),
> m_TemporaryBuffer(0),
> m_StartingResLevel(0),
> m_inputR0Rect(),
> m_viewRect(),
> m_rectsDirty(true),
> m_MaxRecursionLevel(5),
> m_AutoUpdateInputTransform(true),
> m_MaxLevelsToCompute(999999), // something large so it will always compute
> m_averageViewToImageScale(1.0),
> m_averageViewToImageRLevelScale(0.0)
>
> {
> ossimViewInterface::theObject = this;
> m_Resampler = new ossimFilterResampler();
>
> loadState(ossimPreferences::instance()->preferencesKWL(), "renderer.");
> m_ImageViewTransform = imageViewTrans;
> }
>
> Thanks,Oscar
> On Thursday, June 6, 2019, 2:15:20 AM EDT, ghansham <notifications@github.com> wrote:
>
>
> It seems like the loadState being called from ossimImageRenderer constructor simply flushes the ossimImageViewTransform being passed in constructor. In loadState, it should check if ossimImageViewTransform is set, then it should not re-initialize it.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <https://github.com/ossimlabs/ossim/commit/bd036f40e218a40b071df33cc19bd276c59523b8?email_source=notifications&email_token=ABVG7SQC4Z3LEFHCHWL5QKDPZDU2BA5CNFSM4HU3HJO2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBAISQG#commitcomment-33835526>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABVG7SSFP6XMP7V7GOO7Q6LPZDU2BANCNFSM4HU3HJOQ>.
>


OK, thanks for the info. I'll put that into the documentation then.


@Atinux What do you think adding a log for here (only in dev mode), like `postcss-preset-env stage is configured as 1 for supporting tailwindcss features` ?


ahhhh

how did this work


 Hey Garrett,
I put in the fix. It was my bad.
Oscar
    On Thursday, June 6, 2019, 7:12:43 AM EDT, omarossim <notifications@github.com> wrote:

 Hello:

That seems strange to me for a loadState is suppose to do just that, load the entire state if it’s specified. Are there checks to see if ivt is specified in any way in the state object?

Take care

Garrett

> On Jun 6, 2019, at 6:59 AM, Oscar Kramer <notifications@github.com> wrote:
>
> Hi Ghansham,
> Good catch. I agree. Try the modification below. If it works for you, please modify in your branch and create a pull request on github against the "dev" branch.
> ossimImageRenderer::ossimImageRenderer(ossimImageSource *inputSource,
> ossimImageViewTransform *imageViewTrans)
> : ossimImageSourceFilter(inputSource),
> ossimViewInterface(0),
> m_Resampler(0),
> m_BlankTile(0),
> m_Tile(0),
> m_TemporaryBuffer(0),
> m_StartingResLevel(0),
> m_inputR0Rect(),
> m_viewRect(),
> m_rectsDirty(true),
> m_MaxRecursionLevel(5),
> m_AutoUpdateInputTransform(true),
> m_MaxLevelsToCompute(999999), // something large so it will always compute
> m_averageViewToImageScale(1.0),
> m_averageViewToImageRLevelScale(0.0)
>
> {
> ossimViewInterface::theObject = this;
> m_Resampler = new ossimFilterResampler();
>
> loadState(ossimPreferences::instance()->preferencesKWL(), "renderer.");
> m_ImageViewTransform = imageViewTrans;
> }
>
> Thanks,Oscar
> On Thursday, June 6, 2019, 2:15:20 AM EDT, ghansham <notifications@github.com> wrote:
>
>
> It seems like the loadState being called from ossimImageRenderer constructor simply flushes the ossimImageViewTransform being passed in constructor. In loadState, it should check if ossimImageViewTransform is set, then it should not re-initialize it.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <https://github.com/ossimlabs/ossim/commit/bd036f40e218a40b071df33cc19bd276c59523b8?email_source=notifications&email_token=ABVG7SQC4Z3LEFHCHWL5QKDPZDU2BA5CNFSM4HU3HJO2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBAISQG#commitcomment-33835526>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABVG7SSFP6XMP7V7GOO7Q6LPZDU2BANCNFSM4HU3HJOQ>.
>

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Oi Bruno,

Posso dar uma olhada, tem muitos anos que não trabalho com C...
Você saberia me adiantar qual problema está enfrentando?

Atenciosamente,
Mariéllen Ivo

Em qua, 5 de jun de 2019 às 23:31, BrunoBochi <notifications@github.com>
escreveu:

> ola saberia fazer rodar esse programa de loteria de fechamentos
> https://github.com/jrocha/cover/blob/master/CoverC.c
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/mivo/Algoritmos-de-jogos/commit/2f65d33005acb5d3cd4d116d0634160adae40f9b?email_source=notifications&email_token=AAFGECLNAIOA552RQJE6JLTPZBZHPA5CNFSM4HUVCKB2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBAIN2D#commitcomment-33830723>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAFGECK277JN3D4WXVR3QMDPZBZHPANCNFSM4HUVCKBQ>
> .
>

--

Especialista em Docência no Ensino Superior com Ênfase em EAD - Faculdades
Santo Agostinho
Bacharel em Sistemas de Informação - Unimontes
Analista de Sistemas no CEAD - Unimontes


Cool, did you notice anything that shouldn't be?


Word!


Uh, nope, haven't tested, just found a PWAD and uploaded it. Should I try in the evening?


'Great Surf & Turf :)',
       'Great food & staff! Try seasonal dishes, always a pleasant surprise!',
       'Nice lunch.  They have life jackets for kids who play near the water. Customer friendly!',
       'Great people, great service. Best come for morning coffee on a sunny day: fab view across the marina and lake beyond.',
       'Try the zero red wine',
       'NAP is super relaxed, at the harbour of IJburg. Nice menu, good prices and a friendly staff.',
       'Heerlijk op het terras in de zon genoten van de Surf & Turf! De Palombe witte wijn is hierbij heerlijk!',
       'Zomers genieten op IJburg? Neem plaats op het terras van NAP!',
       'Рыба дня всегда вкусна! И вино дня - тоже соглашайтесь, никогда еще не пожалела о своем выборе',
       'Heerlijk eten en geweldige bediening. Aanrader!',
       'Très agréable, clair, et nourriture très convenable. WC design très propres !',
       'Schuif aan tafel is altijd gezellig!!', 'Hoe cool is dit dan?!?!',
       "Na 'n middagje zeilen geland op IJburg #020 | Heerlijk terras #Summertime!",
       'Na n middagje zeilen nu geland op IJburg #020 | lekker in t zonnetje #Summertime!',
       'Wijntip: de Bernardus!!', 'De appeltaart!!', 'De appeltaart! :)',
       'Nieuwe lunchkaart',
       'Hmmm lekker gegeten en heerlijk gedronken! Met leuk gezelschap Jolanda Dolaard',
       'Prima surf+turf! #aanradert', 'Clubsandwich met superfrieten.',
       'Zie link :)', 'Altijd goed!!',
       'Heerlijk terras in de haven aan het water. Plof neer op een van de banken en relax..',
       'goede koffie, lekkere wijnen',
       'Ook leuk voor een vrijdagmiddagborrel!',
       'De tonijnsalade op bruin brood!',
       'Bij dit restaurant kun je zelf heel handig online je eigen tafel reserveren!',
       'Vraag Dylan om een carajillo voor je te maken. Heerlijk.',
       'De St Peter (postbokbier) is goed.',
       "Roerei'tje.. Zo verdomd lekker hier!",
       'lekker kreeft eten met uitzicht op Ijburger haventje.'


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

* https://havish.dev


Přidaly jsme tři články, každá svůj článek, který se váže k tématu Low Cost Cestování. K nim jsme přidaly vždy jeden obrázek za pomocí ISu, kde jsme si obrázky uložily a následně použily jejich odkazy k zobrazení obrázků na naší stránce. Obrázkům jsme daly stejné parametry viz width = "655, aby se zobrazily stejně velké.


Deployment failed with the following error:

~~~
The chosen alias "next-pwa-boilerplate.now.sh" is already in use by another account.
~~~


![](https://github.trello.services/images/mini-trello-icon.png) [Bij oma op bezoek](https://trello.com/c/uoUaiVBp/39-bij-oma-op-bezoek)


Successfully aliased the URL <https://ohjelmointi-19-1ps9zij09.now.sh> to the following aliases.

* https://ohjelmointi-19.mooc.fi
* https://ohjelmointi-19.mooc.now.sh
* https://ohjelmointi-19-git-master.mooc.now.sh


Successfully aliased the URL <https://com-2019-a7umykd4r.now.sh> to the following aliases.

* https://com-2019.andykenward.now.sh
* https://com-2019-git-master.andykenward.now.sh


LGTM


Are you sure this is the right fix (code doesn't fit description)?


@chelmuth: please add to staging


Successfully aliased the URL <https://com-2019-2g8yy3rlt.now.sh> to the following aliases.

* https://com-2019.andykenward.now.sh
* https://com-2019-git-master.andykenward.now.sh


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

Created multidev environment [ci-1](https://dashboard.pantheon.io/sites/89024662-b8d5-4474-a80d-7f50073a2c75#ci-1) for native-api.


🚀 (I was going to ping you about https://github.com/electron/electron/issues/9671#issuecomment-499251173 😄 but you're already on top of this 🙂)


[TestProjetJava-3.zip](https://github.com/VRouille/Projet-JAVA/files/3261335/TestProjetJava-3.zip)
Vincent trop fort a réussi


Sure, makes sense.  Something to look out for though.  Are there tools that help look for optimizations like this?


Will automatically VACUUM ANALYZE all tables in the database, no need to list them all.


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

* https://notes.gnab.fr
* https://notes.n6g7.now.sh
* https://notes-git-master.n6g7.now.sh


The nowait doesn't make sense in this context...


@strengejacke I would rather use the pd as the default p_value for Bayesian stuff as it is its direct equivalent (I've implemented a conversion in bayestestR `pd_to_p` that we can use.


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

* https://bapa.drepram.now.sh
* https://bapa-git-master.drepram.now.sh


>
>
> The studio can create files with assembler listings, where you can find out who owns this part of the code.
> What does turning off the expansion option still use SSE operations?

I don't know. That's why I'm puzzled. It's not like VS2017 has a bug that /arch:IA32 got ignored when using /fp:fast with sin/cos in code.
I tried to generate assembler listings with `/FAs`, but I couldn't find any xmm or SSE instruction in those .asm files, did I miss something?


Successfully aliased the URL <https://musiikin-teoria-material-nbp9cfu8f.now.sh> to the following aliases.

* https://musiikin-teoria.now.sh
* https://musiikin-teoria-material.mooc.now.sh
* https://musiikin-teoria-material-git-master.mooc.now.sh


Are we using https with an IP address ? Does this really makes sense ?
See also the this report: https://github.com/cobbler/cobbler/issues/1844


hmmmm, i see, it's good to copy to memory only when reusing that value, almost creating a "cache" inside the function?
thanks for that, i was really confused when it's a good time to copy to memory


![](https://github.trello.services/images/mini-trello-icon.png) [Mobile version of site](https://trello.com/c/LFGBJloo/31-mobile-version-of-site)


You an simply write
```
#ifdef _OPENMP
        #pragma omp parallel for
#endif
        for (int row = 0; row < H; row ++) {
            for (int col = 0; col < W; col++) {
                int c  = ri->XTRANSFC(row, col);                        // three colors,  0=R, 1=G,  2=B
                // Apply the multipliers
                rawData[row][col] *= mults[c];
            }
        }
    }

```

instead of
```
#ifdef _OPENMP
        #pragma omp parallel
#endif
        {

#ifdef _OPENMP
            #pragma omp for nowait
#endif
            for (int row = 0; row < H; row ++) {
                for (int col = 0; col < W; col++) {
                    int c  = ri->XTRANSFC(row, col);                        // three colors,  0=R, 1=G,  2=B
                    // Apply the multipliers
                    rawData[row][col] *= mults[c];
                }
            }
        }
    }
```


<title>
</title>


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

* https://whatcolourhoodieiskevinwearingtoday.com
* https://whatcolourhoodieiskevinwearingtodaycom.kevincarrogan.now.sh
* https://whatcolourhoodieiskevinwearingtodaycom-git-master.kevincarrogan.now.sh


<title> Fanbase </title>


commit


I.switchTo still uses indexes because so works in both chrome and firefox. Otherwise an error is thrown ('malformed parameter') in chrome.


Successfully aliased the URL <https://ohjelmointi-19-4i1x7qsbk.now.sh> to the following aliases.

* https://ohjelmointi-19.mooc.fi
* https://ohjelmointi-19.mooc.now.sh
* https://ohjelmointi-19-git-master.mooc.now.sh


HelloWorld


myBlog


Done: https://github.com/10up/distributor/issues/394


Hi, have you find any solution to make it work in unified interface?


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

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


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

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


Coverage remained the same at 100.0% when pulling 028004a on thapaphon21731:patch-1 into 5090557 on marionettejs:master


虚無過ぎて開発が続けられない.
再開は未定.
# ToDo
* ホスト名からIPあどれす => getaddrinfo()とか
* ログの最後の行が保存できない => shmget()とか, 共有メモリ?
* コメントの色付けがcisco固有のものだから, 削除を検討
* ソケット通信だと入力が偶に二重になる(仮想環境だと常に)


@samaaron - Interesting that the Travis build for this commit seems to have failed for Ruby 2.4.4: https://travis-ci.org/samaaron/sonic-pi/jobs/542196607
Could it be a race condition?


@haninaguib Yeah, it will be released in the next release.


can you explain better this gas refund ?


This is the same as:
```
db.legosets.aggregate([{
    $project: {
        productName: "$name",
        avgRating: { $avg: "$reviews.rating" }
    }
}])
```


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

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


Yep, it most definitely is. There are still some very gnarly bugs in the time state system and I haven't yet mustered the courage and focus to dive in and fix it.


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

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


edited typo and added trigger for down interfaces