An installation plan contains all data that is needed to install a set of package files. It is usually created from an installation proposal with solving the dependencies and downloading the package files.
It is also possible to create an installation plan a different way. An installation plan object must be a data frame, with at least the following columns:
package: The name of the package.
type: The type of the package reference.
binary: Whether the package is a binary package.
file: Full path to the package file or directory.
dependencies: A list column that lists the names of the dependent
packages for each package.
needscompilation: Whether the package needs compilation. This should
FALSE for binary packages.
library: the library the package is supposed to be installed to.
direct: whether the package was directly requested or it is
installed as a dependency.
vignettes: whether the vignettes need to be (re)built.
R CMD build was already called for the package.