Making an R package PDF manual using devtools -
i making r package using devtools , roxygen2. can pdf manual using r cmd curious whether can done using devtools. devtools' build(), check(), install() don't make pdf manual. tied making vignettes?
i have read , referred similar thread package development : location of pdf manual , vignette
after install it, can use:
pack <- "name_of_your_package" path <- find.package(pack) system(paste(shquote(file.path(r.home("bin"), "r")), "cmd", "rd2pdf", shquote(path)))
Comments
Post a Comment