Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksanderbl29 committed Nov 28, 2024
1 parent ccd6d16 commit c62027e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .lintr
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linters: linters_with_defaults() # see vignette("lintr")
linters: linters_with_defaults(
cyclocomp_linter(complexity_limit = 17L))
encoding: "UTF-8"
exclusions: list(
"tests")
1 change: 1 addition & 0 deletions R/dst_get_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ dst_get_data <- function(table,
} else {
stop("You haven't selected an appropiate language ('da' or 'en'")
}

names(dst_data) <- c(dst_names, "value")

# Remove the code
Expand Down
4 changes: 0 additions & 4 deletions data-raw/dst_tables.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
tables <- dst_get_tables(lang = "en")

usethis::use_data(tables, overwrite = TRUE)

# tables_da <- dst_get_tables(lang = "da")
#
# usethis::use_data(tables_da, overwrite = TRUE)

0 comments on commit c62027e

Please sign in to comment.