Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Dec 4, 2023
1 parent 799bad7 commit acc0f22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linters: linters_with_defaults(
infix_spaces_linter = NULL,
object_length_linter = NULL,
object_name_linter = NULL,
object_usage_linter = NULL)
Expand Down
7 changes: 0 additions & 7 deletions R/class_parallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ parallel_class <- R6::R6Class(
counter_set_names(counter, names)
invisible()
},
append0 = function(name) {
n <- length(self$data) + 1L
self$data[n] <- 0L
names(self$data)[n] <- name
counter_set_name(counter = self$counter, name = name)
invisible()
},
increment_ranks = function(names, by) {
index <- names(self$data) %in% names
self$data[index] <- self$data[index] + by
Expand Down

0 comments on commit acc0f22

Please sign in to comment.