pacman
pacman copied to clipboard
Add recommended arg (T/F) to p_base
R installs several recommended packages by default in addition to base packages. It's useful to know these recommended packages as well. Maybe add recommended = FALSE
arg to p_base
and use the following approach to see recommended:
x <- installed.packages()
x[x[,"Priority"] %in% c("base","recommended"), c("Package", "Priority")]
Couldn't hurt. Is there a use case you have in mind for this functionality?