From 6527497b2a01c0b2bc1b9cfc4bd3d09096a8dbc5 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Wed, 3 Apr 2024 13:34:57 +0100 Subject: [PATCH] style fix --- R/location.R | 2 +- R/location_path.R | 2 +- R/outpack_insert.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/location.R b/R/location.R index c7b2b13a..e25d4088 100644 --- a/R/location.R +++ b/R/location.R @@ -474,7 +474,7 @@ location_pull_metadata <- function(location_name, root, call) { "Please let us know how this might have happened."), i = hint_remove), call) - writeLines(metadata[[i]], filename[[i]], sep="") + writeLines(metadata[[i]], filename[[i]], sep = "") } } diff --git a/R/location_path.R b/R/location_path.R index 15ffd5bc..daea4594 100644 --- a/R/location_path.R +++ b/R/location_path.R @@ -92,7 +92,7 @@ location_path_import_metadata <- function(str, hash, root) { root$files$get(meta$files$hash, dst, TRUE) } - writeLines(str, file.path(root$path, ".outpack", "metadata", id), sep="") + writeLines(str, file.path(root$path, ".outpack", "metadata", id), sep = "") time <- Sys.time() mark_packet_known(id, local, hash, time, root) } diff --git a/R/outpack_insert.R b/R/outpack_insert.R index 2129e22f..44101e24 100644 --- a/R/outpack_insert.R +++ b/R/outpack_insert.R @@ -34,7 +34,7 @@ outpack_insert_packet <- function(path, json, root = NULL) { } path_meta <- file.path(root$path, ".outpack", "metadata", id) - writeLines(json, path_meta, sep="") + writeLines(json, path_meta, sep = "") ## TODO: once we get more flexible remotes, this will get moved into ## its own thing.