Skip to content

Commit d9d9b3e

Browse files
committed
fix bugs
1 parent 28916fc commit d9d9b3e

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

R/pkg/R/DataFrame.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@ setMethod("summary",
25102510
})
25112511

25122512

2513-
#' A set of SparkDataFrame functions working with NA falues
2513+
#' A set of SparkDataFrame functions working with NA values
25142514
#'
25152515
#' dropna, na.omit - Returns a new SparkDataFrame omitting rows with null values.
25162516
#'

R/pkg/R/column.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ setOldClass("jobj")
3434
setClass("Column",
3535
slots = list(jc = "jobj"))
3636

37+
#' A set of operations working with SparkDataFrame columns
38+
#' @rdname columnfunctions
39+
#' @name columnfunctions
40+
NULL
41+
3742
setMethod("initialize", "Column", function(.Object, jc) {
3843
.Object@jc <- jc
3944
.Object
@@ -47,6 +52,7 @@ setMethod("column",
4752

4853
#' @rdname show
4954
#' @name show
55+
#' @export
5056
#' @note show(Column) since 1.4.0
5157
setMethod("show", "Column",
5258
function(object) {

R/pkg/R/functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ setMethod("cbrt",
235235
column(jc)
236236
})
237237

238-
#' Computes the ceiling of the given value.
238+
#' Computes the ceiling of the given value
239239
#'
240240
#' Computes the ceiling of the given value.
241241
#'

R/pkg/R/generics.R

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ setGeneric("randomSplit", function(x, weights, seed) { standardGeneric("randomSp
689689

690690
###################### Column Methods ##########################
691691

692-
#' @rdname column functions
692+
#' @rdname columnfunctions
693693
#' @export
694694
setGeneric("asc", function(x) { standardGeneric("asc") })
695695

@@ -701,43 +701,43 @@ setGeneric("between", function(x, bounds) { standardGeneric("between") })
701701
#' @export
702702
setGeneric("cast", function(x, dataType) { standardGeneric("cast") })
703703

704-
#' @rdname column functions
704+
#' @rdname columnfunctions
705705
#' @export
706706
setGeneric("contains", function(x, ...) { standardGeneric("contains") })
707707

708-
#' @rdname column functions
708+
#' @rdname columnfunctions
709709
#' @export
710710
setGeneric("desc", function(x) { standardGeneric("desc") })
711711

712712
#' @rdname endsWith
713713
#' @export
714714
setGeneric("endsWith", function(x, suffix) { standardGeneric("endsWith") })
715715

716-
#' @rdname column functions
716+
#' @rdname columnfunctions
717717
#' @export
718718
setGeneric("getField", function(x, ...) { standardGeneric("getField") })
719719

720-
#' @rdname column functions
720+
#' @rdname columnfunctions
721721
#' @export
722722
setGeneric("getItem", function(x, ...) { standardGeneric("getItem") })
723723

724-
#' @rdname column functions
724+
#' @rdname columnfunctions
725725
#' @export
726726
setGeneric("isNaN", function(x) { standardGeneric("isNaN") })
727727

728-
#' @rdname column functions
728+
#' @rdname columnfunctions
729729
#' @export
730730
setGeneric("isNull", function(x) { standardGeneric("isNull") })
731731

732-
#' @rdname column functions
732+
#' @rdname columnfunctions
733733
#' @export
734734
setGeneric("isNotNull", function(x) { standardGeneric("isNotNull") })
735735

736-
#' @rdname column functions
736+
#' @rdname columnfunctions
737737
#' @export
738738
setGeneric("like", function(x, ...) { standardGeneric("like") })
739739

740-
#' @rdname column functions
740+
#' @rdname columnfunctions
741741
#' @export
742742
setGeneric("rlike", function(x, ...) { standardGeneric("rlike") })
743743

0 commit comments

Comments
 (0)