Skip to content

Commit

Permalink
Merge branch 'main' into f2653-update-efficiency-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil authored Sep 5, 2024
2 parents 752ba12 + 64c8baa commit cdedd77
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
10 changes: 7 additions & 3 deletions paper/paper.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ 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
- name: Russ Hyde
affiliation: 5
orcid: ~
- name: Ren Kun
affiliation: ~
affiliation: 7
orcid: ~
- name: Indrajeet Patil
orcid: 0000-0003-1995-6531
Expand All @@ -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: Unknown
output:
md_document:
variant: "markdown"
Expand Down
20 changes: 13 additions & 7 deletions paper/paper.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
title: "Static Code Analysis for R"
date: "2024-06-21"
date: "2024-09-05"
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
- name: Russ Hyde
affiliation: 5
orcid: ~
- name: Ren Kun
affiliation: ~
affiliation: 7
orcid: ~
- name: Indrajeet Patil
orcid: 0000-0003-1995-6531
Expand All @@ -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: Unknown
output:
md_document:
variant: "markdown"
Expand Down Expand Up @@ -106,6 +110,7 @@ lint(
text = "x >= 2.5",
linters = redundant_ifelse_linter()
)
#> ℹ No lints found.
```

- **Efficiency**
Expand Down Expand Up @@ -138,6 +143,7 @@ lint(
text = "anyNA(x)",
linters = any_is_na_linter()
)
#> ℹ No lints found.
```

- **Readability**
Expand Down Expand Up @@ -170,6 +176,7 @@ lint(
text = "x != 2",
linters = comparison_negation_linter()
)
#> ℹ No lints found.
```

- **Tidyverse style**
Expand Down Expand Up @@ -197,6 +204,7 @@ lint(
text = "my_var <- 1L",
linters = object_name_linter()
)
#> ℹ No lints found.
```

- **Common mistakes**
Expand Down Expand Up @@ -247,9 +255,6 @@ l <- list(x = TRUE, x = FALSE)
l["x"]
#> $x
#> [1] TRUE
```

``` r
l[names(l) == "x"]
#> $x
#> [1] TRUE
Expand All @@ -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
Expand Down

0 comments on commit cdedd77

Please sign in to comment.