-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Document and check possible lang values * Fold unnecessary gsub into subsequent strsplit * Simplify and tighten tests * Use match to avoid subsequent reordering * Remove duplicate line * Simplify case of nomatch by using dedicated arg * Remove unnecessary \dontrun * Remove unnnecessary indexing by looping over digits * Add GitHub links to DESCRIPTION * Run devtools::document() * Run spelling::update_wordlist() * Copy .lintr from packagetemplate
- Loading branch information
Showing
8 changed files
with
52 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
linters: linters_with_tags( | ||
tags = NULL, # include all linters | ||
linters: all_linters( | ||
packages = c("lintr", "etdev"), | ||
object_name_linter = NULL, | ||
undesirable_function_linter = NULL, | ||
implicit_integer_linter = NULL, | ||
extraction_operator_linter = NULL, | ||
todo_comment_linter = NULL, | ||
library_call_linter = NULL, | ||
undesirable_function_linter( | ||
modify_defaults( | ||
default_undesirable_functions, | ||
citEntry = "use the more modern bibentry() function", | ||
library = NULL # too many false positive in too many files | ||
) | ||
), | ||
function_argument_linter = NULL, | ||
indentation_linter = NULL, # unstable as of lintr 3.1.0 | ||
# Use minimum R declared in DESCRIPTION or fall back to current R version. | ||
# Install etdev package from https://github.com/epiverse-trace/etdev | ||
backport_linter(if (length(x <- etdev::extract_min_r_version())) x else getRversion()) | ||
) | ||
exclusions: list( | ||
"tests/testthat.R" = list(unused_import_linter = Inf) | ||
"tests/testthat.R" = list( | ||
unused_import_linter = Inf | ||
), | ||
"tests" = list( | ||
undesirable_function_linter = Inf | ||
), | ||
"data-raw" = list( | ||
missing_package_linter = Inf, | ||
namespace_linter = Inf | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,22 @@ | ||
www | ||
reconverse | ||
Centre | ||
Modelling | ||
CMD | ||
Centre | ||
Codecov | ||
Epiverse | ||
Lifecycle | ||
Titlecase | ||
al | ||
Modelling | ||
cleanepi | ||
codecov | ||
doi | ||
et | ||
deux | ||
gh | ||
github | ||
https | ||
io | ||
lifecycle | ||
packagename | ||
reconverse | ||
repo | ||
svg | ||
yaml | ||
zenodo | ||
numberize | ||
bcien | ||
catorce | ||
ciento | ||
cinco | ||
cincuenta | ||
cinq | ||
cinquante | ||
cuarenta | ||
cuatro | ||
cuatrocientos | ||
deux | ||
diecinueve | ||
dieciocho | ||
diecis | ||
diecisiete | ||
diez | ||
dix | ||
doce | ||
dontrun | ||
doscientos | ||
douze | ||
gsub | ||
huit | ||
lang | ||
mille | ||
millones | ||
na | ||
neuf | ||
novecientos | ||
noventa | ||
nueve | ||
numberize | ||
ochenta | ||
ocho | ||
ochocientos | ||
onze | ||
param | ||
quarante | ||
quatorze | ||
quatre | ||
quinientos | ||
quinze | ||
seis | ||
seiscientos | ||
sept | ||
sesenta | ||
setecientos | ||
setenta | ||
siete | ||
soixante | ||
spelt | ||
stringsAsFactors | ||
strsplit | ||
sy | ||
tolower | ||
trece | ||
treinta | ||
treize | ||
trente | ||
tres | ||
trescientos | ||
svg | ||
trois | ||
un | ||
uno | ||
veinte | ||
veinticinco | ||
veinticuatro | ||
veintid | ||
veintinueve | ||
veintiocho | ||
veintis | ||
veintisiete | ||
veintitr | ||
veintiuno | ||
vingt | ||
www | ||
yaml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters