From 771e0e1af2b52ea8c46b10b04526dbc68a795980 Mon Sep 17 00:00:00 2001 From: Jackson Hoffart Date: Fri, 15 Mar 2024 12:41:01 +0100 Subject: [PATCH] fix tidyeval warning --- R/target_market_share.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/target_market_share.R b/R/target_market_share.R index 72d1538c..33b42dab 100644 --- a/R/target_market_share.R +++ b/R/target_market_share.R @@ -97,7 +97,7 @@ target_market_share <- function(data, abcd <- dplyr::summarize( abcd, production = sum(.data[["production"]]), - .by = -.data[["production"]] + .by = -"production" ) data <- aggregate_by_name_abcd(data)