diff --git a/R/location.R b/R/location.R index 4d7759d5..820af691 100644 --- a/R/location.R +++ b/R/location.R @@ -810,7 +810,7 @@ location_pull_files <- function(files, root) { }) if (any(on_disk)) { cli::cli_alert_success("Found {sum(on_disk)} file{?s} on disk") - files <- files[!on_disk, ] + files <- files[!on_disk, , drop = FALSE] } }