readDescription | R Documentation |
Extract the description file of a package
readDescription(package, path, field = NULL, rm.blanck = TRUE, rm.comma = TRUE)
package |
the name of the package |
path |
the path to the directory containing the package |
field |
should a specific field of the description file be extracted |
rm.blanck |
should the initial blanck be removed? |
rm.comma |
should any comma be removed? |
## Not run:
readDescription <- butils:::readDescription
readDescription("butils", path = pathGitHub())
readDescription("butils", path = pathGitHub(), field = "Collate")
readDescription("butils", path = pathGitHub(), field = "Collate", rm.blanck = FALSE)
readDescription("butils", path = pathGitHub(), field = "Version")
readDescription("butils", path = pathGitHub(), field = "Imports")
readDescription("riskRegression", path = pathGitHub(), field = "Collate")
readDescription("lava.penalty", path = pathGitHub(), field = "Suggests")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.