[R] problem while building a package

Renaud Lancelot lancelot at sentoo.sn
Mon May 27 22:36:11 CEST 2002

Please reply to: lancelot at sentoo.sn
because my address: renaud.lancelot at cirad.fr
is broken (should be fixed soon...).

platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status   Patched        
major    1              
minor    5.0            
year     2002           
month    05             
day      15             
language R              

win98 (sigh !)

This is my first attempt to build a package so the question is probably
trivial. I try to gather a small set of pure-R functions (5) and their
help file (Rd format) in a package (rmisc) using tools provided by Pr
Ripley (http://www.stats.ox.ac.uk/pub/Rtools/tools.zip) and perl
(ActivePerl-5.6.1). The make pkg command runs smoothly, but errors are
found by make pkgcheck. The strange thing is that if I try to make a
package with any one (and even up to 4) of the 5 functions, everything
is ok (including make pkgcheck). The error msg from make pkgcheck is not
informative (for me...): the last lines of the Rout file written in
subdirectory check are:
> library('rmisc')
Error in parse(file, n, text, prompt) : syntax error on line 56
Execution halted

How can I debug this ? How can I find what is on line 56 ?

Many thanks in advance,


Dr Renaud Lancelot, vétérinaire
CIRAD, Département Elevage et Médecine Vétérinaire (CIRAD-Emvt)
Programme Productions Animales
http://www.cirad.fr/presentation/programmes/prod-ani.shtml (Français)
http://www.cirad.fr/presentation/en/program-eng/prod-ani.shtml (English)

ISRA-LNERV                      tel    (221) 832 49 02
BP 2057 Dakar-Hann              fax    (221) 821 18 79 (CIRAD)
Senegal                         e-mail renaud.lancelot at cirad.fr
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list