| use_package {devtools} | R Documentation |
This adds a dependency to DESCRIPTION and offers a little advice about how to best use it.
use_package(package, type = "Imports", pkg = ".")
package |
Name of package to depend on. |
type |
Type of dependency: must be one of "Imports", "Depends", "Suggests", "Enhances", or "LinkingTo" (or unique abbreviation) |
pkg |
package description, can be path or package name. See
|
Other infrastructure: infrastructure,
use_build_ignore,
use_data_raw, use_data,
use_news_md, use_readme_rmd
## Not run:
use_package("ggplot2")
use_package("dplyr", "suggests")
## End(Not run)