powered by
This adds a dependency to DESCRIPTION and offers a little advice about how to best use it.
use_package(package, type = "Imports", pkg = ".")
Name of package to depend on.
Type of dependency: must be one of "Imports", "Depends", "Suggests", "Enhances", or "LinkingTo" (or unique abbreviation)
package description, can be path or package name. See as.package for more information.
as.package
Other infrastructure: infrastructure, use_build_ignore, use_data_raw, use_data, use_news_md, use_readme_rmd
infrastructure
use_build_ignore
use_data_raw
use_data
use_news_md
use_readme_rmd
# NOT RUN { use_package("ggplot2") use_package("dplyr", "suggests") # }
Run the code above in your browser using DataLab