From 455238902f31919d6fab40a0d4a3de5242956f7f Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Wed, 4 Sep 2024 07:28:57 +0200 Subject: [PATCH 1/2] Add missing affiliations for authors --- paper/paper.Rmd | 10 +++++++--- paper/paper.md | 20 +++++++++++++------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/paper/paper.Rmd b/paper/paper.Rmd index 4aa995404..45cfd49ce 100644 --- a/paper/paper.Rmd +++ b/paper/paper.Rmd @@ -7,8 +7,8 @@ authors: affiliation: 1 orcid: 0000-0002-2739-7082 - name: Florent Angly - affiliation: ~ - orcid: ~ + affiliation: 6 + orcid: 0000-0002-8999-0738 - name: Michael Chirico affiliation: 2 orcid: 0000-0003-0787-087X @@ -16,7 +16,7 @@ authors: affiliation: 5 orcid: ~ - name: Ren Kun - affiliation: ~ + affiliation: 7 orcid: ~ - name: Indrajeet Patil orcid: 0000-0003-1995-6531 @@ -35,6 +35,10 @@ affiliations: name: Preisenergie GmbH, Munich, Germany - index: 5 name: Jumping Rivers + - index: 6 + name: The University of Queensland + - index: 7 + name: ??? output: md_document: variant: "markdown" diff --git a/paper/paper.md b/paper/paper.md index 079b54841..6179079da 100644 --- a/paper/paper.md +++ b/paper/paper.md @@ -1,14 +1,14 @@ --- title: "Static Code Analysis for R" -date: "2024-06-21" +date: "2024-09-04" tags: ["R", "linter", "tidyverse"] authors: - name: Jim Hester affiliation: 1 orcid: 0000-0002-2739-7082 - name: Florent Angly - affiliation: ~ - orcid: ~ + affiliation: 6 + orcid: 0000-0002-8999-0738 - name: Michael Chirico affiliation: 2 orcid: 0000-0003-0787-087X @@ -16,7 +16,7 @@ authors: affiliation: 5 orcid: ~ - name: Ren Kun - affiliation: ~ + affiliation: 7 orcid: ~ - name: Indrajeet Patil orcid: 0000-0003-1995-6531 @@ -35,6 +35,10 @@ affiliations: name: Preisenergie GmbH, Munich, Germany - index: 5 name: Jumping Rivers + - index: 6 + name: The University of Queensland + - index: 7 + name: ??? output: md_document: variant: "markdown" @@ -106,6 +110,7 @@ lint( text = "x >= 2.5", linters = redundant_ifelse_linter() ) +#> ℹ No lints found. ``` - **Efficiency** @@ -138,6 +143,7 @@ lint( text = "anyNA(x)", linters = any_is_na_linter() ) +#> ℹ No lints found. ``` - **Readability** @@ -170,6 +176,7 @@ lint( text = "x != 2", linters = comparison_negation_linter() ) +#> ℹ No lints found. ``` - **Tidyverse style** @@ -197,6 +204,7 @@ lint( text = "my_var <- 1L", linters = object_name_linter() ) +#> ℹ No lints found. ``` - **Common mistakes** @@ -247,9 +255,6 @@ l <- list(x = TRUE, x = FALSE) l["x"] #> $x #> [1] TRUE -``` - -``` r l[names(l) == "x"] #> $x #> [1] TRUE @@ -273,6 +278,7 @@ lint( text = "my.var <- 1L", linters = object_name_linter(styles = "dotted.case") ) +#> ℹ No lints found. ``` - Create new linters (by leveraging functions like From ff5530b8fc759cf110817e6103ae84930bdd0e6c Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Thu, 5 Sep 2024 14:27:13 +0200 Subject: [PATCH 2/2] Mark affiliation Unknown for the time being --- paper/paper.Rmd | 2 +- paper/paper.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paper/paper.Rmd b/paper/paper.Rmd index 45cfd49ce..05e3e3f61 100644 --- a/paper/paper.Rmd +++ b/paper/paper.Rmd @@ -38,7 +38,7 @@ affiliations: - index: 6 name: The University of Queensland - index: 7 - name: ??? + name: Unknown output: md_document: variant: "markdown" diff --git a/paper/paper.md b/paper/paper.md index 6179079da..ebdc1677d 100644 --- a/paper/paper.md +++ b/paper/paper.md @@ -1,6 +1,6 @@ --- title: "Static Code Analysis for R" -date: "2024-09-04" +date: "2024-09-05" tags: ["R", "linter", "tidyverse"] authors: - name: Jim Hester @@ -38,7 +38,7 @@ affiliations: - index: 6 name: The University of Queensland - index: 7 - name: ??? + name: Unknown output: md_document: variant: "markdown"