knitr::opts_chunk$set( echo = FALSE, message = FALSE, warning = FALSE, collapse = TRUE, comment = "#>" ) library(DependenciesGraphs) devtools::load_all("..") library(pttR)
lsp <- function(package, all.names = FALSE, pattern) { package <- deparse(substitute(package)) ls( pos = paste("package", package, sep = ":"), all.names = all.names, pattern = pattern ) } pkg_list <- lsp(pttR) post_fc <- stringr::str_detect(pkg_list, "post") idx_fc <- stringr::str_detect(pkg_list, "index|idx") post_fc <- pkg_list[post_fc] idx_fc <- pkg_list[idx_fc]
dep <- funDependencies("package:pttR", name.function = idx_fc) plot(dep)
dep <- funDependencies("package:pttR", name.function = post_fc) plot(dep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.