Skip to content

Commit

Permalink
Rebuild vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrie committed Dec 26, 2017
1 parent 3ef3a50 commit 0568751
Show file tree
Hide file tree
Showing 6 changed files with 613 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vignettes/miniCRAN-dependency-graph.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## ----init----------------------------------------------------------------
library("miniCRAN")

## ----pkgdep--------------------------------------------------------------
tags <- "chron"
pkgDep(tags, availPkgs = cranJuly2014)

## ----makeDepGraph, warning=FALSE-----------------------------------------
dg <- makeDepGraph(tags, enhances = TRUE, availPkgs = cranJuly2014)
set.seed(1)
plot(dg, legendPosition = c(-1, 1), vertex.size = 20)

## ----so-tags, warning=FALSE, fig.width=10, fig.height=10-----------------
tags <- c("ggplot2", "data.table", "plyr", "knitr", "shiny", "xts", "lattice")
pkgDep(tags, suggests = TRUE, enhances = FALSE, availPkgs = cranJuly2014)

dg <- makeDepGraph(tags, enhances = TRUE, availPkgs = cranJuly2014)
set.seed(1)
plot(dg, legendPosition = c(-1, -1), vertex.size = 10, cex = 0.7)

Loading

0 comments on commit 0568751

Please sign in to comment.