[Rd] Creating a reference manual during R CMD build

From: Dan Tenenbaum <dtenenba_at_fhcrc.org>
Date: Fri, 13 Apr 2012 13:30:03 -0700


I'd like to have a way to create reference manuals during R CMD build (and have them go in the build/ directory of the resulting package tarball), whether or not any of my Rd files have \Sexpr macros in them.

It seems like there are a couple of ways to suppress the building of manuals during R CMD build: 1) using --no-manual and 2) putting BuildManual: no in DESCRIPTION, but there are no corresponding ways to force a reference manual to be built during R CMD build.

I know the manual is produced during R CMD check, but for the purposes of putting together the Bioconductor website, it is simpler if the manual is creating during build and then extracted from the source tarball later when we propagate newly built packages to our website. If we instead use the manuals produced during R CMD check, it's possible that the package and manual can get out of sync.

Is this something that can be added?

I'd prefer for it to be a command-line switch to R CMD build (such as --force-build-manual) rather than a package-level metadata item in the DESCRIPTION file, because I want manuals built for all Bioconductor packages without having to worry whether I've added the appropriate line to the DESCRIPTION file.

Thanks very much,
Dan



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 13 Apr 2012 - 20:32:40 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 15 Apr 2012 - 02:00:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive