kshirley / summarytrees

R package to compute and visualize summary trees
34 stars 9 forks source link

Include a basic example somewhere #3

Open hadley opened 9 years ago

hadley commented 9 years ago

I can't find any and the vignettes don't seem to work :(

kshirley commented 9 years ago

Oops - thanks for this. I fixed a bug in one of the vignettes and now they seem to build properly when I type

install_github("kshirley/summarytrees", build_vignettes = TRUE)

although it takes 2-3 minutes on my laptop for them to build.

Also, they seem to render OK in github when you click on the vignettes directory and then click on either of the individual .Rmd files (one for the Gauss subtree of the math genealogy project and one for DMOZ topic hierarchy).

Are there better ways to make basic examples accessible to users? I also recently inserted an example into the function documentation for the two main functions, greedy() and optimal(), but I suppose those might be hard to find.