From 5760b0f97e0fe44ad887bae360397336138e6268 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Tue, 21 Nov 2023 16:00:54 +0000 Subject: [PATCH] Fix lint --- R/outpack_index.R | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/R/outpack_index.R b/R/outpack_index.R index 6ea66c7c..1308ae34 100644 --- a/R/outpack_index.R +++ b/R/outpack_index.R @@ -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) }, @@ -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), ]