Return names of packages from installed.packages() of which the priority is "base".
installed.packages()
"base"
base_pkgs()
A character vector of base R package names.
xfun::base_pkgs()