as_label() name collision with dplyr
dicorynia opened this issue · comments
dicorynia commented
Hi
Thanks for this nice package !
More an information than an issue :
It seems that a recent (?) update in dplyr introduced a function named as_label()
If we use both packages we have to prefix the function with the package name.
Therefore some code in the vignette has failed :
https://cran.r-project.org/web/packages/sjlabelled/vignettes/labelleddata.html
e. g. in § Adding value labels as factor values
table(as_label(efc$e42dep),
as_label(efc$e16sex)),
beside = T,
legend.text = T
)
But the same in
https://strengejacke.github.io/sjlabelled/articles/labelleddata.html is still fine
Daniel commented
Thanks, I hope this issue is fixed now!