Use addcolumn instead of mutate to add new columns in highcharter helper
Fixes an issue with dplyr 1.0:
x Input `year` can't be recycled to size 2.
ℹ Input `year` is `as.integer(queryStringToLabel(df$vc, pubDateOnly =
TRUE))`.
ℹ Input `year` must be size 2 or 1, not 58.
ℹ The error occured in group 1: vc = "textType = /Zeit.*/ & pubDate in
1990".
Change-Id: Ie3e3414e47bd8f6408270a53ef1d216a46f28824
diff --git a/NAMESPACE b/NAMESPACE
index 3596a04..06e32cd 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -75,6 +75,7 @@
importFrom(plotly,ggplotly)
importFrom(purrr,map_dfr)
importFrom(stats,prop.test)
+importFrom(tibble,add_column)
importFrom(tibble,as_tibble)
importFrom(tibble,remove_rownames)
importFrom(tibble,rownames_to_column)