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, Renaud -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 27 May 2002, Renaud Lancelot wrote:> 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 ?Look at library\\rmisc\R\\rmisc around line 56. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._