use_pkg | R Documentation |
Wrapper around usethis::use_package()
with different defaults and optional DESCRIPTION
file tidying.
use_pkg(package, type = "Imports", min_version = TRUE, tidy = TRUE)
package |
Name of package to depend on. |
type |
Type of dependency: must be one of "Imports", "Depends", "Suggests", "Enhances", or "LinkingTo" (or unique abbreviation). Matching is case insensitive. |
min_version |
Optionally, supply a minimum version for the package. Set
to |
tidy |
Whether or not to run |
NULL
, invisibly.
Other R package functions:
is_pkg_cran()
,
is_pkg_dir()
,
is_pkg_installed()
,
is_pkgdown_dir()
,
ls_pkg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.