Since R 3.6.0 library() has had arguments for exclude and include.only. This makes the solution to your problem very simple with: library(dplyr, exclude = "select") or library(MASS, exclude = "select")
library()
exclude
include.only
library(dplyr, exclude = "select")
library(MASS, exclude = "select")