Re: [R] suppress checking chm files in R CMD check on Windows

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri 02 Dec 2005 - 05:08:17 EST

On 12/1/2005 11:24 AM, Ingmar Visser wrote:

> Dear R-helpers,
> When installing a source package I can suppress the compilation of .chm
> files by using the --docs="normal" option. Is it also possible to suppress
> the creation and checking of .chm files when calling R CMD check ?

I'd guess that using the --no-install option would do that.

In general, the R CMD commands have a --help option that lists their options:

$ Rcmd check --help
Usage: R CMD check [options] pkgs

Check R packages from package sources, which can be directories or gzipped package 'tar' archives with extension '.tar.gz' or '.tgz'.

A variety of diagnostic checks on directory structure, index and control files are performed. The package is installed into the log directory (which includes the translation of all Rd files into several formats), and the Rd files are tested by LaTeX (if available). All examples and tests provided by the package are tested to see if they run successfully.

Options:

   -h, --help            print short help message and exit
   -v, --version         print 'check' version info and exit
   -l, --library=LIB     library directory used for test installation
                         of packages (default is outdir)
   -o, --outdir=DIR      directory used for logfiles, R output, etc.
                         (default is 'pkg.Rcheck' in current directory,
                         where 'pkg' is the name of the package checked)

--no-clean do not clean outdir before using it
--no-codoc do not check for code/documentation mismatches
--no-examples do not run the examples in the Rd files
--no-install skip installation and associated tests
--no-tests do not run code in tests subdirectory
--no-vignettes do not check vignettes in Sweave format
--no-latex do not run LaTeX on help files
--use-gct use 'gctorture(TRUE)' when running examples/tests
--use-valgrind use 'valgrind' when running
examples/tests/vignettes
--rcfile=FILE read configuration values from FILE

By default, all test sections are turned on.

Email bug reports to <r-bugs@r-project.org>.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Dec 02 05:47:36 2005

This archive was generated by hypermail 2.1.8 : Fri 02 Dec 2005 - 09:39:15 EST