roman.pahl@web.de
2004-Jul-20 13:25 UTC
[Rd] some problems building a package using R CMD CHECK (PR#7118)
hello,
my name is Roman Pahl and recently i tried to build a package under Windows.
I created the skeleton and did alle the documentation stuff.
As i wanted to check it using the 'R CMD CHECK pkgname' command in the
Dos-console some errors appeared.
I don=B4t know how to handle.
Here are important parts of the log: I marked my questions with a
"<----------"
D:\tools\R\rw1090>R CMD CHECK --no-latex GroupSeqPack
* using log directory 'D:/tools/R/rw1090/GroupSeqPack.Rcheck'
* checking for file 'GroupSeqPack/DESCRIPTION' ... OK
* checking if this is a source package ... OK
installing R.css in D:/tools/R/rw1090/GroupSeqPack.Rcheck
---------- Making package GroupSeqPack ------------
adding build stamp to DESCRIPTION
installing R files
installing man source files
installing indices
There were 18 warnings (use warnings() to see them)
<------------------------------------------ i tried "warnings()"
but that command does not seem to exist
installing help
>>> Building/Updating help pages for package 'GroupSeqPack'
Formats: text html latex example
alphaByUseFunction text html latex example
....
........some more functions..........
.....
useSpendingFunction text html latex example
>>> Building/Updating help pages for package 'GroupSeqPack'
Formats: chm
hhc: not found
<-------------------------------------------- what is "hhc" for?
cp: cannot stat `D:/tools/R/rw1090/GroupSeqPack/chm/GroupSeqPack.chm': No
such f <------------------------- maybe this follows cause of missing hhc
ile or directory
make[1]: *** [chm-GroupSeqPack] Error 1
<---------------------------------------- and this ones also following
mistakes=20
make: *** [pkg-GroupSeqPack] Error 2
<----------------------------------------=20=20
*** Installation of GroupSeqPack failed ***
* checking package directory ... OK
* checking for portable file names ... OK
* checking DESCRIPTION meta-information ... OK
* checking package dependencies ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for syntax errors ... OK
* checking R files for library.dynam ... OK
* checking S3 generic/method consistency ... OK
* checking for replacement functions with final arg not named 'value'
... OK
* checking foreign function calls ... OK
* checking Rd files ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* creating GroupSeqPack-Ex.R ... OK
* checking examples ... OK
thanks for your efforts,
sincerly
Roman Pahl
[[alternative HTML version deleted]]
Duncan Murdoch
2004-Jul-20 14:00 UTC
[Rd] some problems building a package using R CMD CHECK (PR#7118)
First off, this is not a bug, and should not be reported to r-bugs. Second, the email address you used bounces. Please use a real one, or make it clear that what you used is not real. On Tue, 20 Jul 2004 13:25:10 +0200 (CEST), roman.pahl@web.de wrote:>---------- Making package GroupSeqPack ------------ > adding build stamp to DESCRIPTION > installing R files > installing man source files > installing indices >There were 18 warnings (use warnings() to see them) > <------------------------------------------ i tried "warnings()"> but that command does not seem to existwarnings() is an R command. You should try to track this down, but it's not urgent: solve the other problems first.> installing help > >>> Building/Updating help pages for package 'GroupSeqPack' > Formats: text html latex example > alphaByUseFunction text html latex example > .... > ........some more functions.......... > ..... > useSpendingFunction text html latex example > >>> Building/Updating help pages for package 'GroupSeqPack' > Formats: chm >hhc: not found > <-------------------------------------------- w>hat is "hhc" for?hhc is the Microsoft help compiler. It is needed if you want to use CHMHELP, but you should be able to a package without it. You'll need to modify the MkRules file in src/gnuwin32, setting WINHELP = NO. readme.packages gives instructions on getting the help compiler. Duncan Murdoch
Simon Urbanek
2004-Jul-20 14:21 UTC
[Rd] some problems building a package using R CMD CHECK
On Jul 20, 2004, at 1:25 PM, roman.pahl@web.de wrote:> hhc: not found > > > <-------------------------------------------- w> hat is "hhc" for?from the INSTALL file: If you want to make compiled html (.chm) files you will need the Microsoft HTML Help Workshop, currently available for download at http://msdn.microsoft.com/library/en-us/htmlhelp/html/ hwmicrosofthtmlhelpdownloads.asp and http://www.microsoft.com/office/ork/xp/appndx/appa06.htm That's the hhc. Further reading in the INSTALL: You need the following in your path (with the first two first): . our toolset mingw\bin Perl\bin the latex bin directory zip.exe, unzip.exe, hhc.exe And, please, this is not a bug in R, so don't post it in R-bugs! Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis Universit?tsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2280 Simon.Urbanek@Math.Uni-Augsburg.de http://simon.urbanek.info