Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/14735#discussion_r75661714
--- Diff: R/pkg/R/mllib.R ---
@@ -1027,7 +1009,7 @@ setMethod("spark.gaussianMixture", signature(data =
"SparkDataFrame", formula =
#' @export
#' @note summary(GaussianMixtureModel) since 2.1.0
setMethod("summary", signature(object = "GaussianMixtureModel"),
- function(object, ...) {
--- End diff --
It's in the generic defined in a different file generics.R
We have discussed this at length, this is unfortunately a compromise we
need to take at this point. We are going to see some documentation tags spread
a bit from now on.
Long story short, CRAN checks warn about undocumented parameter; we need to
have the generic with `...` to match the base::summary signature; we shouldn't
add `...` in the actual definition since we don't use it and having it weakens
the function contract (which is discouraged).
---
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]