I am writing a package in R and I would appreciate some example bash code to process the Rd files to latex and then to pdf.
It is in the directory ~/mypkg/dev/. I h
Try this. It worked for me. found from Making an R package PDF manual using devtools
pack <- "name_of_your_package" path <- find.package(pack) system(paste(shQuote(file.path(R.home("bin"), "R")),"CMD", "Rd2pdf", shQuote(path)))