The default "dependencies" is NA that means c("Depends", "Imports", "LinkingTo"). If "build_vignettes" is TRUE, the install needs "Suggests" dependency in many cases. So we recommend in such case to set "dependencies" to TRUE that means c("Depends", "Imports", "LinkingTo", "Suggests").

recommend_dependencies(ask, build_vignettes, dependencies, quiet)

Arguments

ask
logical. Indicates ask to confirm before install.
build_vignettes
logical. If TRUE, will build vignettes.
dependencies
logical. Indicating to also install uninstalled packages which the packages depends on/links to/suggests. See argument dependencies of install.packages.
quiet
logical. Not verbose.