desc_list | R Documentation |
DESCRIPTION
file fields as cleaned up listReturns all fields from a DESCRIPTION
file as a named list with values cleaned up:
Whitespaces at the start and end of field values as well as repeated whitespaces within them are removed.
Multi-value fields are returned as vectors.
The fields Depends
, Imports
and Suggests
are returned as a single data frame named dependencies
.
desc_list(file = ".")
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. |
A list.
Other package DESCRIPTION
functions:
desc_dep_vrsn()
,
desc_url_git()
,
desc_value()
fs::path_package(package = "dplyr") |> pal::desc_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.