-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-22063][R] Fixes lint check failures in R by latest commit sha1 ID of lint-r #19290
Changes from all commits
327e5ee
b4b1dc9
e83fd5a
fd64752
3a5be94
2e89c2a
550750e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
linters: with_defaults(line_length_linter(100), multiple_dots_linter = NULL, camel_case_linter = NULL, open_curly_linter(allow_single_line = TRUE), closed_curly_linter(allow_single_line = TRUE)) | ||
linters: with_defaults(line_length_linter(100), multiple_dots_linter = NULL, object_name_linter = NULL, camel_case_linter = NULL, open_curly_linter(allow_single_line = TRUE), closed_curly_linter(allow_single_line = TRUE)) | ||
exclusions: list("inst/profile/general.R" = 1, "inst/profile/shell.R") |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,8 +238,10 @@ setMethod("between", signature(x = "Column"), | |
#' @param x a Column. | ||
#' @param dataType a character object describing the target data type. | ||
#' See | ||
# nolint start | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just double checked the links. |
||
#' \href{https://spark.apache.org/docs/latest/sparkr.html#data-type-mapping-between-r-and-spark}{ | ||
#' Spark Data Types} for available data types. | ||
# nolint end | ||
#' @rdname cast | ||
#' @name cast | ||
#' @family colum_func | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -329,7 +329,7 @@ spark.addFile <- function(path, recursive = FALSE) { | |
#' spark.getSparkFilesRootDirectory() | ||
#'} | ||
#' @note spark.getSparkFilesRootDirectory since 2.1.0 | ||
spark.getSparkFilesRootDirectory <- function() { | ||
spark.getSparkFilesRootDirectory <- function() { # nolint | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto: 30 length identifier limit but exposed in the doc There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one is an API... |
||
if (Sys.getenv("SPARKR_IS_RUNNING_ON_WORKER") == "") { | ||
# Running on driver. | ||
callJStatic("org.apache.spark.SparkFiles", "getRootDirectory") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
object_name_linter = NULL
looks required. Otherwise, it complains about inconsistent naming styles.