[R/as-points.R:6:1:](https://github.com/kpjonsson/kpjmisc/blob/45bab5cbc16e1402caf2dedfa27c85d6fc026616/R/as-points.R#L6) *style:* **Lines should not be more than 120 characters.**
```r
#' @param input_unit Unit of \code{x}, default is millimeters which is default in \code{ggplot2::geom_text}, among other functions.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/colors.R:23:17:](https://github.com/kpjonsson/kpjmisc/blob/45bab5cbc16e1402caf2dedfa27c85d6fc026616/R/colors.R#L23) *style:* **Commas should always have a space after.**
```r
    c('#EF0107','#023474','#9C824A')[1:n]
                ^
```
[R/colors.R:23:27:](https://github.com/kpjonsson/kpjmisc/blob/45bab5cbc16e1402caf2dedfa27c85d6fc026616/R/colors.R#L23) *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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/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/45bab5cbc16e1402caf2dedfa27c85d6fc026616/R/plot-survival.R#L159) *style:* **Use spaces to indent, not tabs.**
```r
	    theme(legend.position = legend_pos, legend.justification = legend_just,
^
```


[Core] Fixed not applying intent color for icon inside tree node (#3355)

Previews: documentation | landing | table


The mission can now setup paths that include water zones.

Still to do:
- A way to easily distinguish between land and water paths
- Division pre-saved paths should include an alternate land path if the current best path is a water path


That’s up to you as you know your use case better than I do :)


It is handled in line 121.


You need to make this github repo private


ahh I see


I would recommend creating a bug on bugs.swift.org, I would recommend installing sphinx-build if possible. If you can't install it, build script has a flag to disable building docs.


Overall regarding the tests.

1) Coverage 62%<70%
Name                   Stmts   Miss  Cover   Missing
----------------------------------------------------
pycalc.py                  1      0   100%
pycalc/operations.py      30      4    87%   17-19, 40
pycalc/rpn.py             78     42    46%   30-62, 82, 89-95, 101-104, 111-116, 122, 128
pycalc/stack.py           13      0   100%
----------------------------------------------------
TOTAL                    122     46    62%
----------------------------------------------------------------------
Ran 10 tests in 0.013s

FAILED (errors=6)

2. Please mock and parametrization if needed to cover complicated cases and test which mocked functions were called or not.

3. Unit-tests originally about testing a small parts of code but not real data.


'---------------VBA CODE---------------

Sub Wall_Street()

'Loop through all worksheets
Dim ws As Worksheet
For Each ws In Worksheets

        ' Create Variable to hold ticker symbols
        Dim ticker As String

        ' Create variable to hold annual stock volume and set value as naught
        Dim total_stock_volume As Double
        total_stock_volume = 0

        ' Create variables to hold open, close, yearly change and percent change metrics
        Dim year_open As Single
        Dim year_close As Single
        Dim year_change As Double
        Dim percent_change As Double

        ' Define location of summary table
        Dim summary_table As Integer
        summary_table = 2

        ' Print summary table headers
        ws.Range("I1").Value = "Ticker"
        ws.Range("J1").Value = "Yearly Change"
        ws.Range("K1").Value = "Percent Change"
        ws.Range("L1").Value = "Total Stock Volume"
        ws.Range("P1").Value = "Ticker"
        ws.Range("Q1").Value = "Value"

        ' Define last row as num_rows
        Dim num_rows As Double
        num_rows = Cells(Rows.Count, "A").End(xlUp).Row

            'Loop through all stock volume data
            For i = 2 To num_rows

                ' Ensure we're in the same ticker symbol, if not then...
                If ws.Cells(i + 1, 1).Value <> ws.Cells(i, 1).Value Then

                    '---------------------TOTAL STOCK VOLUME CALCULATION ---------------------

                    ' Define location of ticker symbol
                    ticker = ws.Cells(i, 1).Value

                    ' Add stock volume to total_volume
                    total_stock_volume = total_stock_volume + ws.Cells(i, 7).Value

                    ' Print ticker symbol in summary_table
                    ws.Range("I" & summary_table).Value = ticker

                    ' Print total_stock_volume in summary_table
                    ws.Range("L" & summary_table).Value = total_stock_volume

                    '---------------------YEAR CHANGE CALCULATION ---------------------
                    ' Sheet 2016 has more dates (rows) than the other sheet therefore....
                    '...Ensure that sheetname isn't 2016 then...
                    If ws.Name <> 2016 Then

                    ' Set location of open price
                    year_open = ws.Cells(i - 260, 3).Value

                    ' Set location of close price
                    year_close = ws.Cells(i, 6).Value

                    ' Calculate yearly change per ticker
                    year_change = year_close - year_open

                    ' Print yearly change in summary table
                    ws.Range("J" & summary_table).Value = year_change

                    Else

                    'If sheetname is 2016 then...
                    ' Set location of open price
                    year_open = ws.Cells(i - 261, 3).Value

                    ' Set location of close price
                    year_close = ws.Cells(i, 6).Value

                    ' Calculate yearly change per ticker
                    year_change = year_close - year_open

                    ' Print yearly change in summary table
                    ws.Range("J" & summary_table).Value = year_change

                    End If

                    '---------------------PERCENT CHANGE CALCULATION ---------------------

                    ' Check that year open variable contains no zero values if it those then set percent_change value as naught
                    If (year_open = 0) Then

                        percent_change = 0

                     Else

                        ' If values do not contain zero values then...
                        percent_change = (year_change / year_open)

                        ' Print percent change in summary table
                         ws.Range("K" & summary_table).Value = Format(percent_change, "percent")

                     End If

                    ' Add 1 row to the summary_table (to hold next ticker symbol)
                    summary_table = summary_table + 1

                    ' Reset total_stock_volume to naught (to ensure next ticker symbol doesn't aggregate)
                    total_stock_volume = 0

                ' If the next cell contains the same ticker variable...
                Else

                    ' Add to the total_stock_volume
                    total_stock_volume = total_stock_volume + ws.Cells(i, 7).Value

                End If

            Next i

        '---------------------HARD SECTION : Sub Summary (Max/Min Yealrly Change Values)---------------------
        'Create variables to hold last row and percentage change column
        Dim lastrow As Integer
        lastrow = ws.Cells(Rows.Count, "J").End(xlUp).Row
        rng = ws.Range("K2:K" & lastrow)
        rngvol = ws.Range("L2:L" & lastrow)

        ' Find max and min values within range
        max_value = Application.WorksheetFunction.Max(rng)
        min_value = Application.WorksheetFunction.Min(rng)
        max_volume = Application.WorksheetFunction.Max(rngvol)

            ' Loop through percent change column
            For j = 2 To lastrow

                ' Check to see which value is equal max percent change value
                If ws.Cells(j, 11).Value = max_value Then

                    ' Mark sub summary headers
                    ws.Range("P1").Value = "Ticker"
                    ws.Range("Q1").Value = "Value"
                    ws.Cells(2, 15).Value = "Greatest % Increase"

                    ' Pull and print max value ticker symbol in sub summary table
                    ws.Cells(2, 16).Value = ws.Cells(j, 9).Value

                    ' Pull, format and print max value in sub summary table
                    ws.Cells(2, 17).Value = Format(max_value, "Percent")

                End If

                ' Check to see which value is equal min percent change value
                If ws.Cells(j, 11).Value = min_value Then

                    ' Mark sub summary header
                    ws.Cells(3, 15).Value = "Greatest % Increase"

                    ' Pull and print min value ticker symbol in sub summary table
                    ws.Cells(3, 16).Value = ws.Cells(j, 9).Value

                    ' Pull, format and print min value in sub summary table
                    ws.Cells(3, 17).Value = Format(min_value, "Percent")

                End If

                ' Check which value is equal to max total volume
                If ws.Cells(j, 12).Value = max_volume Then

                    ' Mark sub summary header
                    ws.Cells(4, 15).Value = "Greatest Total Volume"

                    ' Pull and print max total volume ticker symbol in sub summary table
                    ws.Cells(4, 16).Value = ws.Cells(j, 9).Value

                    ' Pull, format and print max volume in sub summary table
                    ws.Cells(4, 17).Value = max_volume

                End If

            '---------------------COLOUR FORMATTING---------------------

                ' If yearly change is more than naught then format cell interior green
                If (ws.Cells(j, 10).Value > 0) Then

                    ws.Cells(j, 10).Interior.ColorIndex = 4

                   ' If it's less than naught then format cell interior red
                ElseIf (ws.Cells(j, 10).Value < 0) Then
                    ws.Cells(j, 10).Interior.ColorIndex = 3

                Else
                    ws.Cells(j, 10).Interior.ColorIndex = 0

                    End If

            Next j

            '--------------------- FORMATTING HEADERS BOLD---------------------

           ws.Range("A1:Q1").Font.Bold = True
           ws.Range("O2:O5").Font.Bold = True

    Next ws

End Sub


@reibelj You need to run the `black` formatter before committing your work! Check your practicals or ask your team leader for instructions.


Please resolve issues.


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


![](https://github.trello.services/images/mini-trello-icon.png) [T3 - Reorganize home page](https://trello.com/c/3NLwYRz3/3-t3-reorganize-home-page)


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


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


Is this why free code camp stopped checking my code??? Put it back!!


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


Yes, it can be done. Do you want to do it yourself?


Assalamualaikum pa maaf ada kesalahan nama commit harusnya ini vidio Eps-23


_Busted!_

It's kind of a technicality to bring these up now because we're only starting to transition from more self-contained, script-like Python, to using classes. The game "runner" or whatever it ends up being will handle the actual playing of the game - this board just needs to be able to take care of itself.

In any case, it's also a good sign - you're testing your code to make sure it does what it's supposed to!


Should the docs for `eqv?` say something about `+nan.t`?

I was just looking at the test failures in https://github.com/racket/typed-racket/pull/806 and wasn't sure if TR was wrong to compare extflonums with `eqv?`.


Assalamualaikum wr.wb
Pa ini harusnya episode 23


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

Created multidev environment [ci-2](https://dashboard.pantheon.io/sites/bb458244-e311-4581-b3a5-c2ceb7f573c5#ci-2) for build-tools-1177.


Successfully aliased the URL <https://blog-9dnx4psql.now.sh> to the following alias.

* https://harrison.dev


FINANCE: 'Hal terpenting bagi pengguna untuk mengetahui tentang cryptocurrency adalah bahwa mereka sepenuhnya membalikkan model yang umum diterima tentang cara kerja keuangan.'

Apa nggak enaknya diganti. 'Hal terpenting untuk diketahui oleh pengguna mengenai cryptocurrency adalah kebalikan dari cara kerja yang telah umum digunakan dalam dunia keuangan.'


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

Created multidev environment [ci-2](https://dashboard.pantheon.io/sites/63107bd1-cd0d-4b72-bd64-05af93c26fc2#ci-2) for build-tools-1176.


 RESPONSIBILITY: 'Namun, dalam kata-kata Paman Ben Parker, dengan kekuatan besar datang tanggung jawab besar.'

'Namun, dengan mengutip kata-kata Paman Ben Parker, didalam kekutan besar ada tanggung jawab besar pula.'


Now could not deploy this pull request since it contains the following references to invalid secrets in the `env` sections of the `now.json` file:

* `twitter-token` (in env: `TWITTER_TOKEN)`
* `twitter-secret` (in env: `TWITTER_SECRET)`
* `serverless-express-cook-key` (in env: `COOK_KEY)`
* `deepai-key` (in env: `DEEPAI_KEY)`

Add those secrets or remove them from the `env` maps in the `now.json` file.


SECURITY: 'Keamanan akun Anda sepenuhnya terserah Anda.'

'Keamanan akun sepenuhnya tanggungjawab anda'


Now could not deploy this pull request since it contains the following references to invalid secrets in the `env` sections of the `now.json` file:

* `prismaendpoint` (in env: `PRISMA_ENDPOINT)`

Add those secrets or remove them from the `env` maps in the `now.json` file.


TITLE: 'Tanggung jawabmu',

'Tanggung Jawab anda'


Any ideas why I can't see the contributions I've made? Since I started using the command line my profile is omitted from the contributions page. Tried troubleshooting but no luck. Seems like a bug.


galigeigei


Created multidev environment [hscrb#ci-104](https://dashboard.pantheon.io/sites/06f9bf1c-27cc-4fe9-8eda-f88f153eb347#ci-104).

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


Thank you! Good call!!


You're right – the docs need to be updated to mention extflonums. I'll add that.


大佬怎么到这就没了,你代码不完整把


req.hostname is not referred in _handleTrustProxy or _ipAsRemoteAddress... Did you mean req.hostname is irrelevant?


二叉树的镜像


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

Created multidev environment [ci-2](https://dashboard.pantheon.io/sites/d8d00fac-b104-4915-8469-37eca170fdec#ci-2) for build-tools-1185.


Looks good to me.


calling  `req.headers['x-forwarded-host']` depends on if `ip` is `undefined`... can checking the ip be done in the object assignment?

```javascript
  function _handleTrustProxy (req) {
    return {
      ip: proxyAddr(req, proxyFn),
      ips: proxyAddr.all(req, proxyFn),
      hostname: // this.ip !== undefined ?  req.headers['x-forwarded-host']
  }


nice catch 👍


You can wrap these three lines in `if ENV["CI"]`


> Looks good to me.

Thank you, Alek.


Heads up! You marked the project as using the LGPL, but this file contains the text of the full GPL. This creates ambiguity around the licensing.


Well crap, I was mostly hoping to make it easier to track changes in between releases :( Sorry for the break.


See a word you don't understand? We've included an emoji 📖 next to some key terms. Click on it to see its definition.


dev merge


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

Created multidev environment [ci-2](https://dashboard.pantheon.io/sites/6881acb3-f659-48a4-9817-5108cdb9822c#ci-2) for build-tools-278.


Aaaand you broke Py3 support


add Author


added easy filesystem paths


filename update


![](https://github.trello.services/images/mini-trello-icon.png) [Add zooming on third-party software licenses](https://trello.com/c/4sacwsg8/23-add-zooming-on-third-party-software-licenses)


Description: added controller and views to make the app complete


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @joeyh was added to conda-forge. Welcome to conda-forge!
  Go to https://github.com/orgs/conda-forge/invitation see your invitation.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


Good thought. I'll add an issue to come back to this.


Mr. @willlarche , I'm new on Flutter. I read the docs and understand `const` keyword. However, I wonder why did you change this code? Could you expand it to me?


```diff
- --eslint, -e              enabel lint javascript                              [boolean] [default: true]
+ --eslint, -e              enable lint javascript                              [boolean] [default: true]
```


На продакшене это не нужно да и вообще это просто пример и ссылка на документацию.


For the ease of scaling and maintaining the app it's recommended to split app's logic into routes, controller, and models


Такое в продакшене тоже не оставляется а вводится во время запуска сервера.
https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/


В продакшене должен быть False


Не настроена локаль и язык.


I'm wondering if it might not be possible to:
1. Store `[[ExecCapability]]` on the record instead of `[[ExecPromise]]
2. Create `ExecCapability` in the top-level `Evaluate`, and then pass that down through `InnerModuleEvaluation` as an argument that is set onto module records only when the DFSAncestorIndex matches.

This would avoid creating and then destroying `ExecPromise` in the intermediate steps.


Successfully aliased the URL <https://nordnet-ui-kit-qg4rhks3n.now.sh> to the following alias.

* https://nordnet-ui-kit.now.sh


Лишние дефолтные комменты.


О, спасибо!


Now could not deploy this pull request since the `now.json` file is empty.
It should be a valid JSON file.

    For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


Avoiding the compilation of Javac during NetBeans build is in my opinion desirable. CCing @jlahoda... The `nb-javac-*-*.jar` files can only be used during compilation, but as far as I know it is the case.


Если тестов нет можно удалить.


Aliasing failed with the following error:

~~~
Error! Invalid alias. Please confirm that the alias you provided is a valid hostname. Note: Nested domains are not supported.
~~~


Общий перехватчик любой ошибки, думаю здесь легко внутри django.core.mail найти его собственные Exception'ы и их обрабатывать кейсово.


All errors should be handled and sent with appropriate HTTP error codes


testttt
https://kc.giggso.com:8448/staticFiles//messageattachment/screenshot-www.tnebnet.org-2019.02.20-13-25-34_3_2019-02-25.png


Both these variables are unsigned, so the existing checks ought to catch them. Could you make sure you're up to date with the git master branch, please?


Можно просто "if user:"


DeepCode has been upgraded! This commit has been analyzed again to find new defects.

There is 1 new important issue.

[Click](http://localhost:8080/app/gh/shinin-light/deepcode-demo-01/6b0c8a33bedef44899d0372e3079f7121c858e0a/_/dashboard/) to see more details.


This is to disallow password managers to fill the field


Some tests are flaky because of port reuse:

https://circleci.com/gh/raiden-network/raiden/25429#tests/containers/7
https://25429-50646767-gh.circle-artifacts.com/7/geth-logs/test_api_deposit_limit%5Bmatrix-False-50000-0-1%5D/d4c164a8

> Fatal: Error starting protocol stack: listen tcp 0.0.0.0:48900: bind: address already in use

The only solution I can think of, without using psutils, is to parse the geth logs.


下次提交不要多文件，代码内嵌在markdown中即可。


This contained a bunch of changes to the XML file.
The first was to fix the autofill issue noted in the writeup.
The next was to make sure that the card looked uniform and was laid out properly.
To finish up, I added the text values to the android XML file


I think there is another file `Matrix.idr` that you have somewhere which should be included.


But that seems to work?


Let's consider a small rotation in the arguments:

```java
        for (int j = 0; j <= secondArray.length - 1; j++) {
            newArray[firstArray.length + j] = secondArray[j];
        }
```

`j` always scans the arrays for concatenation starting from `0`, `newArray` just continues where first iteration has left off.

Do note that it's not a better solution, just an alternative.


On this branch?


Ah, no :) I thought you found some general bug.


BRAVO


Hello,

is it possible to see some print screen of your app?

kr
Goran


good job


wow


@MQuy Any chance of a release in the next few days with the fix ? 🙏


FYI, I'm updating http://joel-costigliola.github.io/assertj/assertj-core-news.html to point to the new site.


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

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

{this-is-not-json}

For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


Yeah, pushed a fix for this, thanks.

If you're looking at this, keep in mind that at some point I really am going to work on extracting this out of Npgsql and providing this as a more generalized service for ADO.NET providers... If you're thinking of doing the porting work now, it may be better to hold off a little (I'm not going to get around to it right away, but in the next few months for sure).


Deployment failed with the following error:

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


Successfully aliased the URL <https://github-e2e-tests-production-c9k70vueg.now.sh> to the following alias.

* https://github-e2e-production.now.sh


Hi @casz. Are there release notes available for v1.0.0 of MSTest? We tend to hold off updating plugins until we know what changes are involved.


Why are both the "kayalshri" and "hhurz" tableExport.js files both in this html file, but not the others?


![](https://github.trello.services/images/mini-trello-icon.png) [Task - Create Testing app structure](https://trello.com/c/b3gyEr4a/39-task-create-testing-app-structure)


Successfully aliased the URL <https://github-e2e-tests-dev-4gxo7si9r.now.sh> to the following alias.

* https://github-e2e-tests-dev-only.now.sh


So you are saying that `make -j''${NIX_BUILD_CORES:-1} -l''${NIX_BUILD_CORES:-1} localedata/install-locales` works on macOS? I am surprised because from my understanding this would run linux executables on macOS. We could change the conditional to:

```
postInstall = (if stdenv.hostPlatform.platform.kernelArch == stdenv.buildPlatform.platform.kernelArch then ''
```


![](https://github.trello.services/images/mini-trello-icon.png) [Task - Make a build server](https://trello.com/c/B93VdgZ1/28-task-make-a-build-server)


cuidado con el división by zero:

https://www.vavr.io/vavr-docs/

// = Success(result) or Failure(exception)
Try<Integer> divide(Integer dividend, Integer divisor) {
    return Try.of(() -> dividend / divisor);
}


I think you forget to add --dev when you make an update.


Successfully aliased the URL <https://github-e2e-tests-dev-oxxxtrdi5.now.sh> to the following alias.

* https://github-e2e-tests-dev-only.now.sh


Aliasing failed with the following error:

~~~
Error! The alias photo-pieces is a deployment URL or it's in use by a different team.
~~~


I certainly did. Fix is in master. Thanks!


ups. submitted by mistake. deleted


I have nvm but I never found those lines in my .zshrc ,what should I do


I think you are right, pos_norm is appropriate.


I wanted to create an instance of it to write tests and doing `new Main()` looked stupid, but since that didn't work out anyway we might as well revert.


Let me show you the feature on GitHub: https://github.com/jenkinsci/mstest-plugin/compare/mstest-0.23...mstest-1.0.0

If that is not good enough, I am open for suggestions.


Maybe we can improve this condition because currently if i open my app at 11:55 pm and after 5 minutes i open my app again (12:00am) this condition return `true` because we have different day of the month, it is working fine because of the another condition which checks the `size of existing news`, may be we can use `Difference` class to get the difference in hours, i think it will be more efficient, it is not something really critical it's just a thought :) please check this [link ](https://www.mkyong.com/java8/java-8-period-and-duration-examples/)for `Difference` class, thanks :)


:D

I think that you should write the implementation of this method by yourself :)


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

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

{this-is-not-json}

For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


Deployment failed with the following error:

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


Successfully aliased the URL <https://github-e2e-tests-production-4lf03xslg.now.sh> to the following alias.

* https://github-e2e-production.now.sh


PR? 😄

Think i fixed some of other stuff you changed also. Something left? the chmod thing?


On 2/25/19 12:19 PM, Vlad Khorsun wrote:
>
>     It's very hard to predict should particular file be short-lived or not
>
> Consider at time when file was last accessed\modified ?
>

Can be done but we abyway need at least one system call per-file. What
criteria can be used? File was not accessed during last hour?

>     if you are sure that other files except own configuration file
>     will never be left untouched >1 hour
>
> Hmm... why you don't care about files in /tmp then ?
>

That's very simple. /tmp is used to keep temporal files. On posix links
to them from /tmp may be deleted (and are actually deleted) right after
creation, only opened by firebird process handle prevents iNode from
being deleted from disk. I suppose that this strategy is still unusable
with windows, but as far as I know there is nothing like
cron/tmpwatch/etc. on windows that deletes files from temp dir. So doing
same trick with temp dir is meaningless.


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

* https://tietokantojen-perusteet-19.mooc.fi


Hey! what was the log changes about? something useful that can be merged?


![](https://github.trello.services/images/mini-trello-icon.png) [Remove site header](https://trello.com/c/Fs64iTuM/114-remove-site-header)


You are pushing commits at a very fast pace (accross the whole organization).
Due to that, we cannot deploy the commit f56391907498548193cb0f82ca6a7d9b8b4bdd34.

You can try again later or [upgrade](https://zeit.co/account/plan) your plan.


"and it gets" :-)


![](https://github.trello.services/images/mini-trello-icon.png) [Set About page as homepage](https://trello.com/c/bBnvcDAF/116-set-about-page-as-homepage)


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

* https://cv.eigenmannmartin.ch


done:
http://joel-costigliola.github.io/assertj/assertj-core.html
http://joel-costigliola.github.io/assertj/assertj-core-news.html
http://joel-costigliola.github.io/assertj/assertj-news.html


fixed


Реза или Риза? Пусть пока Реза будет


What I don't like is that we touch even files not accessed by our process, including needed for other databases (served by different FB instance) and possibly even remaining files from some old crashes that must actually be deleted. And 1000 CS processes will touch them concurrently.


Мб прошедшей минутой?


DeepCode has been upgraded! This commit has been analyzed again to find new defects.

There is 1 new important issue.

[Click](http://localhost:8080/app/gh/shinin-light/deepcode-demo-01/6b0c8a33bedef44899d0372e3079f7121c858e0a/_/dashboard/) to see more details.


This is wrong; fixed in next commit


Ухх бля


hi


Рычание оскалило зубы на резу?


![](https://github.trello.services/images/mini-trello-icon.png) [Феня, улучшения](https://trello.com/c/QJUkyib7/140-%D1%84%D0%B5%D0%BD%D1%8F-%D1%83%D0%BB%D1%83%D1%87%D1%88%D0%B5%D0%BD%D0%B8%D1%8F)


Наиважнейшая замена


This is causing `zend_jit_vm_helpers.c(169): error C2036: 'void *': unknown size` with MSVC, where GCC blames about `char*` otherwise :)  I'll check to unify it another way, or the ifdef were perhaps also ok.

Thanks.


waitress в оригинале


Aliasing failed with the following error:

~~~
Error! The alias photo-pieces is a deployment URL or it's in use by a different team.
~~~


Откуда восхитительные взялись то, это прекол такой?


On 2/25/19 1:38 PM, Dmitry Yemanov wrote:
>
> What I don't like is that we touch even files not accessed by our
> process, including needed for other databases (served by different FB
> instance) and possibly even remaining files from some old crashes that
> must actually be deleted. And 1000 CS processes will touch them
> concurrently.
>

OK - does anybody see a problem I rollback to old strategy (touch only
one file)?


ыыы я не могу в русский помогите пожалуйста


Головка от патифона xddd


No.


Хаха отсылка на скайрим


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @tschoonj was added to this feedstock maintenance team.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


Не ебу как впихнуть сюда имя игрока чтобы оно не склонялось


Door deze problemen zijn we later gestopt met de werkwijze die we hier hebben gebruikt.


ok, so update also line 463.


huukjhkjkhjkhjkjkhkjhjkhjkhjkhjkkjhkhk


@jamuir The reason why it didn't work for you probably was that it requires a patch on top of AOSP for swipe input to work: https://github.com/LineageOS/android_packages_inputmethods_LatinIME/commit/e7feb680a37e08d8869b19d7aceb7a39f85c88c6


TODO?


Спасибо вам огромное? Спасибо тебе огромное?


Set


эээээ даже не знаю как это перевести


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

* https://lp.onlineschool.ru


If you choose to use the "event" option, you can get the blob from anywhere in the JS code, with the following lines :
```
myMap.on('easyPrint-finished', e => {
  console.log(e.event);
}
```


Of course! Thanks!


i dont why this code is giving me an error


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

* https://lp.onlineschool.ru


Did this feature break anything? I can look into it if needed.


Trop de fautes l'ami


hi. your move constructor is not right. Please set pointer.data = nullptr;


Successfully aliased the URL <https://nordnet-ui-kit-o7ecm0q4l.now.sh> to the following alias.

* https://nordnet-ui-kit.now.sh


@gurpreethans DEKH LE


dekh liya


Ah, great, thanks!


sai convention nhé, phải có dấu cách
`return view('user.userlist', ['users' => $users]);`


trước return thì phải có 1 line trống


1 line trống


Hi @erdemildiz. Sorry for the late response. Just released `3.2.0`


nice


проверка


Как происходит добавление тегов  к фото? Все в описании к фото нужно писать?


Yes, but that's because rpm can be set to a different value at build time through the configure script, and usually is. It's set in platform.in by configure, so the macros.in version never has effect. We don't have that, and Debian/Ubuntu uses `/var/lib` for `%_sharedstatedir` always.


> 2018


> does anybody see a problem I rollback to old strategy (touch only one file)?

No


RingItem is part of the external interface. It cannot be internal, it has to be public.


This only adds a parameter to movement generator. From this we can choose to store the flag you mention in a db table (whichever it is), a SAI parameter or let C++ scripts change it the way they want.
If you have time you could implement what's left.


When do you plan to release this change?


Also the ring buffer is a data structure not a support structure, it should be public


Куда пропал header на странице ошибки?

Нет функционала для фильтрации фото постов. Должен быть по ТЗ!!!


Toujours pas


Wrong folder. Will be moved to `back-end` ...


Yes using the new code does report a valid value for `ansible_memfree_mb` fact.


>  Stealth: Remove iframe.contentWindow evasion (not needed anymore)
Why is it not needed if I may ask 👍 ?


backup


`{{ $user->id }}`


![](https://github.trello.services/images/mini-trello-icon.png) [Super Capacitors Protection PCB](https://trello.com/c/p8tLRSQs/2-super-capacitors-protection-pcb)


Это не скопирует массив. Сегодня обсудим.


Just wanted to confirm, you didn't install vm_stat explicitly ?


Для добавления описания используют большие формы ввода текста. Для редактирования поста будет использоваться такая же форма?


show users mà ko show ra thông tin gì à?


maxWord indexOf maxWord???


I never edited nicknames before this time, but i can try.


show user, update, delete đâu?


Aliasing failed with the following error:

~~~
Error! The alias photo-pieces is a deployment URL or it's in use by a different team.
~~~


input mà ko có form này


#51 CT-Expected commissioning date not updating


Наверное +=?


Bonus: would it be the right time to split that big `.css` file ? eg.
- `canvas.css`
- `tabs.css`
- `groups.css`
- ...


codewars/Total Amount of Points/answer.js

А здесь ситуация не спасена.


cũng ko show ra thông tin cũ của user


Условие внутри push? Ты точно правильно правишь конфликты?)


edit này chưa đặt link nè


from .command_line import PyCalcCommandLine


This looks fishy. If normal loads/stores work, then why do we use atomics when they are supported? If atomics  are required, then the fallback code with normal loads/stores is broken.

Humm... maybe we could do loads/stores only the first int32? There can't be more than 4 billions PCs in the buffer, so the high part is always 0 (if it's not then it's something that needs to be trimmed/rejected by a sanity check later). Though, this assumes little-endian machine.


Successfully aliased the URL <https://tama-starter-v2-iunxfgys8.now.sh> to the following alias.

* https://tama-starter-v2.now.sh


cần phải check xem user có tồn tại nữa ko nhé


comments added


thêm validate data trước khi update nữa nhé


Do you know why this is now needed but wasn't before?


mới định nghĩa rule còn chưa có validate