# devtools::install_github("seabbs/getTBinR")
library(pkgnet)
library(dplyr)
## devtools::install_github("jimhester/itdepends")
library(itdepends)
## Declare paths explicitly as currently required by pkgnet
pkg_path <- system.file(package = "idmodelr")
report_path <- file.path(getwd(), "idmodelr_report.html")
## Generate pkg report
report <- CreatePackageReport("idmodelr",
report_path = report_path)
## Look at functions used using itdepends
dep_usage_pkg("idmodelr") %>%
count(pkg) %>%
arrange(desc(n))
## Currently little scope for removing packages as those with few uses either play a critical role or
## are depended on in turn by packages that see more use (i.e tidyr and dplyr).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.