This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new fe6e902ba2 ARROW-17371: [R] Remove as.factor to dictionary_encode 
mapping
fe6e902ba2 is described below

commit fe6e902ba2128969b42cfe0f94ef9e68c009214e
Author: Nic Crane <[email protected]>
AuthorDate: Thu Sep 1 16:54:47 2022 +0100

    ARROW-17371: [R] Remove as.factor to dictionary_encode mapping
    
    Closes #13836 from thisisnic/remove_as_factor
    
    Authored-by: Nic Crane <[email protected]>
    Signed-off-by: Nic Crane <[email protected]>
---
 r/R/expression.R | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/r/R/expression.R b/r/R/expression.R
index 6b9eb5e89c..09a8ea2460 100644
--- a/r/R/expression.R
+++ b/r/R/expression.R
@@ -75,10 +75,8 @@
   "lubridate::mday" = "day",
   "lubridate::yday" = "day_of_year",
   "lubridate::year" = "year",
-  "lubridate::leap_year" = "is_leap_year",
+  "lubridate::leap_year" = "is_leap_year"
 
-  # type conversion functions
-  "base::as.factor" = "dictionary_encode"
 )
 
 .binary_function_map <- list(

Reply via email to