diff --git a/DESCRIPTION b/DESCRIPTION index 4798418..fcc951f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,7 +25,7 @@ Suggests: DT, htmltools, knitr, - markdown, + rmarkdown, repr, ggplot2, testthat, diff --git a/NEWS b/NEWS index 1777d8d..3006706 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ 0.10.6 (26.07.2020) ================ * fix for new data.table version (issue #67). Thanks to John Williams. -* fix unfriendly and arrogant dplyr behaviour (issues #65, #68) +* fix dplyr behaviour (issues #65, #68) 0.10.5 (05.07.2020) ================ diff --git a/R/S3_methods.R b/R/S3_methods.R index 5015aa7..7da6e98 100644 --- a/R/S3_methods.R +++ b/R/S3_methods.R @@ -58,7 +58,7 @@ c_labelled_factors = function(vectors){ is_ordered = any(vapply(vectors, FUN = is.ordered, FUN.VALUE = TRUE)) vectors = unlab(vectors) all_levels = lapply(vectors, extract_levels) - all_levels = unique(unlist(all_levels, use.name = FALSE)) + all_levels = unique(unlist(all_levels, use.names = FALSE)) res = unlist(lapply(vectors, as.character), use.names = FALSE) if(is_ordered){ ordered(res, levels = all_levels)