@@ -60,7 +60,7 @@ setGeneric("countByValue", function(x) { standardGeneric("countByValue") })
6060
6161# ' @rdname distinct
6262# ' @export
63- setGeneric ("distinct ", function(x, numPartitions = 1L ) { standardGeneric("distinct") })
63+ setGeneric ("distinct ", function(x, numPartitions = 1 ) { standardGeneric("distinct") })
6464
6565# ' @rdname filterRDD
6666# ' @export
@@ -182,7 +182,7 @@ setGeneric("setName", function(x, name) { standardGeneric("setName") })
182182# ' @rdname sortBy
183183# ' @export
184184setGeneric ("sortBy ",
185- function (x , func , ascending = TRUE , numPartitions = 1L ) {
185+ function (x , func , ascending = TRUE , numPartitions = 1 ) {
186186 standardGeneric(" sortBy" )
187187 })
188188
@@ -244,7 +244,7 @@ setGeneric("flatMapValues", function(X, FUN) { standardGeneric("flatMapValues")
244244
245245# ' @rdname intersection
246246# ' @export
247- setGeneric ("intersection ", function(x, other, numPartitions = 1L ) {
247+ setGeneric ("intersection ", function(x, other, numPartitions = 1 ) {
248248 standardGeneric(" intersection" ) })
249249
250250# ' @rdname keys
@@ -346,21 +346,21 @@ setGeneric("rightOuterJoin", function(x, y, numPartitions) { standardGeneric("ri
346346# ' @rdname sortByKey
347347# ' @export
348348setGeneric ("sortByKey ",
349- function (x , ascending = TRUE , numPartitions = 1L ) {
349+ function (x , ascending = TRUE , numPartitions = 1 ) {
350350 standardGeneric(" sortByKey" )
351351 })
352352
353353# ' @rdname subtract
354354# ' @export
355355setGeneric ("subtract ",
356- function (x , other , numPartitions = 1L ) {
356+ function (x , other , numPartitions = 1 ) {
357357 standardGeneric(" subtract" )
358358 })
359359
360360# ' @rdname subtractByKey
361361# ' @export
362362setGeneric ("subtractByKey ",
363- function (x , other , numPartitions = 1L ) {
363+ function (x , other , numPartitions = 1 ) {
364364 standardGeneric(" subtractByKey" )
365365 })
366366
0 commit comments