View source: R/duplicated_packages.R
duplicated_packages | R Documentation |
A data.frame with the duplicated packages and their locations and version.
The columns Lib1 and Version1 should have the oldest version of the packages.
duplicated_packages()
duplicated_packages lists the duplicated packages with their locations
A data.frame with 4 elements for each duplicated packages:
versions: the version of the packages
libraries: the locations
Marc Girondot marc.girondot@gmail.com
## Not run:
library(HelpersMG)
duplicated_packages()
# To remove the oldest versions of the installed packages, use
li <- duplicated_packages()
if (nrow(li) != 0)
for (i in 1:nrow(li))
remove.packages(rownames(li)[i], lib=li[i, "Lib1"])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.