Description Usage Arguments Note See Also Examples
View source: R/pkgs_dependencies.R
Will cat
out a cut/paste-able set of fields for a
DESCRIPTION
file with minimum required versions for
each package based upon currently available package vesions
in CRAN.
1 | show_pkg_versions(pkg = ".", fields = NULL)
|
pkg |
package description, can be path or package name |
fields |
fields to get & report dependencies for |
R and the R version is NOT added to Depends
https://stackoverflow.com/a/38743324/7941188
1 2 3 4 5 6 7 | ## Not run:
show_pkg_versions("qmethod")
show_pkg_versions("MASS")
# assumes you're in a pkg devel dir
show_pkg_versions()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.