You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "eitsupi (via GitHub)" <gi...@apache.org> on 2023/05/09 10:21:41 UTC

[GitHub] [arrow] eitsupi commented on a diff in pull request #35502: GH-32282: [R] Update case_when() binding to match changes in dplyr

eitsupi commented on code in PR #35502:
URL: https://github.com/apache/arrow/pull/35502#discussion_r1188446245


##########
r/R/dplyr-funcs-conditional.R:
##########
@@ -90,7 +90,15 @@ register_bindings_conditional <- function() {
     out
   })
 
-  register_binding("dplyr::case_when", function(...) {
+  register_binding("dplyr::case_when", function(..., .default = NULL, .ptype = NULL, .size = NULL) {

Review Comment:
   > raises errors if non-NULL values are supplied for .ptype and .size.
   
   Would it be better to mention the limitation with the `notes`?
   
   https://github.com/apache/arrow/blob/7f3e87d2d5e6f0568dbb92b468d911717d9aed91/r/R/dplyr-funcs.R#L63-L64



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org