Description Usage Arguments Examples
Builds a Tree structure under JSON format representing the dependencies and reverse dependencies of an R package
1 | build_json_tree(pkg_desc, file = "")
|
pkg_desc |
list of attributes from a package current
description (obtained from output in
|
file |
name of file to write the JSON tree |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
plspm_deps = list(
depends = c("amap, diagram, tester, turner"),
imports = NA,
suggests = c("plsdepot, FactoMineR, ggplot2, reshape, testthat, knitr"),
revdepends = c("pathmox"),
revimports = NA,
revsuggests = c("matrixpls, plsdepot")
)
build_json_tree(plspm_deps, file = "toy_json_tree.json")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.