From c5dd3fbbd4f4043c5ed93e0eeaef4d1d0b21c9f4 Mon Sep 17 00:00:00 2001 From: Rob <39248272+r-ash@users.noreply.github.com> Date: Thu, 22 Feb 2024 18:01:18 +0000 Subject: [PATCH] Update R/location.R Co-authored-by: Rich FitzJohn --- R/location.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] } }