From 82522e42f2505c2a3be502e0a41a9a80eaeb15cb Mon Sep 17 00:00:00 2001 From: hanneoberman Date: Thu, 25 Jul 2024 17:21:04 +0200 Subject: [PATCH] remove unnecessary(?) use of `tail()` --- R/plot_trace.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot_trace.R b/R/plot_trace.R index d6a5a1b2..bdab8d09 100644 --- a/R/plot_trace.R +++ b/R/plot_trace.R @@ -49,7 +49,7 @@ plot_trace <- function(data, vrb = "all") { # select variable to plot from list of imputed variables vrb <- rlang::enexpr(vrb) if (is.call(vrb)) - vrb <- as.character(vrb) |> utils::tail(-1) + vrb <- as.character(vrb)[-1] if (is.symbol(vrb)) vrb <- as.character(vrb)