Re: [R] building R libraries (windows) - R CMD check problems

2004-06-15 Thread Duncan Murdoch
On Tue, 15 Jun 2004 19:08:33 -0400, Tarca Adi Laurentiu
<[EMAIL PROTECTED]> wrote:

>I am trying to build a R library called nnNorm but I have some troubles 
>checking and installing it.
...
>
>-- Making package nnNorm 
>   adding build stamp to DESCRIPTION
>   installing R files
>   installing inst files
>FIND : format incorrect de paramètre

You've got a problem with your PATH.  "find.exe" is one of the
programs in the package of tools that Brian Ripley put together, but
you're trying to execute some other FIND program.  You need to set up
the path as described in $RHOME/readme.packages.

Duncan Murdoch

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] building R libraries (windows) - R CMD check problems

2004-06-15 Thread Tarca Adi Laurentiu

Hi everyone,

I am trying to build a R library called nnNorm but I have some troubles 
checking and installing it.
Here is the setup:
If I don't use a inst\doc directory(with the vignettes files) in my source, 
the install step is working fine:

C:\test>RCMD INSTALL nnNorm

-- Making package nnNorm 
   adding build stamp to DESCRIPTION
   installing R files
   installing man source files
   installing indices
   installing help
  >>> Building/Updating help pages for package 'nnNorm'
  Formats: text html latex example
   compNorm  texthtmllatex   example
   maNormNN  texthtmllatex   example
   nnNorm-internal   texthtmllatex
  >>> Building/Updating help pages for package 'nnNorm'
  Formats: chm
   adding MD5 sums

* DONE

I do verify the .html documentation and all looks great.
However, by just adding the directory inst\doc containing the nnNorm.Rnw 
and nnNorm.bib  files
when I try to install again I receive the following error:

-- Making package nnNorm 
   adding build stamp to DESCRIPTION
   installing R files
   installing inst files
FIND : format incorrect de paramètre
make[2]: *** [C:/R/rw1090/library/nnNorm/inst] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-nnNorm] Error 2
*** Installation of nnNorm failed ***

The second trouble (perhaps related with this one) is when I perform the 
RCMD check.
-- Making package nnNorm 
   adding build stamp to DESCRIPTION
   installing R files
   installing inst files
FIND : format incorrect de paramètre
make[2]: *** [C:/test/nnNorm.Rcheck/nnNorm/inst] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-nnNorm] Error 2
*** Installation of nnNorm 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 ... ERROR
Rd files with unbalanced braces:
   man/compNorm.Rd
   man/maNormNN.Rd
   man/nnNorm-internal.Rd
Unbalanced braces are Rd syntax errors, and result in incorrect
documentation.

It points me to unbalanced braces, but there are no such error. I tried 
using simple .Rd file with like:

\name{functionName}
\eof

but I still get the same error.

The .Rwn file is ok because the vignettes creation works smoothly:

C:\test>RCMD build nnNorm
* checking for file 'nnNorm/DESCRIPTION' ... OK
* preparing 'nnNorm':
* checking whether 'INDEX' is up-to-date ... OK
* creating vignettes ... OK
* removing junk files
* building 'nnNorm_1.0.tar.gz'




Has anyone an idea what the problem might be ? I am using Win XP, R 1.9.0.
Thanks,
  Laurentiu Tarca








[[alternative HTML version deleted]]

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html