Learn R Programming

pkg (version 0.1.1.9000)

proj_remove: Remove package(s) from a project

Description

Removes it both from the project library and the DESCRIPTION file. Note that it does not remove dependencies that are not needed any more.

Usage

proj_remove(pkg, root = ".", ask = interactive())

Arguments

pkg

Package(s) to remove. These can be package names or general remote references, e.g. github::r-lib/pkg. The packages are also removed from DESCRIPTION.

root

Path to the project directory. A subdirectory can be given as well. Defaults to the current working directory.

ask

Whether to ask the user for confirmation. For non-interactive installs supplyFALSE here.

See Also

Other project functions: proj_create, proj_install_dev, proj_install, proj_status