[R/colors.R:19:17:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/colors.R#L19) *style:* **Commas should always have a space after.**
```r
    c('#EF0107','#023474','#9C824A')[1:n]
                ^
```
[R/colors.R:19:27:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/colors.R#L19) *style:* **Commas should always have a space after.**
```r
    c('#EF0107','#023474','#9C824A')[1:n]
                          ^
```
[R/estimate-vaf.R:10:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L10) *style:* **Lines should not be more than 120 characters.**
```r
#' @return Object containing expected VAFs if the tumor is on the major (\code{mcn}) or minor allele (\code{lcn}), respectively.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate-vaf.R:17:34:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L17) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                ~^~
```
[R/estimate-vaf.R:17:43:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L17) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                         ~^~
```
[R/estimate-vaf.R:17:51:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L17) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                                 ~^~
```
[R/estimate-vaf.R:19:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L19) *style:* **Lines should not be more than 120 characters.**
```r
    mcn_mut_alleles = (purity*mcn + (1-purity)) # number of mutated alleles in tumor if mcn, plus mut alleles in normal cells
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate-vaf.R:19:30:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L19) *style:* **Put spaces around all infix operators.**
```r
    mcn_mut_alleles = (purity*mcn + (1-purity)) # number of mutated alleles in tumor if mcn, plus mut alleles in normal cells
                            ~^~
```
[R/estimate-vaf.R:19:39:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L19) *style:* **Put spaces around all infix operators.**
```r
    mcn_mut_alleles = (purity*mcn + (1-purity)) # number of mutated alleles in tumor if mcn, plus mut alleles in normal cells
                                     ~^~
```
[R/estimate-vaf.R:20:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L20) *style:* **Lines should not be more than 120 characters.**
```r
    lcn_mut_alleles = (purity*lcn + (1-purity)) # number of mutated alleles in tumor if lcn, plus mut alleles in normal cells
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate-vaf.R:20:30:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L20) *style:* **Put spaces around all infix operators.**
```r
    lcn_mut_alleles = (purity*lcn + (1-purity)) # number of mutated alleles in tumor if lcn, plus mut alleles in normal cells
                            ~^~
```
[R/estimate-vaf.R:20:39:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L20) *style:* **Put spaces around all infix operators.**
```r
    lcn_mut_alleles = (purity*lcn + (1-purity)) # number of mutated alleles in tumor if lcn, plus mut alleles in normal cells
                                     ~^~
```
[R/estimate-vaf.R:22:32:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L22) *style:* **Put spaces around all infix operators.**
```r
    c(vaf_mcn = mcn_mut_alleles/tumor_normal_alleles, vaf_lcn = lcn_mut_alleles/tumor_normal_alleles)
                              ~^~
```
[R/estimate-vaf.R:22:80:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L22) *style:* **Put spaces around all infix operators.**
```r
    c(vaf_mcn = mcn_mut_alleles/tumor_normal_alleles, vaf_lcn = lcn_mut_alleles/tumor_normal_alleles)
                                                                              ~^~
```
[R/estimate-vaf.R:30:34:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L30) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                ~^~
```
[R/estimate-vaf.R:30:43:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L30) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                         ~^~
```
[R/estimate-vaf.R:30:51:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L30) *style:* **Put spaces around all infix operators.**
```r
    tumor_normal_alleles = purity*tcn + (1-purity)*2 # total number of alleles in sample
                                                 ~^~
```
[R/estimate-vaf.R:32:29:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L32) *style:* **Put spaces around all infix operators.**
```r
    mcn_mut_alleles = purity*mcn # number of mutated alleles in tumor if mcn, plus mut alleles in normal cells
                           ~^~
```
[R/estimate-vaf.R:33:29:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L33) *style:* **Put spaces around all infix operators.**
```r
    lcn_mut_alleles = purity*lcn # number of mutated alleles in tumor if lcn, plus mut alleles in normal cells
                           ~^~
```
[R/estimate-vaf.R:35:32:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L35) *style:* **Put spaces around all infix operators.**
```r
    c(vaf_mcn = mcn_mut_alleles/tumor_normal_alleles, vaf_lcn = lcn_mut_alleles/tumor_normal_alleles)
                              ~^~
```
[R/estimate-vaf.R:35:80:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/estimate-vaf.R#L35) *style:* **Put spaces around all infix operators.**
```r
    c(vaf_mcn = mcn_mut_alleles/tumor_normal_alleles, vaf_lcn = lcn_mut_alleles/tumor_normal_alleles)
                                                                              ~^~
```
[R/facets-closeup.R:37:18:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/facets-closeup.R#L37) *style:* **Variable or function name should be snake_case.**
```r
        fit$cncf$cnlr.median = fit$cncf$cnlr.median - out$dipLogR
                 ^~~~~~~~~~~
```
[R/ggplot2-themes.R:40:34:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L40) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.5,0.5,0.5,0.5), 'lines')
                                 ^
```
[R/ggplot2-themes.R:40:38:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L40) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.5,0.5,0.5,0.5), 'lines')
                                     ^
```
[R/ggplot2-themes.R:40:42:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L40) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.5,0.5,0.5,0.5), 'lines')
                                         ^
```
[R/ggplot2-themes.R:49:39:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L49) *style:* **Put spaces around all infix operators.**
```r
        line = element_line(size = .75*(.75/1.6), lineend = 'round'),
                                     ~^~
```
[R/ggplot2-themes.R:49:40:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L49) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        line = element_line(size = .75*(.75/1.6), lineend = 'round'),
                                       ^
```
[R/ggplot2-themes.R:49:44:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L49) *style:* **Put spaces around all infix operators.**
```r
        line = element_line(size = .75*(.75/1.6), lineend = 'round'),
                                          ~^~
```
[R/ggplot2-themes.R:57:63:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L57) *style:* **Put spaces around all infix operators.**
```r
        axis.line.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                             ~^~
```
[R/ggplot2-themes.R:57:64:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L57) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        axis.line.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                               ^
```
[R/ggplot2-themes.R:57:68:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L57) *style:* **Put spaces around all infix operators.**
```r
        axis.line.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                  ~^~
```
[R/ggplot2-themes.R:58:63:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L58) *style:* **Put spaces around all infix operators.**
```r
        axis.line.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                             ~^~
```
[R/ggplot2-themes.R:58:64:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L58) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        axis.line.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                               ^
```
[R/ggplot2-themes.R:58:68:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L58) *style:* **Put spaces around all infix operators.**
```r
        axis.line.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                  ~^~
```
[R/ggplot2-themes.R:60:64:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L60) *style:* **Put spaces around all infix operators.**
```r
        axis.ticks.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                              ~^~
```
[R/ggplot2-themes.R:60:65:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L60) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        axis.ticks.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                ^
```
[R/ggplot2-themes.R:60:69:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L60) *style:* **Put spaces around all infix operators.**
```r
        axis.ticks.x = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                   ~^~
```
[R/ggplot2-themes.R:61:64:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L61) *style:* **Put spaces around all infix operators.**
```r
        axis.ticks.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                              ~^~
```
[R/ggplot2-themes.R:61:65:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L61) *style:* **Place a space before left parenthesis, except in a function call.**
```r
        axis.ticks.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                ^
```
[R/ggplot2-themes.R:61:69:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L61) *style:* **Put spaces around all infix operators.**
```r
        axis.ticks.y = element_line(color = 'black', size = .75*(.75/1.6), lineend = 'round'),
                                                                   ~^~
```
[R/ggplot2-themes.R:67:35:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L67) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.25,0.5,0.25,0.25), 'lines')
                                  ^
```
[R/ggplot2-themes.R:67:39:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L67) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.25,0.5,0.25,0.25), 'lines')
                                      ^
```
[R/ggplot2-themes.R:67:44:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/ggplot2-themes.R#L67) *style:* **Commas should always have a space after.**
```r
        plot.margin = unit(c(0.25,0.5,0.25,0.25), 'lines')
                                           ^
```
[R/impact-genes.R:15:3:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/impact-genes.R#L15) *style:* **Commented code should be removed.**
```r
# impact_genes = fread('impact-468.txt')
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/impact-genes.R:16:3:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/impact-genes.R#L16) *style:* **Commented code should be removed.**
```r
# devtools::use_data(impact_genes)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/kpjmisc.R:10:3:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/kpjmisc.R#L10) *style:* **Place a space before left parenthesis, except in a function call.**
```r
if(getRversion() >= "2.15.1")  utils::globalVariables(c("."), add = FALSE)
  ^
