Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/18114#discussion_r123311748
--- Diff: R/pkg/R/functions.R ---
@@ -2048,19 +2041,21 @@ setMethod("atan2", signature(y = "Column"),
column(jc)
})
-#' datediff
-#'
-#' Returns the number of days from \code{start} to \code{end}.
-#'
-#' @param x start Column to use.
-#' @param y end Column to use.
+#' @section Details:
+#' \code{datediff}: Returns the number of days from \code{y} to \code{x}.
#'
-#' @rdname datediff
-#' @name datediff
-#' @aliases datediff,Column-method
-#' @family date time functions
+#' @rdname column_datetime_diff_functions
+#' @aliases datediff datediff,Column-method
#' @export
-#' @examples \dontrun{datediff(df$c, x)}
+#' @examples
+#'
+#' \dontrun{
+#' set.seed(11)
--- End diff --
why need to set seed?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]