From 6b54905708848b34c5330a6771b80f53a338a148 Mon Sep 17 00:00:00 2001 From: Gregory Demin Date: Mon, 27 Jul 2020 00:16:58 +0300 Subject: [PATCH] Fixes before release --- DESCRIPTION | 2 +- NEWS | 2 +- R/S3_methods.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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)