Ingmar Visser
2005-Dec-01 16:24 UTC
[R] suppress checking chm files in R CMD check on Windows
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 ? best, ingmar
Duncan Murdoch
2005-Dec-01 18:08 UTC
[R] suppress checking chm files in R CMD check on Windows
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 at r-project.org>. Duncan Murdoch
Prof Brian Ripley
2005-Dec-01 18:39 UTC
[R] suppress checking chm files in R CMD check on Windows
On Thu, 1 Dec 2005, 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 ?Part of the check is that the package can be installed, and that includes making .chm files. Why would you not want the check? If you really do not, use --no-install. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595