Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Jan 2, 2025
1 parent cfe1d51 commit 12ec6ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/class_sequential.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ sequential_class <- R6::R6Class(
cloneable = FALSE,
public = list(
dequeue = function() {
head <- self$data[1L]
self$data <- self$data[-1L]
head <- data[1L]
self$data <- data[-1L]
head
},
prepend = function(names, ranks = NULL) {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-class_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ tar_test("file_update_hash() where neither file exists", {
expect_false(anyNA(file_time_posixct(file$time)))
expect_true(inherits(file_time_posixct(file$time), "POSIXct"))
expect_true(is.character(file$size))
expect_true(grepl("^s", file$size))
expect_true(grepl("^s", file$size))
expect_true(grepl("b$", file$size))
})

Expand Down

0 comments on commit 12ec6ea

Please sign in to comment.