That wasn't a "problem". It was only a "message" and not even a particularly dangerous message. It was telling you that the vegan package had a function of the same name as another function in the pls package. If you know that you will be using the scores
function with the syntax of the pls::scores
function at a later time, then you will need to use it with that form. If you just use scores
you will get the function as it exists in pkg:vegan
.
I'm being mute about the second part (although it may be premised incorrectly on your anxiety about the message, in which case the question is moot). Multipart questions are discouraged on SO.