Skip to content
Back to formatted view

Raw Message

Message-ID: <4D719285.6010702@fhcrc.org>
Date: 2011-03-05T01:31:49Z
From: Martin Morgan
Subject: [Bioc-devel] how to build a single .Rd file
In-Reply-To: <04796DCB-5FB6-4A16-8466-74185CED507D@systemsbiology.org>

On 03/04/2011 05:06 PM, Paul Shannon wrote:
> I am adding a dozen or so man pages ('.Rd' files -- there must be a better name) to 120 already written.
> 
> I check the accuracy of these files by running 'R CMD check' on the entire package.  Sometimes this takes a while to run, a while before I learn of the typo I made in the man page I last edited.
> 
> Is there some way to ask R to check only a single .Rd file?  Something like:
> 
>   cd RCytoscape/man
>   R CMD check setNodeColorRule.Rd

Hi Paul --

R CMD check --help

shows a number of options to enhance this process, for instance
--no-vignettes --no-examples (similar options to R CMD INSTALL can
greatly speed up the install cycle during package development).

Within R, tools::checkRd and other functions are useful, e.g.,

  library(tools)
  checkRd("RCytoscape/man/CytoscapeConnection.Rd")

Martin

> 
> Thanks,
> 
>  - Paul
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793