
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                          text    html    latex   example
   maNormNN                          text    html    latex   example
   nnNorm-internal                   text    html    latex
  >>> 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]]


