When I load a package, I get a message stating that:
\"The following object is masked from \'package:xxx\'
For example, if I load testthat
I have the same problem. I avoid it with remove.packages("Package making this confusion") and it works. In my case, I don't need the second package, so that is not a very good idea.
remove.packages("Package making this confusion")