diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15e933f66..efdbc2d34 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ default_language_version: repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9009 + rev: v0.4.3.9014 hooks: - id: style-files args: @@ -101,7 +101,7 @@ repos: )$ - id: pkgdown - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files args: ["--maxkb=200"] diff --git a/DESCRIPTION b/DESCRIPTION index 3418e39e5..2449065a5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -16,7 +16,7 @@ Authors@R: family = "Patil", role = "aut", email = "patilindrajeet.science@gmail.com", - comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets"))) + comment = c(ORCID = "0000-0003-1995-6531"))) Description: Pretty-prints R code without changing the user's formatting intent. License: MIT + file LICENSE @@ -52,7 +52,7 @@ Roxygen: list(markdown = TRUE, roclets = c( "rd", "namespace", "collate", if (rlang::is_installed("pkgapi")) "pkgapi::api_roclet" else { warning("Please install r-lib/pkgapi to make sure the file API is kept up to date"); NULL})) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 Language: en-US Config/testthat/edition: 3 Config/testthat/parallel: true diff --git a/R/rules-line-breaks.R b/R/rules-line-breaks.R index 0ced09d49..673bcab41 100644 --- a/R/rules-line-breaks.R +++ b/R/rules-line-breaks.R @@ -3,11 +3,11 @@ #' Rule: #' * Principle: Function arguments that consist of a braced expression always #' need to start on a new line -#' * Exception: [...] unless it's the last argument and all other +#' * Exception: unless it's the last argument and all other #' arguments fit on the line of the function call -#' * Exception: [...] or they are named. +#' * Exception: or they are named #' * Extension: Also, expressions following on braced expressions also cause a -#' line trigger. +#' line trigger #' @keywords internal #' @examplesIf FALSE #' tryCatch( diff --git a/man/set_line_break_before_curly_opening.Rd b/man/set_line_break_before_curly_opening.Rd index c590b58fc..8501984dd 100644 --- a/man/set_line_break_before_curly_opening.Rd +++ b/man/set_line_break_before_curly_opening.Rd @@ -11,11 +11,11 @@ Rule: \itemize{ \item Principle: Function arguments that consist of a braced expression always need to start on a new line -\item Exception: \link{...} unless it's the last argument and all other +\item Exception: unless it's the last argument and all other arguments fit on the line of the function call -\item Exception: \link{...} or they are named. +\item Exception: or they are named \item Extension: Also, expressions following on braced expressions also cause a -line trigger. +line trigger } } \examples{ diff --git a/man/styler-package.Rd b/man/styler-package.Rd index 8774cdba7..d69914d9e 100644 --- a/man/styler-package.Rd +++ b/man/styler-package.Rd @@ -41,7 +41,7 @@ Useful links: Authors: \itemize{ \item Kirill Müller \email{kirill@cynkra.com} (\href{https://orcid.org/0000-0002-1416-3412}{ORCID}) - \item Indrajeet Patil \email{patilindrajeet.science@gmail.com} (\href{https://orcid.org/0000-0003-1995-6531}{ORCID}) (@patilindrajeets) + \item Indrajeet Patil \email{patilindrajeet.science@gmail.com} (\href{https://orcid.org/0000-0003-1995-6531}{ORCID}) } }