List just base packages or list all the packages in the local library and mark those in a base install.
p_base(base.only = TRUE, open = FALSE, basemarker = "***")
Packages that are installed when R starts are marked with an asterisk(*).
if (FALSE) { # \dontrun{
p_base()
p_base(TRUE)
} # }