sarutak commented on code in PR #55740:
URL: https://github.com/apache/spark/pull/55740#discussion_r3215250367
##########
R/pkg/R/utils.R:
##########
@@ -546,6 +546,11 @@ processClosure <- function(node, oldEnv, defVars,
checkedFuncs, newEnv) {
error = function(e) { FALSE })) {
obj <- get(nodeChar, envir = func.env, inherits = FALSE)
if (is.function(obj)) {
+ if (is.primitive(obj)) {
Review Comment:
As of Spark 4.0, SparkR is deprecated. So just applying this change to
`branch-3.5` in this PR.
Do we need to apply this change for other branches including `master`?
CRAN seems to provide only the latest version of R. So it's difficult to pin
to a older version, and this change is necessary at least for `branch-3.5` for
CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]