powered by
Safely detaches a package from the search path and optionally unloads its namespace.
detach_pkg_if_attached(pkg, unload_namespace = TRUE, quiet = TRUE)