diff --git a/R/snapshot.R b/R/snapshot.R index 9f601e0b1..8b00046aa 100644 --- a/R/snapshot.R +++ b/R/snapshot.R @@ -312,7 +312,8 @@ local_snapshot_dir <- function(snap_names, .env = parent.frame()) { path } -indent <- function(x) paste0(" ", x) +# if transform() wiped out the full message, don't indent, #1487 +indent <- function(x) if (length(x)) paste0(" ", x) else x check_variant <- function(x) { if (is.null(x)) {