Skip to content

Commit

Permalink
recreated .lintr file, fully linted, resolved issue #52
Browse files Browse the repository at this point in the history
  • Loading branch information
realbp committed Mar 21, 2024
1 parent b227e5b commit c6619b2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
linters: linters_with_defaults(
line_length_linter(120),
cyclocomp_linter(complexity_limit = 150)
)
4 changes: 4 additions & 0 deletions R/.lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
linters: linters_with_defaults(
line_length_linter(120),
cyclocomp_linter(complexity_limit = 150)
)
2 changes: 1 addition & 1 deletion R/process-resp.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#'
#' @examples
#' process_resp(resp, "demographics")
#'
#'
process_resp <- function(resp, topic) {
if (httr2::resp_content_type(resp) != "text/csv") {
cli_abort("Invalid input, please check documentation for valid arguments.")
Expand Down
2 changes: 1 addition & 1 deletion R/risk-diet-exercise.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' - `"Asian / Pacific Islander (non-Hispanic)"`
#' - `"Hispanic (Any Race)"`.
#' @template param-sex
#'
#'
#' @importFrom httr2 req_url_query req_perform
#' @importFrom stats setNames
#' @importFrom dplyr mutate across
Expand Down

0 comments on commit c6619b2

Please sign in to comment.