```
[R/mutation-types.R:11:3:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/mutation-types.R#L11) *style:* **Commented code should be removed.**
```r
# save(coding_mutations, file = 'data/coding_mutations.rda')
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mutation-types.R:18:3:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/mutation-types.R#L18) *style:* **Commented code should be removed.**
```r
# save(truncating_mutations, file = 'data/truncating_mutations.rda')
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-stratton.R:15:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L15) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
{
^
```
[R/plot-stratton.R:49:41:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L49) *style:* **Commas should always have a space after.**
```r
            Reference_Allele %in% c('C','T'),
                                        ^
```
[R/plot-stratton.R:50:36:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                   ^
```
[R/plot-stratton.R:50:38:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                     ^
```
[R/plot-stratton.R:50:41:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                        ^
```
[R/plot-stratton.R:50:59:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                                          ^
```
[R/plot-stratton.R:50:75:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                                                          ^
```
[R/plot-stratton.R:50:77:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L50) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,2),Tumor_Seq_Allele2,str_sub(Ref_Tri,3,3)),
                                                                            ^
```
[R/plot-stratton.R:51:36:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                   ^
```
[R/plot-stratton.R:51:38:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                     ^
```
[R/plot-stratton.R:51:41:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                        ^
```
[R/plot-stratton.R:51:67:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                                                  ^
```
[R/plot-stratton.R:51:94:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                                                                ^
```
[R/plot-stratton.R:51:110:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                                                                ^
```
[R/plot-stratton.R:51:112:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L51) *style:* **Commas should always have a space after.**
```r
            paste0(str_sub(Ref_Tri,1,1),nt_comp[Reference_Allele],nt_comp[Tumor_Seq_Allele2],str_sub(Ref_Tri,3,3)))) %>%
                                                                                ^
```
[R/plot-stratton.R:52:39:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L52) *style:* **Commas should always have a space after.**
```r
        filter(str_sub(TriNuc_Context,2,2) != str_sub(TriNuc_Context,3,3)) %>%
                                      ^
```
[R/plot-stratton.R:52:41:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L52) *style:* **Commas should always have a space after.**
```r
        filter(str_sub(TriNuc_Context,2,2) != str_sub(TriNuc_Context,3,3)) %>%
                                        ^
```
[R/plot-stratton.R:52:70:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L52) *style:* **Commas should always have a space after.**
```r
        filter(str_sub(TriNuc_Context,2,2) != str_sub(TriNuc_Context,3,3)) %>%
                                                                     ^
```
[R/plot-stratton.R:52:72:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L52) *style:* **Commas should always have a space after.**
```r
        filter(str_sub(TriNuc_Context,2,2) != str_sub(TriNuc_Context,3,3)) %>%
                                                                       ^
```
[R/plot-stratton.R:57:42:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L57) *style:* **Put spaces around all infix operators.**
```r
        mutate(TriNuc_Frac = TriNuc_Count/sum(TriNuc_Count)) %>%
                                        ~^~
```
[R/plot-stratton.R:59:59:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                          ^
```
[R/plot-stratton.R:59:61:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                            ^
```
[R/plot-stratton.R:59:64:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                               ^
```
[R/plot-stratton.R:59:68:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                                   ^
```
[R/plot-stratton.R:59:91:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                                                ^
```
[R/plot-stratton.R:59:93:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L59) *style:* **Commas should always have a space after.**
```r
        mutate(Transition = paste0(str_sub(TriNuc_Context,2,2),'>',str_sub(TriNuc_Context,3,3)))
                                                                                ^
```
[R/plot-stratton.R:71:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L71) *style:* **Lines should not be more than 120 characters.**
```r
        scale_x_discrete(labels = paste0(str_sub(levels(trinuc_maf$TriNuc_Context),1,2), str_sub(levels(trinuc_maf$TriNuc_Context),4,4))) +
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-stratton.R:71:84:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L71) *style:* **Commas should always have a space after.**
```r
        scale_x_discrete(labels = paste0(str_sub(levels(trinuc_maf$TriNuc_Context),1,2), str_sub(levels(trinuc_maf$TriNuc_Context),4,4))) +
                                                                                ^
```
[R/plot-stratton.R:71:86:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L71) *style:* **Commas should always have a space after.**
```r
        scale_x_discrete(labels = paste0(str_sub(levels(trinuc_maf$TriNuc_Context),1,2), str_sub(levels(trinuc_maf$TriNuc_Context),4,4))) +
                                                                                ^
```
[R/plot-stratton.R:71:132:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L71) *style:* **Commas should always have a space after.**
```r
        scale_x_discrete(labels = paste0(str_sub(levels(trinuc_maf$TriNuc_Context),1,2), str_sub(levels(trinuc_maf$TriNuc_Context),4,4))) +
                                                                                ^
```
[R/plot-stratton.R:71:134:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L71) *style:* **Commas should always have a space after.**
```r
        scale_x_discrete(labels = paste0(str_sub(levels(trinuc_maf$TriNuc_Context),1,2), str_sub(levels(trinuc_maf$TriNuc_Context),4,4))) +
                                                                                ^
```
[R/plot-stratton.R:74:41:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L74) *style:* **Commas should always have a space after.**
```r
        scale_y_continuous(expand = c(0,0)) # +
                                        ^
```
[R/plot-stratton.R:75:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L75) *style:* **Lines should not be more than 120 characters.**
```r
        #geom_hline(yintercept = seq(0, max(as.numeric(trinuc_maf$TriNuc_Frac)), .05), col = 'white', size = .5, alpha = .5)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-stratton.R:75:10:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-stratton.R#L75) *style:* **Commented code should be removed.**
```r
        #geom_hline(yintercept = seq(0, max(as.numeric(trinuc_maf$TriNuc_Frac)), .05), col = 'white', size = .5, alpha = .5)
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-survival.R:34:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L34) *style:* **Use spaces to indent, not tabs.**
```r
	# Tidy data frame
^
```
[R/plot-survival.R:35:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L35) *style:* **Use spaces to indent, not tabs.**
```r
	sf = tidy(survfit_object)
^
```
[R/plot-survival.R:36:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L36) *style:* **Use spaces to indent, not tabs.**
```r
	if (!'strata' %in% names(sf)) sf$strata = ''
^
```
[R/plot-survival.R:38:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L38) *style:* **Use spaces to indent, not tabs.**
```r
	# Add start at 0, by stratum
^
```
[R/plot-survival.R:39:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L39) *style:* **Use spaces to indent, not tabs.**
```r
	top_rows = ldply(unique(sf$strata), function(s) {
^
```
[R/plot-survival.R:40:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L40) *style:* **Use spaces to indent, not tabs.**
```r
		sf_s = filter(sf, strata == s)
^~
```
[R/plot-survival.R:41:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L41) *style:* **Use spaces to indent, not tabs.**
```r
		c(strata = s, time = 0, n.risk = max(sf_s$n.risk),
^~
```
[R/plot-survival.R:42:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L42) *style:* **Use spaces to indent, not tabs.**
```r
			n.event = 0, n.censor = 0, estimate = 1, conf.high = 1, conf.low = 1)
^~~
```
[R/plot-survival.R:43:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L43) *style:* **Use spaces to indent, not tabs.**
```r
		})
^~
```
[R/plot-survival.R:45:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L45) *style:* **Use spaces to indent, not tabs.**
```r
	rbind.fill(sf, top_rows) %>%
^
```
[R/plot-survival.R:46:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L46) *style:* **Use spaces to indent, not tabs.**
```r
		mutate_at(vars(estimate, time), funs(as.numeric(.))) %>%
^~
```
[R/plot-survival.R:47:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L47) *style:* **Use spaces to indent, not tabs.**
```r
	    arrange(strata, time, desc(estimate))
^
```
[R/plot-survival.R:53:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L53) *style:* **Use spaces to indent, not tabs.**
```r
	survfit_object,
^
```
[R/plot-survival.R:54:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L54) *style:* **Use spaces to indent, not tabs.**
```r
	colors = NULL,
^
```
[R/plot-survival.R:55:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L55) *style:* **Use spaces to indent, not tabs.**
```r
	legend_title = NULL,
^
```
[R/plot-survival.R:56:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L56) *style:* **Use spaces to indent, not tabs.**
```r
	plot_title = NULL,
^
```
[R/plot-survival.R:57:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L57) *style:* **Use spaces to indent, not tabs.**
```r
	xmax = NULL,
^
```
[R/plot-survival.R:58:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L58) *style:* **Use spaces to indent, not tabs.**
```r
	parse_strata = FALSE,
^
```
[R/plot-survival.R:59:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L59) *style:* **Use spaces to indent, not tabs.**
```r
	x_lab = NULL,
^
```
[R/plot-survival.R:60:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L60) *style:* **Use spaces to indent, not tabs.**
```r
	y_lab = NULL,
^
```
[R/plot-survival.R:61:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L61) *style:* **Use spaces to indent, not tabs.**
```r
	legend_pos = NULL,
^
```
[R/plot-survival.R:62:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L62) *style:* **Use spaces to indent, not tabs.**
```r
	pval = TRUE,
^
```
[R/plot-survival.R:63:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L63) *style:* **Use spaces to indent, not tabs.**
```r
	pval_pos = NULL,
^
```
[R/plot-survival.R:64:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L64) *style:* **Use spaces to indent, not tabs.**
```r
	interval = NULL,
^
```
[R/plot-survival.R:65:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L65) *style:* **Use spaces to indent, not tabs.**
```r
	env_theme = TRUE,
^
```
[R/plot-survival.R:66:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L66) *style:* **Use spaces to indent, not tabs.**
```r
	table = FALSE
^
```
[R/plot-survival.R:67:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L67) *style:* **Use spaces to indent, not tabs.**
```r
	) {
^
```
[R/plot-survival.R:71:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L71) *style:* **Use spaces to indent, not tabs.**
```r
	if (is.null(legend_title)) {
^
```
[R/plot-survival.R:72:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L72) *style:* **Use spaces to indent, not tabs.**
```r
		# legend_title = stringi::stri_trans_totitle(str_extract(names(survfit_object$strata), '^.*(?=\\=)')[1])
^~
```
[R/plot-survival.R:72:5:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L72) *style:* **Commented code should be removed.**
```r
		# legend_title = stringi::stri_trans_totitle(str_extract(names(survfit_object$strata), '^.*(?=\\=)')[1])
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-survival.R:73:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L73) *style:* **Use spaces to indent, not tabs.**
```r
		legend_title = ''
^~
```
[R/plot-survival.R:74:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L74) *style:* **Use spaces to indent, not tabs.**
```r
	}
^
```
[R/plot-survival.R:75:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L75) *style:* **Use spaces to indent, not tabs.**
```r
	if (length(survfit_object$strata)>1) {
^
```
[R/plot-survival.R:75:35:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L75) *style:* **Put spaces around all infix operators.**
```r
	if (length(survfit_object$strata)>1) {
                                 ~^~
```
[R/plot-survival.R:76:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L76) *style:* **Use spaces to indent, not tabs.**
```r
		# s_labels = str_c(str_extract(names(survfit_object$strata), '(?<==).*'), ' (n=', survfit_object$n, ')')
^~
```
[R/plot-survival.R:76:5:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L76) *style:* **Commented code should be removed.**
```r
		# s_labels = str_c(str_extract(names(survfit_object$strata), '(?<==).*'), ' (n=', survfit_object$n, ')')
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/plot-survival.R:77:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L77) *style:* **Use spaces to indent, not tabs.**
```r
	    s_labels = str_c(str_extract(names(survfit_object$strata), '(?<==).*'))
^
```
[R/plot-survival.R:78:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L78) *style:* **Use spaces to indent, not tabs.**
```r
		if (parse_strata) s_labels = str_replace(s_labels, c('FALSE|0','TRUE|1'), c('WT','Mut'))
^~
```
[R/plot-survival.R:78:66:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L78) *style:* **Commas should always have a space after.**
```r
		if (parse_strata) s_labels = str_replace(s_labels, c('FALSE|0','TRUE|1'), c('WT','Mut'))
                                                                 ^
```
[R/plot-survival.R:78:84:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L78) *style:* **Commas should always have a space after.**
```r
		if (parse_strata) s_labels = str_replace(s_labels, c('FALSE|0','TRUE|1'), c('WT','Mut'))
                                                                                ^
```
[R/plot-survival.R:79:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L79) *style:* **Use spaces to indent, not tabs.**
```r
		sf = mutate(sf, strata = mapvalues(strata, names(survfit_object$strata), s_labels))
^~
```
[R/plot-survival.R:80:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L80) *style:* **Use spaces to indent, not tabs.**
```r
		names(survfit_object$strata) = str_extract(names(survfit_object$strata), '(?<==).*')
^~
```
[R/plot-survival.R:81:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L81) *style:* **Use spaces to indent, not tabs.**
```r
	} else {
^
```
[R/plot-survival.R:82:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L82) *style:* **Use spaces to indent, not tabs.**
```r
		sf$strata = ''
^~
```
[R/plot-survival.R:83:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L83) *style:* **Use spaces to indent, not tabs.**
```r
		s_labels = str_c('n=', survfit_object$n)
^~
```
[R/plot-survival.R:84:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L84) *style:* **Use spaces to indent, not tabs.**
```r
		legend_pos = 'none'
^~
```
[R/plot-survival.R:85:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L85) *style:* **Use spaces to indent, not tabs.**
```r
	}
^
```
[R/plot-survival.R:87:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L87) *style:* **Use spaces to indent, not tabs.**
```r
	if (is.null(x_lab)) x_lab = 'Time'
^
```
[R/plot-survival.R:88:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L88) *style:* **Use spaces to indent, not tabs.**
```r
	if (is.null(y_lab)) y_lab = 'Survival function'
^
```
[R/plot-survival.R:89:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L89) *style:* **Use spaces to indent, not tabs.**
```r
	if (is.null(xmax)) {
^
```
[R/plot-survival.R:90:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L90) *style:* **Use spaces to indent, not tabs.**
```r
	    xmax = 1.04*max(sf$time)
^
```
[R/plot-survival.R:90:17:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L90) *style:* **Put spaces around all infix operators.**
```r
	    xmax = 1.04*max(sf$time)
               ~^~
```
[R/plot-survival.R:91:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L91) *style:* **Use spaces to indent, not tabs.**
```r
	} else {
^
```
[R/plot-survival.R:92:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L92) *style:* **Use spaces to indent, not tabs.**
```r
	    sf = filter(sf, time <= xmax) %>%
^
```
[R/plot-survival.R:93:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L93) *style:* **Use spaces to indent, not tabs.**
```r
	        add_row(strata = unique(sf$strata), time = xmax) %>%
^
```
[R/plot-survival.R:94:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L94) *style:* **Use spaces to indent, not tabs.**
```r
	        arrange(strata, time) %>%
^
```
[R/plot-survival.R:95:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L95) *style:* **Use spaces to indent, not tabs.**
```r
	        tidyr::fill(n.risk, n.event, n.censor, estimate) %>%
^
```
[R/plot-survival.R:96:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L96) *style:* **Use spaces to indent, not tabs.**
```r
	        group_by(strata) %>%
^
```
[R/plot-survival.R:97:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L97) *style:* **Use spaces to indent, not tabs.**
```r
	        filter(
^
```
[R/plot-survival.R:98:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L98) *style:* **Use spaces to indent, not tabs.**
```r
	            !( (time == xmax & n.risk == n.event) & (lag(n.risk) == lag(n.event) )) &
^
```
[R/plot-survival.R:98:16:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L98) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
	            !( (time == xmax & n.risk == n.event) & (lag(n.risk) == lag(n.event) )) &
               ^
```
[R/plot-survival.R:98:82:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L98) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
	            !( (time == xmax & n.risk == n.event) & (lag(n.risk) == lag(n.event) )) &
                                                                                ^
```
[R/plot-survival.R:99:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L99) *style:* **Use spaces to indent, not tabs.**
```r
	            !(time == xmax & lag(n.risk) == 1 & lag(n.censor) == 1)) %>%
^
```
[R/plot-survival.R:100:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L100) *style:* **Use spaces to indent, not tabs.**
```r
	        ungroup
^
```
[R/plot-survival.R:101:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L101) *style:* **Use spaces to indent, not tabs.**
```r
	}
^
```
[R/plot-survival.R:104:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L104) *style:* **Use spaces to indent, not tabs.**
```r
	sf_plot = ggplot(data = sf) +
^
```
[R/plot-survival.R:105:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L105) *style:* **Use spaces to indent, not tabs.**
```r
		geom_step(aes(x = time, y = estimate, group = strata, color = strata), direction = 'hv') +
^~
```
[R/plot-survival.R:106:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L106) *style:* **Use spaces to indent, not tabs.**
```r
		geom_point(data = filter(sf, n.censor == 1), aes(x = time, y = estimate, color = strata), shape= '|',
^~
```
[R/plot-survival.R:106:98:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L106) *style:* **Put spaces around all infix operators.**
```r
		geom_point(data = filter(sf, n.censor == 1), aes(x = time, y = estimate, color = strata), shape= '|',
                                                                                ~^
```
[R/plot-survival.R:107:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L107) *style:* **Use spaces to indent, not tabs.**
```r
			show.legend = F) +
^~~
```
[R/plot-survival.R:108:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L108) *style:* **Use spaces to indent, not tabs.**
```r
	    scale_y_continuous(expand = c(0,0), limits = c(-.01,1.04),
^
```
[R/plot-survival.R:108:38:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L108) *style:* **Commas should always have a space after.**
```r
	    scale_y_continuous(expand = c(0,0), limits = c(-.01,1.04),
                                     ^
```
[R/plot-survival.R:108:58:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L108) *style:* **Commas should always have a space after.**
```r
	    scale_y_continuous(expand = c(0,0), limits = c(-.01,1.04),
                                                         ^
```
[R/plot-survival.R:109:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L109) *style:* **Use spaces to indent, not tabs.**
```r
	                       breaks = seq(0, 1, .25), labels = function(x) 100*x) +
^
```
[R/plot-survival.R:109:74:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L109) *style:* **Put spaces around all infix operators.**
```r
	                       breaks = seq(0, 1, .25), labels = function(x) 100*x) +
                                                                        ~^~
```
[R/plot-survival.R:110:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L110) *style:* **Use spaces to indent, not tabs.**
```r
	    scale_color_manual(values = brewer.pal(8, 'Paired'),
^
```
[R/plot-survival.R:111:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L111) *style:* **Use spaces to indent, not tabs.**
```r
	                       labels = function(x) {
^
```
[R/plot-survival.R:112:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L112) *style:* **Use spaces to indent, not tabs.**
```r
	                           str_c(x, ' (n=', survfit_object$n[match(x, names(survfit_object$strata))], ')')
^
```
[R/plot-survival.R:113:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L113) *style:* **Use spaces to indent, not tabs.**
```r
	                       }) +
^
```
[R/plot-survival.R:114:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L114) *style:* **Use spaces to indent, not tabs.**
```r
		theme(line = element_line(lineend = 'round'),
^~
```
[R/plot-survival.R:115:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L115) *style:* **Use spaces to indent, not tabs.**
```r
		      legend.position = c(1,1), legend.justification = c(1,1),
^~
```
[R/plot-survival.R:115:31:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L115) *style:* **Commas should always have a space after.**
```r
		      legend.position = c(1,1), legend.justification = c(1,1),
                              ^
```
[R/plot-survival.R:115:62:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L115) *style:* **Commas should always have a space after.**
```r
		      legend.position = c(1,1), legend.justification = c(1,1),
                                                             ^
```
[R/plot-survival.R:116:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L116) *style:* **Use spaces to indent, not tabs.**
```r
		      legend.title = element_text(size = theme_get()$legend.text$size),
^~
```
[R/plot-survival.R:117:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L117) *style:* **Use spaces to indent, not tabs.**
```r
		      legend.text = element_text(size = theme_get()$legend.text$size),
^~
```
[R/plot-survival.R:118:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L118) *style:* **Use spaces to indent, not tabs.**
```r
		      axis.line.x = element_blank(),
^~
```
[R/plot-survival.R:119:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L119) *style:* **Use spaces to indent, not tabs.**
```r
		      axis.line.y = element_blank(),
^~
```
[R/plot-survival.R:120:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L120) *style:* **Use spaces to indent, not tabs.**
```r
		      # panel.border = element_rect(size = .75, color = 'black', linetype = 'solid', fill = NA),
^~
```
[R/plot-survival.R:121:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L121) *style:* **Use spaces to indent, not tabs.**
```r
		      panel.background = element_rect(fill = NA),
^~
```
[R/plot-survival.R:122:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L122) *style:* **Use spaces to indent, not tabs.**
```r
		      plot.title = element_text(vjust = -1),
^~
```
[R/plot-survival.R:123:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L123) *style:* **Use spaces to indent, not tabs.**
```r
		      aspect.ratio = 1) +
^~
```
[R/plot-survival.R:124:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L124) *style:* **Use spaces to indent, not tabs.**
```r
		labs(x = x_lab, y = y_lab, color = legend_title) +
^~
```
[R/plot-survival.R:125:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L125) *style:* **Use spaces to indent, not tabs.**
```r
	    coord_cartesian(clip = 'off')
^
```
[R/plot-survival.R:127:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L127) *style:* **Use spaces to indent, not tabs.**
```r
	if (!is.null(interval)) {
^
```
[R/plot-survival.R:128:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L128) *style:* **Use spaces to indent, not tabs.**
```r
	    sf_plot = sf_plot +
^
```
[R/plot-survival.R:129:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L129) *style:* **Use spaces to indent, not tabs.**
```r
	        scale_x_continuous(expand = c(.01,0), limits = c(0, xmax), breaks = seq(0, xmax, interval))
^
```
[R/plot-survival.R:129:44:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L129) *style:* **Commas should always have a space after.**
```r
	        scale_x_continuous(expand = c(.01,0), limits = c(0, xmax), breaks = seq(0, xmax, interval))
                                           ^
```
[R/plot-survival.R:130:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L130) *style:* **Use spaces to indent, not tabs.**
```r
	} else {
^
```
[R/plot-survival.R:132:47:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L132) *style:* **Commas should always have a space after.**
```r
            scale_x_continuous(expand = c(.01,0), limits = c(0, xmax), breaks = scales::pretty_breaks(n = 4))
                                              ^
```
[R/plot-survival.R:133:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L133) *style:* **Use spaces to indent, not tabs.**
```r
	}
^
```
[R/plot-survival.R:135:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L135) *style:* **Use spaces to indent, not tabs.**
```r
	# Calculate p-value
^
```
[R/plot-survival.R:136:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L136) *style:* **Use spaces to indent, not tabs.**
```r
	if (pval & length(survfit_object$strata)>1) {
^
```
[R/plot-survival.R:136:42:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L136) *style:* **Put spaces around all infix operators.**
```r
	if (pval & length(survfit_object$strata)>1) {
                                        ~^~
```
[R/plot-survival.R:137:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L137) *style:* **Use spaces to indent, not tabs.**
```r
	    sf_call = as.character(survfit_object$call)
^
```
[R/plot-survival.R:138:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L138) *style:* **Use spaces to indent, not tabs.**
```r
	    sf_call = paste0(gsub('survfit', 'survdiff', sf_call[1]), '(', sf_call[2], ',data=', sf_call[3],')')
^
```
[R/plot-survival.R:138:102:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L138) *style:* **Commas should always have a space after.**
```r
	    sf_call = paste0(gsub('survfit', 'survdiff', sf_call[1]), '(', sf_call[2], ',data=', sf_call[3],')')
                                                                                ^
```
[R/plot-survival.R:139:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L139) *style:* **Use spaces to indent, not tabs.**
```r
	    sd = eval(parse(text = sf_call))
^
```
[R/plot-survival.R:140:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L140) *style:* **Use spaces to indent, not tabs.**
```r
	    pval = 1 - pchisq(sd$chisq, length(sd$n) - 1)
^
```
[R/plot-survival.R:141:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L141) *style:* **Use spaces to indent, not tabs.**
```r
	    if (pval <= 1e-03) { pval = scales::scientific_format(digits = 3)(pval) } else { pval = round(pval, 3) }
^
```
[R/plot-survival.R:141:25:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L141) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	    if (pval <= 1e-03) { pval = scales::scientific_format(digits = 3)(pval) } else { pval = round(pval, 3) }
                        ^
```
[R/plot-survival.R:141:78:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L141) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	    if (pval <= 1e-03) { pval = scales::scientific_format(digits = 3)(pval) } else { pval = round(pval, 3) }
                                                                             ^
```
[R/plot-survival.R:141:85:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L141) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	    if (pval <= 1e-03) { pval = scales::scientific_format(digits = 3)(pval) } else { pval = round(pval, 3) }
                                                                                ^
```
[R/plot-survival.R:141:109:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L141) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	    if (pval <= 1e-03) { pval = scales::scientific_format(digits = 3)(pval) } else { pval = round(pval, 3) }
                                                                                ^
```
[R/plot-survival.R:142:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L142) *style:* **Use spaces to indent, not tabs.**
```r
	    if (length(unique(sf$strata))==2) {
^
```
[R/plot-survival.R:142:35:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L142) *style:* **Put spaces around all infix operators.**
```r
	    if (length(unique(sf$strata))==2) {
                                 ~^~~
```
[R/plot-survival.R:143:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L143) *style:* **Use spaces to indent, not tabs.**
```r
	        cp_call = gsub('survdiff', 'coxph', sf_call)
^
```
[R/plot-survival.R:144:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L144) *style:* **Use spaces to indent, not tabs.**
```r
	        cp = eval(parse(text = cp_call))
^
```
[R/plot-survival.R:145:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L145) *style:* **Use spaces to indent, not tabs.**
```r
	        hr = round(exp(cp$coefficients), 2)
^
```
[R/plot-survival.R:146:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L146) *style:* **Use spaces to indent, not tabs.**
```r
	        big_n = cp$n
^
```
[R/plot-survival.R:147:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L147) *style:* **Use spaces to indent, not tabs.**
```r
	        pval = str_c('N=', big_n, '\nHR=', hr, '\nP-value ', pval)
^
```
[R/plot-survival.R:148:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L148) *style:* **Use spaces to indent, not tabs.**
```r
	    } else {
^
```
[R/plot-survival.R:149:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L149) *style:* **Use spaces to indent, not tabs.**
```r
	    	big_n = sum(survfit_object$n)
^~~~~~
```
[R/plot-survival.R:150:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L150) *style:* **Use spaces to indent, not tabs.**
```r
	    	pval = str_c('N=', big_n, '\nP-value ', pval)
^~~~~~
```
[R/plot-survival.R:151:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L151) *style:* **Use spaces to indent, not tabs.**
```r
	    }
^
```
[R/plot-survival.R:152:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L152) *style:* **Use spaces to indent, not tabs.**
```r
	    if (is.null(pval_pos)) { pval_x = 0; pval_y = 0 } else { pval_x = pval_pos[1]; pval_y = pval_pos[2] }
^
```
[R/plot-survival.R:152:29:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L152) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	    if (is.null(pval_pos)) { pval_x = 0; pval_y = 0 } else { pval_x = pval_pos[1]; pval_y = pval_pos[2] }
                            ^
```
[R/plot-survival.R:152:54:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L152) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	    if (is.null(pval_pos)) { pval_x = 0; pval_y = 0 } else { pval_x = pval_pos[1]; pval_y = pval_pos[2] }
                                                     ^
```
[R/plot-survival.R:152:61:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L152) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
	    if (is.null(pval_pos)) { pval_x = 0; pval_y = 0 } else { pval_x = pval_pos[1]; pval_y = pval_pos[2] }
                                                            ^
```
[R/plot-survival.R:152:106:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L152) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
	    if (is.null(pval_pos)) { pval_x = 0; pval_y = 0 } else { pval_x = pval_pos[1]; pval_y = pval_pos[2] }
                                                                                ^
```
[R/plot-survival.R:153:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L153) *style:* **Use spaces to indent, not tabs.**
```r
	    sf_plot = sf_plot + annotate('text', x = pval_x, y = pval_y, label = pval,
^
```
[R/plot-survival.R:154:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L154) *style:* **Use spaces to indent, not tabs.**
```r
	                                 size = rel(2.5), vjust = -.25, hjust = 0, family = 'ArialMT')
^
```
[R/plot-survival.R:155:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L155) *style:* **Use spaces to indent, not tabs.**
```r
	    if (all(legend_pos==0)) legend_pos = c(1,1); legend_just = c(1,1)
^
```
[R/plot-survival.R:155:24:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L155) *style:* **Put spaces around all infix operators.**
```r
	    if (all(legend_pos==0)) legend_pos = c(1,1); legend_just = c(1,1)
                      ~^~~
```
[R/plot-survival.R:155:47:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L155) *style:* **Commas should always have a space after.**
```r
	    if (all(legend_pos==0)) legend_pos = c(1,1); legend_just = c(1,1)
                                              ^
```
[R/plot-survival.R:155:69:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L155) *style:* **Commas should always have a space after.**
```r
	    if (all(legend_pos==0)) legend_pos = c(1,1); legend_just = c(1,1)
                                                                    ^
```
[R/plot-survival.R:156:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L156) *style:* **Use spaces to indent, not tabs.**
```r
	}
^
```
[R/plot-survival.R:158:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L158) *style:* **Use spaces to indent, not tabs.**
```r
	sf_plot = sf_plot +
^
```
[R/plot-survival.R:159:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L159) *style:* **Use spaces to indent, not tabs.**
```r
	    theme(legend.position = legend_pos, legend.justification = legend_just,
^
```
[R/plot-survival.R:160:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L160) *style:* **Use spaces to indent, not tabs.**
```r
	          legend.title = element_text(size = theme_get()$legend.text$size))
^
```
[R/plot-survival.R:162:1:](https://github.com/kpjonsson/kpjmisc/blob/c7df7f130f07376f0a49f61d75c9ed129086a192/R/plot-survival.R#L162) *style:* **Use spaces to indent, not tabs.**
```r
	if (!is.null(plot_title)) sf_plot = sf_plot + ggtitle(plot_title)
^
```


This commit also changed default downscaling macroeconomic indicator fin_mode to 'pc' (produced capital) instead of 'income_group' (GDP*incomegroup+1).


I've already pushed another commit for that... but on second thought I'm not sure that is enough.

Should "::1" in the certificate match "0::1"? Should "127.0.0.1" compare to "127.1"? If so, I'll need to change that a bit again... do you know any relevant RFCs?


Please remove unused imports


Import duplication


Successfully aliased the URL <https://voisey-website-mkecsiaxyy.now.sh> to the following alias.

* https://www.voisey.app


No need


[R/est_marg_liks_from_models.R:113:1:](https://github.com/richelbilderbeek/mcbette/blob/3412c910fda2a09ff2cd2f587bb15b3f90e1bd0f/R/est_marg_liks_from_models.R#L113) *style:* **Lines should not be more than 80 characters.**
```r
        paste0("Log evidence for model ", i, "/", n_rows, ": ", marg_log_liks[i])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-est_marg_liks_from_models.R:14:1:](https://github.com/richelbilderbeek/mcbette/blob/3412c910fda2a09ff2cd2f587bb15b3f90e1bd0f/tests/testthat/test-est_marg_liks_from_models.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
  beast2_options <- beastier::create_beast2_options(beast2_path = beastier::get_default_beast2_bin_path())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


ok


@lolmaus we could do that. Your `.load()` is more or less what the existing `.runJob()` would do! It has an additional "delay" feature. This was used in some project IIRC to prevent hiding and showing the indicator after each other (like something is loaded in service A, then service B load something, and in between you don't want the indicator to be hidden and show up again). But I guess I have to put some more work in here to make the semantics more consistent/predictable...


Size can be of lr and should be create after taking input for lr
For reference: https://github.com/dgr8akki/Algo-Ds/commit/dfaf08def96f2c7cecd0a6ee800cb9ff65a28c32


Need modification


No worries!

adrian tried to do a snaphot under systemd and then couldn't access his
home folder during the snapshot process.  It looked like it vanished.

It turns out that under systemd, if you do a bind-mount, you end up
navigating the bind-mount rather than the host file system.  so when the
adrian did a "reset accounts" snapshot, and an empty folder is bind-mounted
to /home, his home folder looked like it disappeared, when in fact he was
navigating the bind-mount chain from / on down.   It took a while to figure
out what was going on.   the make-slave switch on the bind mount keeps the
relationship as it is under sysVinit.

In the end, its just more explicit definition of the bind-mount.    I was
going to push the change to remaster-antiX (I've clone the gitlab repo so I
could do a pull request later) after a little testing time under MX, since
most MX users are using sysV as well.

On Thu, Feb 14, 2019 at 8:59 AM anticapitalista <notifications@github.com>
wrote:

> Why the change? just asking, not disagreeing.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/MX-Linux/mx-remaster/commit/a71e2ec6a8464b157a3a26dcb55f33c6a26ba6b0#commitcomment-32318827>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGYIfZp7l6-pLdM9mgZQtpf9MRhVyI5Rks5vNWupgaJpZM4a7ppL>
> .
>


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

* https://ohjelmointi-19.mooc.fi


Pai asa s-au gandit la curs meniurile, orice input in afara de optiunile disponibile va fi considerat invalid, asa ca am mers pe aceeasi linie. O sa revin asupra lor.


added react-rails config and fruit seeds to database.


yellow added


IBM Cloud [toolchain](https://console.bluemix.net/devops/toolchains/79896af4-5215-492a-aac5-aba531ef9fa0?env_id=ibm%3Ayp%3Aus-south "marbles-tc-20190214105835611"): [Delivery Pipeline](https://console.bluemix.net/devops/pipelines/a58008f8-0716-4f02-8915-b0412a0d9ac9?env_id=ibm%3Ayp%3Aus-south "marbles-20190214105835611") deployed [marbles-20190214105835611](https://github.com/maurogiacomello/marbles-20190214105835611/releases/tag/deploy-ibm-yp-us-south-mauro.giacomello-it.ibm.com-dev-20190214-141426 "deploy-ibm-yp-us-south-mauro.giacomello-it.ibm.com-dev-20190214-141426") to [dev](https://console.bluemix.net/apps/914decae-5327-491c-94fe-d75c1af64d89?env_id=ibm:yp:us-south "ibm:yp:us-south:mauro.giacomello@it.ibm.com:dev"), including this commit


Successfully aliased the URL <https://tsx-docs-q4svkchdv.now.sh> to the following alias.

* https://tsx-docs.now.sh


It is possible, of course. I resigned it, because Irq is an abstract class and I did not want to first define a concrete class inside Timer just to implement its `occurred` function. From my viewpoint it seemed ok to treat the timer object as something which is an interrupt handler. But if you like, I can change that.


Thanks. So systemd again being a paiin.


Successfully aliased the URL <https://tsx-docs-hsdtla84b.now.sh> to the following alias.

* https://tsx-docs.now.sh


Yes.  Much so.

On Thu, Feb 14, 2019, 9:17 AM anticapitalista <notifications@github.com
wrote:

> Thanks. So systemd again being a paiin.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/MX-Linux/mx-remaster/commit/a71e2ec6a8464b157a3a26dcb55f33c6a26ba6b0#commitcomment-32319071>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGYIfXBhjiYb4i8k-kzdvXn6SXF0ZQ90ks5vNXALgaJpZM4a7ppL>
> .
>


i think the issue is that this line should be `getUser` not `getProfile`


I am starting the library management system from scratch can anyone help me


>But not everyone wants or can pay for "perfect" software or has the time for that.

I hope that we can help a bit more with better software development tools.

>Not sure which provided values you mean.

* Would you like to perform any useful data processing together with handler identifications?
* How do you think about to put it into an additional resource group together with the function “g_signal_handler_disconnect”?

>that is something that has to be considered from case to case.

Should every non-positive return value from a call of the function “g_signal_connect_data” be interpreted as a software failure according to the programming interface documentation?


Successfully aliased the URL <https://tsx-docs-mwg1ggr43.now.sh> to the following alias.

* https://tsx-docs.now.sh


`Any job identification parameters considered obsolete, please, use Get-RSJob for this`

Why to obsolete identification parameters? I use *Batch* very often to remove jobs at the end of function:
```powershell
$batch = ([Guid]::NewGuid()).Guid
Start-RSJob -Batch $batch {...}
Remove-RSJob -Batch $batch -Force
```
It's more elegant than following code:
```powershell
Get-RSJob -Batch $batch | Remove-RSJob -Force
```
And I still need *Batch* parameter to identify all jobs started by specific function anyways. Please **do not obsolete** the *Batch* parameter.

In addition the warning message is displayed also when *Force* switch is specified and that's bug I guess.


Mostly I just find already made pixel art and just type it into a new
cowsay file one line at a time.

2 spaces = 1 pixel, and the variables are just changing the background
color for all spaces following it which is why every line ends with a $x
(turns off background color). So you just go line by line typing 2 spaces
per pixel (the color switch variables also have a double space in them so
everything lines up)

On Wed, Feb 13, 2019, 15:51 jakewarren <notifications@github.com wrote:

> @charc0al <https://github.com/charc0al> these are amazing!! Thanks for
> sharing. Can you give some pointers on your process for building/drawing
> these? I'm not much of an artist but I would love to contribute (or at
> least attempt to 😄 ).
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/charc0al/cowsay-files/commit/866be51b4f58cf157b6023d707830167e741718b#commitcomment-32309301>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ATAtlIkYppz-I_oLEMtCLF1metGn-efjks5vNIjDgaJpZM4a6WTk>
> .
>


Oh wow, that really is a trivial fix. :)


Linux4.9 CONFIG_BPF_JIT=y, kernel compilation error

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.


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

* https://ohjelmointi-19.mooc.fi


(Changed links)


It did actually end up working like this in the end.  The naming is so weird.


need revert!


As I explained in the comment of `waitForQuestionPane` I cannot since I'm also using JobQuestionPane to check if a job is blocked by another one. And in that case I cannot wait for the same elements.


comment test.


Many thanks for your answers!!
When will the new version be ready? A few days more, or a few weeks?
Do you already have a working code compilation? If you need, i can help you to test and compile


typo


Successfully aliased the URL <https://distance-learning-lp-pnssqfierr.now.sh> to the following alias.

* https://lp.onlineschool.ru


This works really nicely - cool to see the effect the various aspect ratios have on the chart and the redraws are pretty much instantaneous. Thanks for adding in.


My remark was not meant as a mandatory change but I rather wanted to highlight my ambition to avoid public inheritance whenever possible. In the concrete case, I'd be comfortable with turning the `public Kernel::Irq` into a private inheritance (which is almost the same as hosting a private member).

On a related note, it would be good to annotate the `occurred` method with the `override` keyword, which makes the purpose of the base class more obvious. When I reviewed the code (without being very familiar with it), I looked out for virtual methods and did not immediately saw that the `occurred` method implements the `Irq` interface.


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


Successfully aliased the URL <https://tietgen-festival-i1roi92up.now.sh> to the following alias.

* https://tietgenfestival.dk


they are when initially expanded (initialized) see the merge data for where we keep the oldest... but until we split runtime coverage from startup coverage last_updated_at isn't too helpful.


Excellent work!


Top ! Merci, je regarde cela.

Le jeu. 14 févr. 2019 à 13:57, Guillaume Plique <notifications@github.com>
a écrit :

> @BenjmnG <https://github.com/BenjmnG> ça y est. Il y a maintenant une
> page par type de production. Le composant reçoit la liste filtrée en
> fonction et tu reçois un nouvel argument qui s'appelle group et qui
> contient soit all soit le nom du groupe en question.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/medialab/website/commit/31caff670595654de4193c1278f40de7e08988f0#commitcomment-32318047>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJ0lrlhZTR8InIvVg35gozw01nBIo1bFks5vNV1IgaJpZM4a7ibT>
> .
>


Yea all code is done currently the compile is working but not spitting out the exe file for some reason. If you want to play around with some compiles that would be great.


ecorm,

I spent a lot of time trying the find the root of the issue. Reading the WAMP specification, emailing the crossbar team, debugging the crossbar and its dependencies, analyzing TCP/IP packets and debugging the cppwamp. When I finally find the BUG and propose a fix, you come with a “similar” solution and take all the credit.
Just know that I was really happy to contribute to cppwamp and become a part of the open source community. But you killed all the joy and I will never contribute to cppwamp again!


The `(double decibel = 0.0)` default argument here seems to break compilation on Clang for me.
`error: addition of default argument on redeclaration makes this constructor a default constructor`
See: https://stackoverflow.com/questions/18313509/default-argument-gcc-vs-clang


This change seems spurious


![](https://github.trello.services/images/mini-trello-icon.png) [(Sismed) Solicitação de Relatório de atendimentos de urgência e emergência](https://trello.com/c/i65SrunD/67-sismed-solicita%C3%A7%C3%A3o-de-relat%C3%B3rio-de-atendimentos-de-urg%C3%AAncia-e-emerg%C3%AAncia)


@jeremyfifty9 Are you satisfied with redirecting from here (or higher up in the hierarchy as the exception moves along) to our future error page (which I am working on), or do you prefer another route of handling errors for when email is not configured?


No PF implemented on this one


![](https://github.trello.services/images/mini-trello-icon.png) [تعریف نوع درب](https://trello.com/c/a8m32Cip/4-%D8%AA%D8%B9%D8%B1%DB%8C%D9%81-%D9%86%D9%88%D8%B9-%D8%AF%D8%B1%D8%A8)


-Added incrementing variable to represent memory locations.
-Adjusted input and output to match test3_out_dis.txt.
-Adjusted file read to strip newline (\n) from each line.

(I goofed on the original commit message...)


很喜歡這個從 Youtube 播放音樂的想法


I found a case where using `getReportCovariance=FALSE` in this line gives an error, but `getReportCovariance=TRUE` works. The error is
```
Error in if (all(Dphi.random == 0)) { :
  missing value where TRUE/FALSE needed
```
Digging through the steps of `sdreport`, I'm guessing that the problem begins when `NaN`s are introduced in this step `phi <- try(obj2$fn(par), silent=TRUE)`.  Then the error occurs on line 245 of `sdreport.R` with `tmp <- lapply(seq_along(phi), doDeltaMethod)`.

So I'm wondering if we want this to be optionally true for some boundary cases? I'll go ask @kaskr when he's out of a meeting. I can't post the model publicly.


Corpses still rot. Maybe they should, otherwise permanent footrice weapons. Hmm...


Java


Dommage pour toi j'ai changé le mot de passe | Password Changed XDXD


goooooood


Oh and I removed velocity in this build, going to use css for animations


Du coup on aura plus le comportement 'title-1', puis 'title-2' c'est pas fou


contributer num3


I just compared this version of remaster with the latest I have for antiX at gitlab, and there are quite a few differences. Particularly with this file. Something is wrong.


heat-emission (XuanLuoLBL) - x86_64-Linux-Ubuntu-18.04-gcc-7.3-IntegrationCoverage-Debug: OK (2467 of 2469 tests passed, 0 test warnings)

Failures:

integration Test Summary
 * Passed: 638
 * Timeout: 2

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


Hello @creat89 I see many jar dependencies in this commit. Is it possible to remove them and use Tycho instead?


fix comment (remove VR)


check bitmap class attrs


heat-emission (XuanLuoLBL) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (3 of 3 tests passed, 0 test warnings)

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


Using grid-base approach was a very bad decision, performance was very bad and had a lot limitations because of that. I'll use K-Tree instead. Because of this new decision, there's no real reason to use Phaser 2 anymore, the project need to switch to Phaser 3.


add TODO comments


pour le SEO ?


f


its possible.  I haven't updated it in a long time.  just added that switch
this time.   I pulled that last set of persist scripts from bitjam's repo
probably.

On Thu, Feb 14, 2019 at 9:44 AM anticapitalista <notifications@github.com>
wrote:

> I just compared this version of remaster with the latest I have for antiX
> at gitlab, and there are quite a few differences. Particularly with this
> file. Something is wrong.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/MX-Linux/mx-remaster/commit/a71e2ec6a8464b157a3a26dcb55f33c6a26ba6b0#commitcomment-32319433>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGYIfVqOaex3BQxW06tQ4lDfFG_9_3nmks5vNXY4gaJpZM4a7ppL>
> .
>


typo


![](https://github.trello.services/images/mini-trello-icon.png) [[predial] fix(Ficha social - Unidad Social Residente): no abre ficha social](https://trello.com/c/kmPv2kQc/38-predial-fixficha-social-unidad-social-residente-no-abre-ficha-social)


更新ありがとうございます。問題ないのでマージします!!


Oops, this commit is breaking compilation with MSVC 2017:

```
1>C:\git_repos\sqlitebrowser\src\sqlitedb.cpp(995): error C2039: 'isspace': is not a member of 'std'
```


Exception when piping output of  **Wait-RSJob** with *StopTimedOutJobs* switch to **Receive-RSJob**:
```powershell
1..5|Start-RSJob -Batch 'Test' -ScriptBlock {Start-Sleep -Seconds (Get-Random -Minimum 1 -Maximum 10)}
Wait-RSJob -Batch 'Test' -Timeout 3 -PerJobTimeout -StopTimedOutJobs | Receive-RSJob
```
Exception:
```powershell
Exception calling "EndInvoke" with "1" argument(s): "The pipeline has been stopped."
```


æ


In fact I'll have to make significant changes to the docs as the API changes quite a lot (hence the semver major change). The primary intent is to simplify the collection API and to provide full types for all options and responses.

The Graph{Vertex|Edge}Collection API will be restricted to Gharial and DocumentCollection/EdgeCollection will only differ in typings, not in implementation. So there's no longer a "base type" all four inherit from, just one Collection type with two interfaces and the separate graph-specific ones that are different.


cool


we need object ModelAndView


I can look into it tonight.  the intent is that the persist scripts are the
same.  Looks like the last time I syned them was almost a year ago.

On Thu, Feb 14, 2019 at 9:47 AM Dolphin Oracle <dolphinoracle@gmail.com>
wrote:

> its possible.  I haven't updated it in a long time.  just added that
> switch this time.   I pulled that last set of persist scripts from bitjam's
> repo probably.
>
> On Thu, Feb 14, 2019 at 9:44 AM anticapitalista <notifications@github.com>
> wrote:
>
>> I just compared this version of remaster with the latest I have for antiX
>> at gitlab, and there are quite a few differences. Particularly with this
>> file. Something is wrong.
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/MX-Linux/mx-remaster/commit/a71e2ec6a8464b157a3a26dcb55f33c6a26ba6b0#commitcomment-32319433>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AGYIfVqOaex3BQxW06tQ4lDfFG_9_3nmks5vNXY4gaJpZM4a7ppL>
>> .
>>
>


@samdark Can we remove spaces after type cast? like this `$intValue = (int)$input;`
If not, maybe we should clarify this in the proposal.


正式名称なので問題なし


Have a look at the antiX-remaster gitlab file(s). I think I have the latest.


![](https://github.trello.services/images/mini-trello-icon.png) [تعریف نوع درب](https://trello.com/c/a8m32Cip/4-%D8%AA%D8%B9%D8%B1%DB%8C%D9%81-%D9%86%D9%88%D8%B9-%D8%AF%D8%B1%D8%A8)


gdal should enable geos


Dirk...

Can you post a link to the tileset file?
Thanks
Dave


What about the issues you recently included in your email that were discussed in Tokyo?


Successfully aliased the URL <https://nteract-site-faudxovjxt.now.sh> to the following alias.

* https://nteract.io


check neighbor and nexthop


Chose kernel and keep track of it within the object


absolutely no redirecting from the service layer.


Check whether kernel is linear in order to pass svorex the proper argument (1:linear/0:other)


double check unique key


improve readability


Can this be merge into 3.4?


mac + vni ?


stop saving train set, as it leads to dramatic memory usage in case of large dataset.


Maybe provide a constructor accepting a boolean parameter?


you're sure it's working? the places that use the `getProfile` method are limited (i.e., none): https://github.com/EnvironmentalDashboard/community-voices/search?q=getProfile&unscoped_q=getProfile


I think we talked about dropping internal contact as a field and changing this to agency contact?  In which case it wouldn't necessarily be a person in the system (i.e. bound by the same person ID convention as the other fields), but would definitely be more likely to be text.  I agree with Shen that in the absence of guidance about person IDs needing to be int we should make all person fields text.


Seems like this should have been bumped up to `11` as well, yes?  🙂


Successfully aliased the URL <https://tsx-docs-e99dras9z.now.sh> to the following alias.

* https://tsx-docs.now.sh


fit method to call when the train dataset has not been saved in the model. Meaning, it is saved in the matlab workspace instead.


@jeremyfifty9 Besides this all just being generally ugly and terrible, for some reason the `processRequest` function is not defined from the context of the catch block??  Does that make any sense to you?  I guess this is at the point where a front controller should just be made.


When order is not relevant, it's much better to use `contain_exactly`

``` ruby
expect(site.groups.pluck(:name)).to contain_exactly("moderators", group.name)
```


This still doesn't look good to me. The Page object returned must be in a good state before it's returned to the test.


Make sure the methods aren’t static


is this a bug? shouldn't it be ```nansat_option```?


See https://piazza.com/class/jpvslumjke240?cid=91

These are now supported.


Created multidev environment [rescue-x-base#master-test](https://dashboard.pantheon.io/sites/39804e8f-253e-474e-82cf-725b36fddde0#master-test).

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


There are several ways to fix this:
* Have a JobQuestionPane() PO + a BlockedJobQuestionPane() one. or have 2 constructors
* Make sure to wait in the methods inside JobQuestionPane() that requires the elements to be present. Preferred IMO.


Everything not stated explicitly in the rules is just an example of a possible way to have it. For example, namespaces such as `test\my\name` are valid according to PSR despite the fact that `Test\My\Name` style is used in examples.


Fuuuuuuuuck!! Thank you! 😩


Isn't `</>` supposed to be used to avoid writing "/" ourselves?
Instead of `tmpDir </> "/" </> toS nid </> "/" </> "persistent"`, it could be `tmpDir </> toS nid </> "persistent"`

https://hackage.haskell.org/package/filepath-1.4.2.1/docs/System-FilePath-Posix.html#v:-60--47--62-


For example in this case, it seems you need to wait before calling isEmpty(), so inside isEmpty() you could wait (you could even check if the job is blocked and only wait if it's not blocked).


Corrected fatal memory leak


Corrected fata memory leak


@robobenklein If you log ```atom.getSize()``` in the callback, you get the current size. I am just unsure what is passed in as an argument to the anonymous function from the guy's solution.

Will look at if we can catch that event because that would be beneficial


This was a new feature. That's why it was merged into the `4.1` development branch at that time. We never add new features in patch releases.


Corrected memory leak


Oops. Must have been find-and-replace gone wrong. Thanks.


dddddd


Oh haha, yeah that'd make sense


@Sammidysam i really do not like how this is set up, to be honest. but the issue is you switch from camel case to underscores


Code style


Ok I will.  Its been a while anyway (March, so MX 17.1 probably).

On Thu, Feb 14, 2019 at 9:51 AM anticapitalista <notifications@github.com>
wrote:

> Have a look at the antiX-remaster gitlab file(s). I think I have the
> latest.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/MX-Linux/mx-remaster/commit/a71e2ec6a8464b157a3a26dcb55f33c6a26ba6b0#commitcomment-32319547>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGYIffSN3zeWCC_exZguoMwTWK7blNTfks5vNXf4gaJpZM4a7ppL>
> .
>


thank you for sharing. I am struggling


When performing iterative fits (e.g. crossvalidation), data allocated by calloc via matlab->mex was not released. using mxCalloc solves this problem. Also removed some commented codes.


it's a bit crazy for me that this happens. You regularize the cov in the test and still the numerics tell you that you have negative eigen values. We should see why and theoretically it should not happen.


multiple_hvac_fractions (nmerket) - x86_64-Linux-Ubuntu-18.04-gcc-7.3: OK (3132 of 3138 tests passed, 2 test warnings)

Messages:

 * 8 tests had: EIO diffs.
 * 3 tests had: ERR diffs.
 * 5 tests had: ESO big diffs.
 * 4 tests had: MTR big diffs.
 * 6 tests had: Table big diffs.
 * 3 tests had: ESO small diffs.
 * 2 tests had: MTR small diffs.
 * 2 tests had: Table small diffs.

Failures:

regression Test Summary
 * Passed: 648
 * Failed: 6

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


I believe this is because you have docs in a `docs` folder and a `docs` layout under `_default`.


## Jenkins Build Summary

Built from [this commit](https://github.com/scottschurr/rippled/commit/10ac500779e75ee8110b33e49b6a0242a8caecb5)

Built at __20190214 - 15:09:55__

### Test Results

Build Type | Log | Result | Status
---------- | --- | ------ | ------
rpm | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/rpm.txt) | 1145 cases, 0 failed, t: n/a | PASS :white_check_mark:
msvc.Debug | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/msvc.Debug.txt) | 1142 cases, 0 failed, t: 629s | PASS :white_check_mark:
msvc.Debug,
NINJA_BUILD=true | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/msvc.Debug_NINJA_BUILD_true.txt) | 1142 cases, 0 failed, t: 640s | PASS :white_check_mark:
msvc.Debug
-Dunity=OFF | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/msvc.Debug_Dunity_OFF.txt) | 1142 cases, 0 failed, t: 1281s | PASS :white_check_mark:
msvc.Release | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/msvc.Release.txt) | 1142 cases, 0 failed, t: 414s | PASS :white_check_mark:
gcc.Release
-Dassert=ON,
MANUAL_TESTS=true | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Release_Dassert_ON_MANUAL_TESTS_true.txt) | 915 cases, 0 failed, t: 6m9s | PASS :white_check_mark:
docs,
TARGET=docs | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/docs_TARGET_docs.txt) | 1 cases, 0 failed, t: 0m1s | PASS :white_check_mark:
clang.Debug | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/clang.Debug.txt) | 1145 cases, 0 failed, t: 3m14s | PASS :white_check_mark:
gcc.Debug
-Dcoverage=ON,
TARGET=coverage_report,
SKIP_TESTS=true | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug_Dcoverage_ON_TARGET_coverage_report_SKIP_TESTS_true.txt) | 1145 cases, 0 failed, t: 17m20s | PASS :white_check_mark:
gcc.Debug | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug.txt) | 1145 cases, 0 failed, t: 3m30s | PASS :white_check_mark:
clang.Debug
-Dunity=OFF | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/clang.Debug_Dunity_OFF.txt) | 1145 cases, 0 failed, t: 9m57s | PASS :white_check_mark:
clang.Release
-Dassert=ON | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/clang.Release_Dassert_ON.txt) | 1145 cases, 0 failed, t: 5m42s | PASS :white_check_mark:
gcc.Debug
-Dunity=OFF | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug_Dunity_OFF.txt) | 1145 cases, 0 failed, t: 12m4s | PASS :white_check_mark:
gcc.Release
-Dassert=ON | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Release_Dassert_ON.txt) | 1145 cases, 0 failed, t: 6m10s | PASS :white_check_mark:
gcc.Debug
-Dstatic=OFF | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug_Dstatic_OFF.txt) | 1145 cases, 0 failed, t: 3m29s | PASS :white_check_mark:
gcc.Debug
-Dstatic=OFF -DBUILD_SHARED_LIBS=ON | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug_Dstatic_OFF_DBUILD_SHARED_LIBS_ON.txt) | 1145 cases, 0 failed, t: 3m26s | PASS :white_check_mark:
gcc.Debug,
NINJA_BUILD=true | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/gcc.Debug_NINJA_BUILD_true.txt) | 1145 cases, 0 failed, t: 3m4s | PASS :white_check_mark:
clang.Debug
-Dunity=OFF -Dsan=address,
PARALLEL_TESTS=false,
DEBUGGER=false | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/clang.Debug_Dunity_OFF_Dsan_address_PARALLEL_TESTS_false_DEBUGGER_false.txt) | 1145 cases, 0 failed, t: 10m2s | PASS :white_check_mark:
clang.Debug
-Dunity=OFF -Dsan=undefined,
PARALLEL_TESTS=false | [logfile](http://ci.ops.ripple.com/job/scott-schurr-rippled/job/no-dynamic-sfield/2//artifact/clang.Debug_Dunity_OFF_Dsan_undefined_PARALLEL_TESTS_false.txt) | 1145 cases, 0 failed, t: 12m12s | PASS :white_check_mark:


> you could even check if the job is blocked and only wait if it's not blocked

Actually I'd need to do that in all methods of JobQuestionPane.
I prefer the solution to have two PO then. Or even better, I could put the blocker check in the global PO we have for checking the status of a Delete/Create/Rename job. I'll go in that direction.


These are [Internal Templates](https://gohugo.io/templates/internal/) you can use to avoid duplication. If they don't meet your needs please give the Hugo repo an issue so others may benefit from a more robust set of structured data.


This breaks backwards compatibility without deprecation.


atlantis plan


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

* https://justool.now.sh


This uses pulls automatically from config so you don't have to maintain code everyone and their brother is using.


multiple_hvac_fractions (nmerket) - x86_64-Linux-Ubuntu-18.04-cppcheck-1.82: OK (0 of 0 tests passed, 0 test warnings)

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


This is the secret sauce right here.


> * Would you like to perform any useful data processing together with handler identifications?

I can not answer this for sure. I have not yet used GTK.

> * How do you think about to put it into an additional resource group together with the function “g_signal_handler_disconnect”?

There is the chapter "Memory management of signal handlers" at https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-connect-data:

> "**Memory management of signal handlers**
> If you are connecting handlers to signals and using a GObject instance as your signal handler user data, you should remember to pair calls to g_signal_connect() with calls to g_signal_handler_disconnect() or g_signal_handlers_disconnect_by_func(). While signal handlers are automatically disconnected when the object emitting the signal is finalised, they are not automatically disconnected when the signal handler user data is destroyed. If this user data is a GObject instance, using it from a signal handler after it has been finalised is an error.
>
> There are two strategies for managing such user data. The first is to disconnect the signal handler (using g_signal_handler_disconnect() or g_signal_handlers_disconnect_by_func()) when the user data (object) is finalised; this has to be implemented manually. For non-threaded programs, g_signal_connect_object() can be used to implement this automatically. Currently, however, it is unsafe to use in threaded programs.
>
> The second is to hold a strong reference on the user data until after the signal is disconnected for other reasons. This can be implemented automatically using g_signal_connect_data().
>
> The first approach is recommended, as the second approach can result in effective memory leaks of the user data if the signal handler is never disconnected for some reason."

What i read from it is that there are cases where disconnect has to be called and there are cases where this is done automatically. This depends also on the type of a parameter.
That is something that Cppcheck can not (yet) verify.
So we can not add it to a resource group without producing totally wrong messages.

> Should every non-positive return value from a call of the function “g_signal_connect_data” be interpreted as a software failure according to the programming interface documentation?

0 means something went wrong. Everything else means success as far as i understand.


I'm confused. I thought the `waterfall` size coordinates where in absolute scale. In https://codepen.io/MojtabaSamimi/pen/MLqKEj?editors=0010 you have the `y` coordinates in relative scale i.e. the `size[i]` is the sum of all `y[j], j=0,i-1`. Please correct me if I'm wrong.

Moreover, here how would `operator: '-'` be different than having negative `y` values?


A simpler "fix" that doesn't require any editing ... courtesy of an answer from [this post](https://stackoverflow.com/questions/53985425/no-sql-option-on-export-of-a-table-in-phpmyadmin) on StackOverflow:

Select the db, then check next to the table, select export under "with selected" and you will get the SQL option.