rm_latest_packages {batata}R Documentation

Remove the n latest installed R packages

Description

Remove the n latest installed R packages

Usage

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


## Not run: 

# Removing the last 10 installed packages

rm_latest_packages(n = 10)


## End(Not run)

[Package batata version 0.2.1 Index]