Github user actuaryzhang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18025#discussion_r119538499
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -1630,18 +1609,12 @@ setMethod("sqrt",
                 column(jc)
               })
     
    -#' sum
    -#'
    -#' Aggregate function: returns the sum of all values in the expression.
    +#' @section Details:
    +#' \code{sum}: Returns the sum of all values in the expression.
     #'
    -#' @param x Column to compute on.
    -#'
    -#' @rdname sum
    -#' @name sum
    -#' @family aggregate functions
    -#' @aliases sum,Column-method
    +#' @rdname column_aggregate_functions
    +#' @aliases sum sum,Column-method
     #' @export
    -#' @examples \dontrun{sum(df$c)}
    --- End diff --
    
    Good catch. Added to example.


---
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]

Reply via email to