rm_latest_packages: Remove the n latest installed R packages

Description Usage Arguments Value Examples

View source: R/rm_latest_packages.R

Description

Remove the n latest installed R packages

Usage

1
rm_latest_packages(n = 1, lib = .libPaths())

Arguments

n

the last number of installed packages to remove. Default to 1 for the last installed package

lib

a character vector giving the library directories. Defaults to the first element in .libPaths()

Value

called for the side effect of removing the n latest installed packages

Examples

1
2
3
4
5
6
7
8
## Not run: 

# Removing the last 10 installed packages

rm_latest_packages(n = 10)


## End(Not run)

batata documentation built on March 8, 2021, 5:06 p.m.