add the encoding argument to knit2pdf() and knit2html(), and remove the envir argument since it is rarely used
if it is a Rmd vignette, call knit2html() to compile it to HTML directly
rm envir from spin()
a markdown vignette for R 3.0.0
remove *.md and figure/ (intermediate output of Rmd)
roxygenize
bump version