Github user felixcheung commented on the pull request:

    https://github.com/apache/spark/pull/10171#issuecomment-162639856
  
    @shivaram `conflicts` would return any object that is masked, so that could 
involve local objects/variables. You can see the example with `lm` 
[here](https://stat.ethz.ch/R-manual/R-devel/library/base/html/conflicts.html).
    
    I have verified this via SPARK_HOME/R/run_tests.sh - with this load order:
    ```
    base ... -> stats ... -> testthat -> SparkR
    ```
    I guess it is possible that something in profile or loading with an 
explicit `library(... pos = "package:base")` that changes it, but since 
`testthat` [suggest](http://r-pkgs.had.co.nz/check.html#check) running test 
from `R CMD check` I think we should have full control over what packages are 
loaded.
    
    For now I assume we want to detect conflicts with `base` and `stats` only, 
but we could certain add `dplyr` or `S4Vectors` to the list (though we would 
have a lot more conflicts then, as discovered from that earlier investigation)



---
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]

Reply via email to