desc_dep_vrsn | R Documentation |
DESCRIPTION
fileReturns the version of the specified pkg
dependency from a DESCRIPTION
file.
desc_dep_vrsn(
pkg,
file = ".",
types = c("Imports", "Depends", "Suggests", "Enhances", "LinkingTo")
)
pkg |
Package name. A character scalar. Defaults to the name of the calling package. |
file |
DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used. |
types |
Dependency types to be considered. If |
A numeric version.
Other package DESCRIPTION
functions:
desc_list()
,
desc_url_git()
,
desc_value()
fs::path_package(package = "dplyr") |> pal::desc_dep_vrsn(pkg = "tibble")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.