Last active
July 15, 2021 08:16
-
-
Save CorradoLanera/d361798fab144e7841cf0ec1626ba37a to your computer and use it in GitHub Desktop.
My personalized R configuration files
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
linters: with_defaults( | |
T_and_F_symbol_linter, | |
todo_comment_linter, | |
object_name_linter(styles = "snake_case"), | |
object_length_linter, | |
extraction_operator_linter, | |
implicit_integer_linter, | |
absolute_path_linter, | |
nonportable_path_linter, | |
semicolon_terminator_linter, | |
unneeded_concatenation_linter, | |
undesirable_operator_linter | |
) | |
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
_R_CHECK_LENGTH_1_CONDITION_ = TRUE | |
_R_CHECK_LENGTH_1_LOGIC2_ = TRUE |
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
options( | |
# Add warns for partial matching ------------------------------------- | |
warnPartialMatchDollar = TRUE, | |
warnPartialMatchArgs = TRUE, | |
warnPartialMatchAttr = TRUE, | |
# Default personal informations -------------------------------------- | |
usethis.name = "Corrado", | |
usethis.full_name = "Corrado Lanera", | |
usethis.description = list( | |
`Authors@R` = utils::person( | |
given = "Corrado", | |
family = "Lanera", | |
email = "corrado.lanera@gmail.com", | |
role = c("aut", "cre", "cph"), | |
comment = c( | |
ORCID = "0000-0002-0520-7428", | |
URL = "www.CorradoLanera.it" | |
) | |
), | |
License = "GPL-3", | |
Version = "0.0.0.9000" | |
), | |
# Default github protocol | |
usethis.protocol = "ssh" | |
) | |
if (interactive()) { | |
suppressWarnings(suppressPackageStartupMessages({ | |
require(devtools) | |
require(testthat) | |
require(usethis) | |
})) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment