This post got closed as opinion-based: When should I use read.csv() versus read_csv(). Why is that?
Because "when should I use X vs Y" is an opinion-based question, that's why. Unless we get more information/conditions about the scenario, at least. It's like "which one is faster? X or Y" ... it always depends on a whole bunch of things.
OP says their professor told them to prefer X over Y... we can't really speak to why the professor said that. At best, we can guess, and such guess questions aren't good subjective questions. Further, these two functions are ostensibly defined somewhere in the R documentation, but OP didn't bother to check there and see what the differences in implementation are, or ask a specific question about said implementations.
The question might be editable such that it asks a good, focused, objective question, but I don't know if that will end up invalidating the answers.
Also, the question was closed four years ago. Why are you asking about its closure now? Why not just vote to reopen it if you think it should be reopened?