Github user sarutak commented on a diff in the pull request:
https://github.com/apache/spark/pull/7440#discussion_r34862903
--- Diff: R/pkg/R/utils.R ---
@@ -440,19 +446,23 @@ processClosure <- function(node, oldEnv, defVars,
checkedFuncs, newEnv) {
# Namespaces other than "SparkR" will not be searched.
if (!isNamespace(func.env) ||
(getNamespaceName(func.env) == "SparkR" &&
- !(nodeChar %in% getNamespaceExports("SparkR")))) { # Only
include SparkR internals.
+ !(nodeChar %in% getNamespaceExports("SparkR")))) {
--- End diff --
According to the style guide
(http://google-styleguide.googlecode.com/svn/trunk/Rguide.xml#indentation), we
should align this line with `!isNamespace` right?
Maybe, we can see the same issue in various places and should open another
PR about it.
---
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]