From 5287a436d8dcd121606ce2f866fb4878d22c1e84 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Tue, 22 Oct 2024 09:55:14 +0200 Subject: [PATCH] rename attribute for original breaks --- R/label-compose.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/label-compose.R b/R/label-compose.R index 955a2244..d324c069 100644 --- a/R/label-compose.R +++ b/R/label-compose.R @@ -39,7 +39,7 @@ compose_label <- function(..., call = caller_env()) { orig <- x for (labeller in label_list) { x <- labeller(x) - attr(x, "orig") <- orig + attr(x, "orig_breaks") <- orig } x[is.na(orig)] <- NA names(x) <- names(x) %||% names(orig)