Skip to content

Commit

Permalink
Use Epiverse-TRACE lintr settings (#67)
Browse files Browse the repository at this point in the history
* Copy lintr settings from packagetemplate

* Use v3 for rda file workspace format

* Do not use == TRUE on booleans

* Remove unnecessary c()

* Use startsWith() / endsWith() where appropriate

* Add fixed to regex where appropriate

* Use dedicate URLencode() fct to HTML escape space

* Simplify paste() to paste0()

* Use file.path() and system.file() for portable file paths

* Simplify complex ifelse() succession

* Simplify complex if

* Silence library_call_linter()

* Silence lint on pak::pak()

* Add undesirable function linter

* Replace sapply() calls by vectorized operations

* Add .lintr to .Rbuildignore

* Run devtools::document()

* Prefix URLencode() with namespace

* Unify consecutive call to stopifnot()

* Remove unnecessary quotes around names

* Remove paste0() in warning() call

* Convert code_dept to character
to use startsWith() and later, substr()

---------

Co-authored-by: GeraldineGomez <avocadoenterprise@gmail.com>
  • Loading branch information
Bisaloo and GeraldineGomez authored Nov 23, 2023
1 parent 5a5724f commit fc63caf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
^codecov\.yml$
^LICENSE\.md$
^config\.yml$
^\.lintr$
^\.lintr$
Binary file modified data/dengue2020.RData
Binary file not shown.
4 changes: 2 additions & 2 deletions man/sivirep-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc63caf

Please sign in to comment.