[R/as-points.R:6:1:](https://github.com/kpjonsson/kpjmisc/blob/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/R/mutation-types.R#L18) *style:* **Commented code should be removed.**
```r
# save(truncating_mutations, file = 'data/truncating_mutations.rda')
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/oncokb-annotate-cna.R:76:1:](https://github.com/kpjonsson/kpjmisc/blob/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/R/oncokb-annotate-cna.R#L76) *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:15:1:](https://github.com/kpjonsson/kpjmisc/blob/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/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/5a2a4679f79c3a8ea8f2fc9960f78baaf6d635e3/R/plot-survival.R#L158) *style:* **Use spaces to indent, not tabs.**
```r
	sf_plot = sf_plot +
^
```


Deployment failed with the following error:

~~~
Builds rate limit exceeded (0 of 100 remaining). Try again in 24h
~~~


gambar pada soal nomor 1


TeamCity Bvcms / Build [Build 1172](https://builds.tpsdb.com/viewLog.html?buildId=4762&buildTypeId=Bvcms_Build) outcome was **SUCCESS**
Summary: Running Build time: 00:04:15


much better to explicitly tell it uses `flex`


Successfully aliased the URL <https://shinjuku-lt-backend-uutramyppv.now.sh> to the following alias.

* https://shinjuku-lt-backend.now.sh


❌ [Build was (probably) aborted](https://jenkins.internalx.com/job/macios/job/master/610/display/redirect)

🔥 [Jenkins job](https://jenkins.internalx.com/job/macios/job/master/610/display/redirect) (on internal Jenkins) failed in stage(s) 'Test run, Test run' 🔥

✅ [Build succeeded](https://jenkins.internalx.com/job/macios/job/master/610//console)
✅ Packages: [xamarin.ios-12.11.0.510.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/package/xamarin.ios-12.11.0.510.pkg) [xamarin.mac-5.11.0.510.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/jenkins/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/package/xamarin.mac-5.11.0.510.pkg)
✅ [API Diff (from stable)](http://xamarin-storage/jenkins/xamarin-macios/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/jenkins-results/api-diff/index.html)
✅ [API Diff (from PR only)](http://xamarin-storage/jenkins/xamarin-macios/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/jenkins-results/apicomparison/api-diff.html) (no change)
✅ [Generator Diff](http://xamarin-storage/jenkins/xamarin-macios/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/jenkins-results/generator-diff/index.html) (no change)
🔥 [Test run failed](http://xamarin-storage/jenkins/xamarin-macios/master/c8ed014af7d67208193ea62f0f08eb306d51f1ec/610/jenkins-results/tests/index.html) 🔥

# Test results

<details>
<summary>7 tests failed, 0 tests skipped, 231 tests passed.</summary>

## Failed tests

 * monotouch-test/iOS Unified 64-bits - simulator/Debug: TimedOut
 * introspection/iOS Unified 64-bits - simulator/Debug: TimedOut
 * monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar): TimedOut
 * monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): TimedOut
 * monotouch-test/iOS Unified 64-bits - simulator/Debug (all optimizations): TimedOut
 * [NUnit] Mono SystemXmlTests/watchOS - simulator/Debug: Crashed
 * [xUnit] Mono CorlibXunit/watchOS - simulator/Debug: Crashed
</details>


Client id en secret zijn toch prive?


In (40) the grad divergence term on the far right is supposed to be inside
the square root operator (typesetting error).  So with this extra term (39)
and (40) are not equivalent, and (40) should be the form that is
used/documented.

On Fri, Apr 26, 2019 at 10:04 AM Jeff Scott <notifications@github.com>
wrote:

> minor docs changes
>
> @septicscuzzy wasn't obvious why (40) in paper
> had sqrt(|...|()^2). I removed to sqrt to match (39) form. Both these eq
> are in
> the docs here. If I'm missing something, please advise and can change
> back...
>
> --
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub:
>
> https://github.com/edoddridge/MITgcm/commit/87c2a2e0ee46124d56fef785a28e005f981e1543
>


Aliasing failed with the following error:

~~~
Error! Expected scaling rules for DCs (400)
~~~


Hexagon Map Creator


finaly it doesn't help at all, at least for what i was thinking to.


✅ Device tests passed on TvOS on [Azure DevOps](https://dev.azure.com/devdiv/DevDiv/_build/index?buildId=2625150)(TvOS): [Html Report](http://xamarin-storage/jenkins/xamarin-macios/arm64-dynamic-registrar-wip/c31ade1da6942905b0159417a1780294c8f31905/2625150/device-tests/jenkins-results/tests/index.html) ✅

# Test results

# No tests selected.


hilarious


行


Built*


I'm not sure what you mean by that.  Perhaps give an example?


✅ Device tests passed on TvOS on [Azure DevOps](https://dev.azure.com/devdiv/DevDiv/_build/index?buildId=2625185)(TvOS): [Html Report](http://xamarin-storage/jenkins/xamarin-macios/master/6c3674658aa39e95bbe83cb6a7d5dfccfea7dd3d/2625185/device-tests/jenkins-results/tests/index.html) ✅

# Test results

# No tests selected.


Perfecto, gracias!


buttons should use `flex: 1 1 auto`, so that they auto grow/shrink when necessary, and `auto` means they use full available width.
All flex items have same weight, so in this case it's similar to 33.33%. If we add or remove buttons, we don't need to adapt width each time.


@barkasn , because now Pagoda works perfectly well without them. Some dependencies were required for installation previously, and some were not. And the whole installation procedure was really scary.


avoid `float`. Most of the time, flexbox is the right solution


Now I'm comment on my commit


ModuleNotFoundError: No module named 'server_keys'


@RoboMWM Sorry for the delay, haven't used GitHub in a while. I would agree that would have been the best choice. Though, that token is no longer in-use and I'm pretty sure I regenerated it after this commit anyways.

Which file are you referring to? I've checked the `servers.json` and `serverstoDT.json` file, but don't see any IPs in there.

Thanks.


I would drop these style rules


Use `flex: 1 1 auto` instead. I'm not sure why `flex-grow` is disabled for `.o_followers` in desktop, but it looks like a hack. Anyway auto-grow looks intended in mobile.


`o_chatter_button_attachment` should also have `flex: 1 1 auto`


@siriusluxxx


`flex: 1 1 auto`


@cnuke: please add to staging


xD


HitActionが当たった際の処理だとしたら、
よくあるケースとして誰と当たったかなどの情報が必要になりますが、
このゲームは必要ないんですか？


add 1080p+ support


@alex-ab done.


Hi @lorenzwalthert sorry for the late answer, I saw you got an answer in another thread... I skipped the tests when not in UTF8 as the purpose is to be able to get a converted file to UTF8 and this won't work as expected in another locale (where encoding is different). BTW your package rocks, I am a daily user ;)


drop this, let flexbox fit content


Can't thank you enough!


Successfully aliased the URL <https://js-ts-react-training-o4e5ce4dq.now.sh> to the following aliases.

* https://rio-react-training.now.sh
* https://js-ts-react-training.e-schultz.now.sh
* https://js-ts-react-training-git-master.e-schultz.now.sh


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

* https://linronglang.com
* https://www.linronglang.com
* https://linronglang.linronglang1.now.sh
* https://linronglang-git-master.linronglang1.now.sh


can drop this, use `flex-flow: column`


Deployment failed with the following error:

~~~
The chosen alias "example-company-website-gatsby-sanity-combo.now.sh" is already in use by another account.
~~~


can drop this


This is the non-raw case, are you sure `DRR_RAW_BYTESWAP` can be set?  The existing code included a `drro->drr_flags != 0` check which this change preserved.  But we could could remove that without any harm it seems.


*[Hook UI build recap](http://ci.perseids.org/repo/OpenGreekAndLatin/First1KGreek/4970)*


敵とプレイヤーの当たりがありません。
「完成」なんですか？


love it


The name of the folder is actually assessment-objectives.


Successfully aliased the URL <https://shinjuku-lt-backend-7psfn7giq.now.sh> to the following aliases.

* https://shinjuku-lt-backend.now.sh
* https://shinjuku-lt-backend.shinjukult.now.sh
* https://shinjuku-lt-backend-git-master.shinjukult.now.sh


needed for mobile data


I prefer `this._$topbar.after($chatterButtons)`, so that it simply is a prepend or after, no conditional container on chatter buttons


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

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


You may want to return a shared_ptr<> straight. It does not really make sense to return a weak_ptr<> especially that you lock it straight away. Not locking it may also produce false results. I'd suggest shared_ptr<> here.


Of course it did -_-
Ok I'll fix it when I get home tonight- it's an easy fix.


<details>

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

Cannot have unicode in branch names!

</details>


基底クラスで用意すればいい座標のゲッターをCollisionObjectで定義している理由はなんですか？


Build version: __`3.1.1-master.122`__ :crossed_fingers: [`master`](https://github.com/streamich/git-cz/tree/master) on [*Travis*](https://travis-ci.org/streamich/git-cz/builds/109780740) :tada:


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

* https://transfer.brvklin.now.sh
* https://transfer-git-master.brvklin.now.sh


Build version: __`3.1.1-renovate/mocha-6.x.123`__ :crossed_fingers: [`renovate/mocha-6.x`](https://github.com/streamich/git-cz/tree/renovate/mocha-6.x) on [*Travis*](https://travis-ci.org/streamich/git-cz/builds/109780784) :tada:


This commit has been mentioned on **Discourse Meta**. There might be relevant details there:

https://meta.discourse.org/t/topic-list-previews/101646/403


as parent is managed indirrectly by addChild() and removeChild(), you can use a naked/raw pointer. No need to store, nor return weak pointer of a parent.


`$chatterButtons` should have `display: flex` and `> .btn` should have `flex: 1 1 auto`


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

* https://fakeql.com
* https://www.fakeql.com
* https://fakeql.fredibach.now.sh
* https://fakeql-git-master.fredibach.now.sh


Solutions rock indeed, but problems are where the challenge is! Anyways, I think you didn't want to highlight me 😉
(While kdcharts might be a solution I could eventually use in one of my Qt side projects ...)


Could this inherit from argparse._HelpAction so we only have to override the __call__ function?


-->

        <title>Contact-Form design</title>
        <link href="stye_services.css" rel="stylesheet" type="text/css">

Contact Us.

Welcome to your future home!

            <form id="contact-form" method="post" action="">
                <input name="name" type="text" class="form-control" placeholder="Your Name" required>

                <input name="email" type="email" class="form-control" placeholder="Your Email" required>

                <textarea name="message" class="form-control"
                          style="font-size: 20px" style=" font-family: sans-serif" placeholder="Message" rows="4" required></textarea>

                <input type="submit" class="form-control submit" value="SEND MESSAGE">

            </form>


TeamCity Bvcms / Build [Build 1173](https://builds.tpsdb.com/viewLog.html?buildId=4765&buildTypeId=Bvcms_Build) is now running


```
class _HelpAction(argparse._HelpAction):
     def __call__(self, parser, namespace, values, option_string=None):
        parser.print_help()
        parser.exit(3)
```


this is css file..
body{

    margin: 0;
    padding: 0;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url("images/house1.jpg");
    background-size: cover;
    background-position:center ;
    font-family:sans-serif;
    color: #fff;
}
.contact-title
{
    margin-top: 100px;
    color:#fff;
    text-transform: uppercase;
    transition: all 4s ease-in-out;
}
.contact-title h1{
    font-size: 32px;
    line-height: 10px;

}
.contact-title h2
{
  font-size: 16px;
 }
 form
 {
     margin-top: 50px;
     transition: all 4s ease-in-out;

 }

  .form-control
  {
      width: 400px;
      background: transparent;
      border: 20px;
      outline: 10px;
      border-bottom: 1px solid gray;
      color: #fff;
      font-size: 18px;
      margin: 16px;
      box-sizing: border-box;

  }
  input
  {
      height:45px;
   }
   form .submit{
       background: #fff;
       border-color: transparent;
       color: #000000;
       font-size: 20px;
       font-weight: bold;
       letter-spacing: 2px;
       height: 50px;
       margin-top: 20px;
    }
    form .submit:hover
    {
        background-color: #f44336;
        cursor: pointer;
    }


Successfully aliased the URL <https://shinjuku-lt-backend-fm8wmge35.now.sh> to the following aliases.

* https://shinjuku-lt-backend.now.sh
* https://shinjuku-lt-backend.shinjukult.now.sh
* https://shinjuku-lt-backend-git-master.shinjukult.now.sh


const is not really justified, as you modify the child, by setting its parent.
Also, can the function ever get a null pointer? If not, I'd suggest reference arg to enforce that fact.


can child be null? if not, I'd suggest reference argument passing.


Updated check of fnr


Use GDAL to get and change RS images.


Looks like this should say: Can not create domain key


Successfully aliased the URL <https://shinjuku-lt-backend-ese4651qg.now.sh> to the following aliases.

* https://shinjuku-lt-backend.now.sh
* https://shinjuku-lt-backend.shinjukult.now.sh
* https://shinjuku-lt-backend-git-master.shinjukult.now.sh


returning weak pointers is not a good practice in general. Thing is, once you returned it, you probably want to use it, so a lock would be required. Why not to do that here?


時間がなかったのでざっと見た意見になりますが、このまま作りこめば動作はするようになると思います。
ただ、当たりの範囲などをオブジェクトではなく、管理で指定しているなど、汎用性はありませんね。


TeamCity Bvcms / Build [Build 1173](https://builds.tpsdb.com/viewLog.html?buildId=4765&buildTypeId=Bvcms_Build) outcome was **SUCCESS**
Summary: Running Build time: 00:04:22


Successfully aliased the URL <https://learnedapp-2il6o7nmj.now.sh> to the following aliases.

* https://learned-app.now.sh
* https://learned-app.labs11-learned-1.now.sh
* https://learned-app-git-master.labs11-learned-1.now.sh


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

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


this rather smells like simply return shared_this() :)


@Super-Tree Please provide more details on your comment, ideally with a working code snippet to illustrate the problem you think exists.


Лучше так
```
return if [first_station, last_station].include?(station)
@stations.delete(station)
```


Successfully aliased the URL <https://transfer-9go30acfu.now.sh> to the following aliases.

* https://transfer.brvklin.now.sh
* https://transfer-git-master.brvklin.now.sh


```
@speed -= speed
@speed = 0 if @speed.negative?
```


This commit has been mentioned on **Discourse Meta**. There might be relevant details there:

https://meta.discourse.org/t/topic-list-previews/101646/403


@amount_of_wagons -= 1 if amount_of_wagons.positive? && speed.zero?


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

* https://rbnsnxyz.rbnsn.now.sh
* https://rbnsnxyz-git-master.rbnsn.now.sh


Successfully aliased the URL <https://shinjuku-lt-backend-vmllmrfjee.now.sh> to the following alias.

* https://shinjuku-lt-backend.now.sh


У маршрута нет метода `current_station`
`current_station` находится в текущем классе


hh


Okay, for some reason, this got committed. You can revert or hard reset back.


Метод должен возвращать станцию из массива станций маршрута, которая соотв индексу текущей станции.
См https://github.com/JIuc75/Reports-for-Thinknetica/commit/9cbb411a4987a15d39831f872ec3e36cc827052b#r33296249


См https://github.com/JIuc75/Reports-for-Thinknetica/commit/9cbb411a4987a15d39831f872ec3e36cc827052b#r33296305


original: read and write from the csv file whenever a function is called
now: use a dynamic array to store the employee information, edit the array when functions are called, at last when exit function called, the dynamic array is transferred back to the csv file


Лучше `if @index_station.positive?`


Updated the file


哈哈


To ciekawe, bo testowałem zarówno instalację panelu webowego jak i na serwerze.
Ba, mój serwer testowy z CoDem jest podpięty pod sklep sms i to na nim testowałem drobne usprawnienia z ostatnich commitów.

Patrząc po logach, usługi ładowane są prawidłowo, aczkolwiek problem jest z załadowaniem głównych ustawień. Zmiana id serwera na 0 zupełnie nic tutaj nie da, bo to właśnie ono musi być większe od zera, aby sklep nie wyrzucił tego failstate z informacją, że serwer nie znajduje się w bazie danych sklepu.
Samo zapytanie w tym wypadku wygląda następująco:
```
SELECT a.id, a.sms_service, c.data as sms_code, c.sms, b.service_id, d.name as service, d.types, e.tariff, f.number, d.flags, e.amount, d.tag, g.value as url, h.value as vat, i.value as random_key, j.value as currency
FROM `ss_servers` AS a
LEFT JOIN `ss_servers_services` AS b ON a.id = b.server_id
LEFT JOIN `ss_transaction_services` AS c ON a.sms_service = c.id
LEFT JOIN `ss_services` AS d ON b.service_id = d.id
LEFT JOIN `ss_pricelist` AS e ON (b.service_id = e.service AND (e.server = b.server_id OR e.server = '-1'))
LEFT JOIN `ss_sms_numbers` AS f ON (e.tariff = f.tariff AND a.sms_service = f.service)
JOIN `ss_settings` g
JOIN `ss_settings` h
JOIN `ss_settings` i
JOIN `ss_settings` j
WHERE g.key = 'shop_url' AND h.key = 'vat' AND i.key = 'random_key' AND j.key = 'currency' AND c.sms = '1' AND a.ip = '%s' AND a.port = '%s' ORDER BY d.order, e.tariff, e.server DESC
```
Wrzucane jest do niego jedynie IP i port serwera (w klauzuli WHERE), które pobierane jest następująco:
```
get_cvar_string("ip", serverIP, charsmax(serverIP));
get_cvar_string("port", serverPort, charsmax(serverPort));
```
W przypadku mojego serwera zapytanie zwraca następujące ustawienia:
![test](https://user-images.githubusercontent.com/16612504/56823630-b84b6080-6854-11e9-81ee-0ef9a070de78.png)


Fds


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

* https://onlineshop.marekbarela.now.sh
* https://onlineshop-git-master.marekbarela.now.sh


Successfully aliased the URL <https://tietgen-festival-5un1usnab.now.sh> to the following aliases.

* https://tietgenfestival.dk
* https://www.tietgenfestival.dk
* https://tietgen-festival.akd-io.now.sh
* https://tietgen-festival-git-master.akd-io.now.sh


Addresses #6


Ok, you will find all changes in the last commit f1f5749b49897ae7eb2ec20c97730c7aa56e971f


Btw, error prone version will be: `[\w.: -]`
Due to "dash not treated as 'range' if it's supplied as last symbol inside symbol set"


textDvojkova.Clear();
            textSestkova.Clear();
            textSestnactkova.Clear();
            textOsmickova.Clear();


suggestion: addIdleTask(), addIdleFunction()


This link leads to a 404 page – the real location is doc, not doc**s** :)


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

* https://fotontech.co
* https://www.fotontech.co
* https://foton.fotontech.now.sh
* https://foton-git-master.fotontech.now.sh


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

* https://myhouse.labs12-real-estate.now.sh
* https://myhouse-git-master.labs12-real-estate.now.sh


you see? you lock the returned weak pointer... then why do you return it as weak?


@lassoan These variables became unused following https://github.com/Slicer/Slicer/commit/4db48bcd34abed5f2b114f80647de2ad1fb160cf#diff-54b9d5715619b4fccbec979852404371


Set application to MVP pattern


Vuetifyx-loader&Vuetifyx success


add random icon


Tractor Java file


В отдельный метод


используй `show_collection`


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

* https://fotontech.co
* https://www.fotontech.co
* https://foton.fotontech.now.sh
* https://foton-git-master.fotontech.now.sh


In
```
return redirect('addItem/'+'?'+'phone='+phone)
```
I replaced it with this block, I found that it's a better practice to call the url by it's name in urls.py better than hard-coding it
```
       base_url = reverse('repair:AddI')  # 1 /addItem/
        query_string = urlencode({'phone': request.POST['phone']})  # 2 phone=011
        url = '{}?{}'.format(base_url, query_string)  # concatenate to this form  /addItem/?phone=011
        return redirect(url)
```


Убрать


No newline bro!


Server GUI using the basic example code we had in class. So, this code creates a server when ran.


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

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


Successfully aliased the URL <https://docs-b00zhf2o1.zeit.sh> to the following aliases.

* https://docs.zeit.sh
* https://docs-git-master.zeit.sh


Oops. Thanks.


This should be in create-database.php, IMO.


This commit has been mentioned on **Discourse Meta**. There might be relevant details there:

https://meta.discourse.org/t/topic-list-previews/101646/403


Oh, that's what you said. ^^ Yes, I agree.


Hey, could you please merge this into develop? Really hard to figure out the merge conflicts! Thank you.


Thanks so much!


Убрать тут и в других методах


suggestion: you declare the EventDispatcher on the stack. Each event dispatcher instance links to the previous one registered to the TLS. You call the dispatching from the last registered to the first. You can categorize and prioritize event dispatching in this way.


Why? (I planned to implement levels of paused-ness). But the idea of changing ownership during a catastrophe (only time I can imagine a pause being necessary) seems super counter-intuitive to me.


Estimado, se que tu trabajo ya tiene un tiempo. Pero me fue muy util para dar unas clases. Lo modifique e hice algunas mejoras. Si te interesa  te lo envio. Saludos desde BAires
Ariel


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

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


let path = require('path');
let HtmlWebpackPlugin = require('html-webpack-plugin');   //需求执行安装模块
let MiniCssExtractPlugin = require('mini-css-extract-plugin'); // 抽离成css 文件
let optimizecss,uglifyjs;

module.exports = {
    optimization:{ //优化项
        minimizer:[
            new UglifyJsPlugin,
            new OptimizeCss()  //css
        ]
    }
    devServer:{
        port:3000,
        progress: true,
        contentBase: './build',
        compress: true
    },
    mode: '', //默认模式有两种 production development
    entry:'',
    output:{
        filename:'',
        path：path.resolve(__dirname, 'dist')  //必须是绝对路径
    },
    plugins:[   //所有的webpack插件
        new HtmlWebpackPlugin({
            template: './html.html',
            filename: 'index.html',
            minify:{
                removeAttributeQuotes: true,  //去除html 双引号
                collapseWhitespace: true
            },
            hash: true,  //引入文件后面加哈希值
        }),
        new MiniCssExtractPlugin({
            filename:'main.css'
        })
    ],
    module:{
        //模块
        rules:[
            //规则  css-loader 接续 @import 这种语法的
            //style-loader 他是把css插入到head 中
            //loader的特点，希望单一
            //loader的用法 字符串只用一个loader
            //多个loader 需要用数组  从右向左执行  还可以写成对象{}
            { test: /\.css$/, use: [
                MiniCssExtractPlugin.loader,
                'css-loader',
                {
                    loader: 'style-loader',
                    insertAt: 'top' //出入在顶部
                }
            ]},
            {
                test: /\.js$/,
                use: {
                    loader: 'babel-loader',
                    options: {
                        presets:[
                            '@babel/preset-evt'
                        ]
                    }
                }
            }
        ]
    }
}


PPT on the network project


I'm testing the remote API helper class, not the remote API controller.


Лучше как в главном меню сделать цикл
```
loop do
  routes_menu_description
  case gets.to_i
  when 1 then create_new_route
  ...
  when 0 then break
  end
end
```


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

Created multidev environment [ci-51](https://dashboard.pantheon.io/sites/b073fe71-ec69-489e-b8eb-cdb1080f5c60#ci-51) for global-stlawu-digital.


Successfully aliased the URL <https://career-journeys-udmcmiyxrt.now.sh> to the following alias.

* https://career-journeys.now.sh


use naked pointer


ehm... boost::containers::flat_set is nicer.
But, do you actually need a special order of the children? why don't you use std::vector<>?


I dared to delete the zooey.
Because, if it removes support ability, it will become DA7 and TA3.
https://twitter.com/usa_akasa/status/1085829686091902977
Excuse me, I did not describe the reason.


Arg …


could this be file:../../node_modules/@angular-devkit/build-angular (will require that we add @angular-devkit/build-angular to the root package.json (and lock file).


This is not meant for encryption and security, it's just meant to be an easy way to deliver configs to people!


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

* https://onlineshop.marekbarela.now.sh
* https://onlineshop-git-master.marekbarela.now.sh


Можно просто `station` назвать

Желательно проверять что пользователь ввел индекс не выходящий за границы
`return if station.nil?`


Successfully aliased the URL <https://magento-venia-doyviohkzv.now.sh> to the following aliases.

* https://magento-venia.now.sh
* https://veniapwa.com


u don't like chrono? :D


```
route = select_from_collection(@routes)
return if route.nil?
route.add_station(selected_station)

```


Deployment failed with the following error:

~~~
You are not owner of the domain "paulbrittain.net"
~~~


Looks good, thank you.


Все методы ниже должны быть `private`, т.к. они не должны вызываться извне


Ich denke, dass kannst Du nun ganz löschen ;-)


I think this is perfectly fine.


This commit has been mentioned on **Discourse Meta**. There might be relevant details there:

https://meta.discourse.org/t/topic-list-previews/101646/403


Лучше так:
```ruby
class PassengerTrain < Train
  ...
  protected
  # Аналогично в CargoTrain
  def attachable_carriage?(carriage)
    carriage.is_a?(PassengerCarriage)
  end
end

class Train
  ...
  def add_carriage(carriage)
    return unless attachable_carriage?(carriage)
    return unless speed.zero?
    @carriages << carriage
  end

  protected
  # Метод должен быть переопределен в наследниках
  def attachable_carriage?(carriage)
    raise NotImplementedError
  end
end
```


@JuliaRegistrator register()


Error while trying to register: Changing UUIDs is not allowed


Ups der Kommentar ist nicht mehr aktuell. Danke. Die Demo ist die overlay navigation


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.


Stimmt


Successfully aliased the URL <https://docs-fcx64zi8k.zeit.sh> to the following aliases.

* https://docs.zeit.sh
* https://docs-git-master.zeit.sh


OK. I think I was a bit confused by what this code does. How about this?
```
		/*
		* The DRR_SPILL_BLOCK flag is only valid when the
		* DMU_BACKUP_FEATURE_SPILL_BLOCK feature is enabled.
		*/
		if (((drro->drr_flags & ~(DRR_SPILL_BLOCK))) ||
		    (!rwa->spill && (drro->drr_flags & DRR_SPILL_BLOCK)))
```
This separates the check into "are any unrecognized flags set?" and " is the spill flag set without the feature?"


Ok 👌 danke


For those unlucky few who still need to build for 2.1 one simply rolls this back to 2.1. Works fine.


Alterado


Deployment failed with the following error:

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


test


We can move the `DRR_HAS_SPILL_BLOCK(drro->drr_flags) == 0` check up here so we don't need to hold the dnode unnecessarily if we're not going to do anything with it.


I can't believe how long it took me to notice...


I feel like perhaps this block of code should be a dmu_* function.


checking if the files are there!


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

Created multidev environment [ci-55](https://dashboard.pantheon.io/sites/b073fe71-ec69-489e-b8eb-cdb1080f5c60#ci-55) for global-stlawu-digital.


We are ignoring the error here. At this point we shouldn't expect any errors. If its an existing object we just held it moments before, so we shouldnt hit an ENOENT or any kind of IO error. I think we should bail if we hit an error here.


hmmmmmmmmmmm


Maaf


nit: Currently


@RolandPheasant Why did you comment out these? Did these assertions break?


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

* https://genhub.co
* https://genhubco.genhub.now.sh
* https://genhubco-git-master.genhub.now.sh


Itu salah


@yegle

My understanding was that for HTTP, the header would be ignored by the browser.

Per the RFC, though let me know if I am misunderstanding.

> An HSTS Host MUST NOT include the STS header field in HTTP responses
   conveyed over non-secure transport.

https://tools.ietf.org/html/rfc6797#section-7.2

> The Strict-Transport-Security header is ignored by the browser when your site is accessed using HTTP; this is because an attacker may intercept HTTP connections and inject the header or remove

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security


@Dyneteve sir jio4g not wurking


del


Hi Dmitry,

Some correction - your changes have an adverse effect.

Install.sh and cleanup.sh should be executed in single RUN command. Else the docker image size will not be reduced by cleanup.sh. (no effect at all)

Docker image is an overlay filesystem image, each command created more layers.

Good Day!


Unfortunately, this would apply the same search path to all devices...
Maybe better to just disable DNS update from Network Manager.


Ah, good catch. This was in response to [this discussion](https://github.com/WordPress/wordcamp.org/pull/69#discussion_r275977654) but I should have summarized it in the commit message as well.


Needed to update travis.yml file to include a defined python version 2.7


Ah yes, the error in VMD is non-fatal and execution proceeds until the
segfault.

On Fri, Apr 26, 2019 at 10:38 AM Jérôme Hénin <notifications@github.com>
wrote:

> Actually I'm thinking the most robust thing to do would be for overlap()
> to check for null pointers!
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/Colvars/colvars/commit/9cdff184cbc0786456e25e1dfd36e14b426e8498#commitcomment-33323993>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABCNSWM45AD5VPOC5ROXNETPSMHWPANCNFSM4HIWDWAQ>
> .
>

--
Giacomo Fiorin
Associate Professor of Research, Temple University, Philadelphia, PA
Contractor, National Institutes of Health, Bethesda, MD
http://goo.gl/Q3TBQU
https://github.com/giacomofiorin


TeamCity Bvcms / Build [Build 1174](https://builds.tpsdb.com/viewLog.html?buildId=4768&buildTypeId=Bvcms_Build) is now running


`carriage_type` убрать
```
case carriage
when PassengerCarriage then load_passenger_carriage(carriage)
when CargoCarriage then load_cargo_carriage(carriage)
end
```


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

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


[bot] 自动构建 [auto-dragalia-ed63dcea.zip](https://circleci.com/gh/NateScarlet/auto-dragalia/133/artifacts/0/home/circleci/project/artifacts/auto-dragalia-ed63dcea.zip)


@NaNaDi @nioerd
Could you provide some feedback regarding this implementation? I think this is more suitable compared to sending E-Mails. Best regards David


Neat. I wonder: what is the proper way for a submode do force a refontification (of its own region?).  I do call these functions directly in some of my modes, often after changing keywords based on user configuration changes.


Created multidev environment [dgreat#pr-425](https://dashboard.pantheon.io/sites/41cad7fe-472d-43a9-a470-d391b9622376#pr-425).

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


@Entity`
`


cornbread


Yup, was :)


TeamCity Bvcms / Build [Build 1175](https://builds.tpsdb.com/viewLog.html?buildId=4769&buildTypeId=Bvcms_Build) is now running


TeamCity Bvcms / Build [Build 1174](https://builds.tpsdb.com/viewLog.html?buildId=4768&buildTypeId=Bvcms_Build) outcome was **SUCCESS**
Summary: Running Build time: 00:04:22


@JuliaRegistrator register()


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

After the above pull request is merged, it is recommended that you create
a tag on this repository for the registered package version:
```
git tag -a v0.2.0 -m "<description of version>" 59947cb26cee6b6416550ad2a11c719a570f77ea
git push origin v0.2.0
```


TeamCity Bvcms / Build [Build 1175](https://builds.tpsdb.com/viewLog.html?buildId=4769&buildTypeId=Bvcms_Build) outcome was **FAILURE**
Summary: Error while applying patch Build time: 00:01:04


[vg CI tests](https://ucsc-ci.com/vgteam/vg/pipelines/615) complete for branch glenn3.  View the [full report here](http://vg-data.s3.amazonaws.com/vg_ci/vgci_reports/commit/0aa7e63693e26a94d23fea9b30bab18f7e56a197/index.html).

19 tests passed, 0 tests failed and 0 tests skipped in 13978 seconds

Tests produced 777 warnings. 777 were for lower-than-expected alignment scores


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

* https://egbloom.com
* https://www.egbloom.com
* https://egbloom.bloom.now.sh
* https://egbloom-git-master.bloom.now.sh


When I fixed the bug in transform many, it led to extra notifications being sent i.e. one for each item in the list.

The strange thing is that is what I expected in the first place when you wrote this operator. I was puzzled why not at the time, and I know now.


Successfully aliased the URL <https://egbloom-49do8ls18.now.sh> to the following aliases.

* https://egbloom.com
* https://www.egbloom.com
* https://egbloom.bloom.now.sh
* https://egbloom-git-master.bloom.now.sh