Unused packages are those still contained within your project library, but are unused in your project.

unused_packages(project = NULL, lib.loc = libDir(project))

Arguments

project

The project directory.

lib.loc

The library to check.