Skip to contents

Drop packages from an existing slushy environment.

Usage

slushy_drop(pkgs, project = NULL, restart = TRUE)

Arguments

pkgs

Character vector of packages to remove

project

The project directory. If NULL, defaults to the nearest parent directory that contains an `.Rproj` file relative to the current working directory.

restart

Restart session after package is added? Defaults to TRUE.

Value

This function is called for its side effects.

Examples

if (FALSE) { # \dontrun{
  slushy_drop("oldpkg")
} # }