diff options
author | Narine Kokhlikyan <narine@slice.com> | 2016-06-20 19:36:51 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2016-06-20 19:36:51 -0700 |
commit | e2b7eba87cdf67fa737c32f5f6ca075445ff28cb (patch) | |
tree | 2ee7ea9819f0c3ecf0187b5fafb80d5635f85118 /R/pkg | |
parent | a42bf555326b75c8251be77db68105c29e8c95c4 (diff) | |
download | spark-e2b7eba87cdf67fa737c32f5f6ca075445ff28cb.tar.gz spark-e2b7eba87cdf67fa737c32f5f6ca075445ff28cb.tar.bz2 spark-e2b7eba87cdf67fa737c32f5f6ca075445ff28cb.zip |
remove duplicated docs in dapply
## What changes were proposed in this pull request?
Removed unnecessary duplicated documentation in dapply and dapplyCollect.
In this pull request I created separate R docs for dapply and dapplyCollect - kept dapply's documentation separate from dapplyCollect's and referred from one to another via a link.
## How was this patch tested?
Existing test cases.
Author: Narine Kokhlikyan <narine@slice.com>
Closes #13790 from NarineK/dapply-docs-fix.
Diffstat (limited to 'R/pkg')
-rw-r--r-- | R/pkg/R/DataFrame.R | 4 | ||||
-rw-r--r-- | R/pkg/R/generics.R | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R index ecdcd6e29f..b3f2dd82ff 100644 --- a/R/pkg/R/DataFrame.R +++ b/R/pkg/R/DataFrame.R @@ -1250,6 +1250,7 @@ dapplyInternal <- function(x, func, schema) { #' @family SparkDataFrame functions #' @rdname dapply #' @name dapply +#' @seealso \link{dapplyCollect} #' @export #' @examples #' \dontrun{ @@ -1294,8 +1295,9 @@ setMethod("dapply", #' to each partition will be passed. #' The output of func should be a data.frame. #' @family SparkDataFrame functions -#' @rdname dapply +#' @rdname dapplyCollect #' @name dapplyCollect +#' @seealso \link{dapply} #' @export #' @examples #' \dontrun{ diff --git a/R/pkg/R/generics.R b/R/pkg/R/generics.R index f6b9276d86..3fb6370497 100644 --- a/R/pkg/R/generics.R +++ b/R/pkg/R/generics.R @@ -457,7 +457,7 @@ setGeneric("createOrReplaceTempView", #' @export setGeneric("dapply", function(x, func, schema) { standardGeneric("dapply") }) -#' @rdname dapply +#' @rdname dapplyCollect #' @export setGeneric("dapplyCollect", function(x, func) { standardGeneric("dapplyCollect") }) |