Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 21, 2023
1 parent 8a1103d commit 5760b0f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions R/outpack_index.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ outpack_index <- R6::R6Class(
},

refresh = function(progress = NULL) {
private$data_ <- index_update(private$path_, private$data_, FALSE, progress)
private$data_ <- index_update(private$path_, private$data_, FALSE,
progress)
invisible(self)
},

Expand Down Expand Up @@ -118,8 +119,9 @@ read_locations <- function(root_path, prev, progress) {
location_path <- fs::dir_ls(file.path(root_path, ".outpack", "location"),
type = "directory")
location_name <- basename(location_path)
new <- do.call(rbind,
lapply(location_name, read_location, root_path, prev, progress))
new <- do.call(
rbind,
lapply(location_name, read_location, root_path, prev, progress))
ret <- rbind(prev, new)
## Always sort by location, then id
ret <- ret[order(match(ret$location, location_name), ret$packet), ]
Expand Down

0 comments on commit 5760b0f

Please sign in to comment.