Re: [R] Compilation of source package.

From: Peter Dalgaard <P.Dalgaard_at_biostat.ku.dk>
Date: Fri, 11 May 2007 14:24:45 +0200

BXC (Bendix Carstensen) wrote:
> I have a samll package that works well and complies nicly on WinXP,
> using R-2.4.1
>
> Now I want to add a document so i make a folder inst\doc and put the
> .tex and .pdf in there.
>
> But the complation then crashes. Is this because the installin expects
> some file to be present in inst if an inst folder is there?
>
> This is how the thing progress is on my command promp:
> _______________________________________________
>
> C:\Stat\R\BxC\library.sources>c:\stat\r\R-2.4.1\bin\Rcmd check MethComp
> * checking for working latex ... OK
> * using log directory 'C:/Stat/R/BxC/library.sources/MethComp.Rcheck'
> * using R version 2.4.1 (2006-12-18)
> * checking for file 'MethComp/DESCRIPTION' ... OK
> * this is package 'MethComp' version '0.0.8'
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking whether package 'MethComp' can be installed ... ERROR
> Installation failed.
> See 'C:/Stat/R/BxC/library.sources/MethComp.Rcheck/00install.out' for
> details.
>
> C:\Stat\R\BxC\library.sources>more MethComp.Rcheck\00install.out
> installing R.css in C:/Stat/R/BxC/library.sources/MethComp.Rcheck
>
>
> ---------- Making package MethComp ------------
> adding build stamp to DESCRIPTION
> installing R files
> installing inst files
> FIND: Parameter format not correct
> make[2]: ***
> [C:/Stat/R/BxC/library.sources/MethComp.Rcheck/MethComp/inst] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-MethComp] Error 2
> *** Installation of MethComp failed ***
>
>
Bendix,

I suspect that you have been a naughty boy and not installed the R tools at the head of the PATH. You seem to be calling the Windows FIND utility instead of the Unix-like one from Rtools.

    -pd
> Removing 'C:/Stat/R/BxC/library.sources/MethComp.Rcheck/MethComp'
> _______________________________________________
>
> Bendix Carstensen
> Senior Statistician
> Steno Diabetes Center
> Niels Steensens Vej 2-4
> DK-2820 Gentofte
> Denmark
> +45 44 43 87 38 (direct)
> +45 30 75 87 38 (mobile)
> +45 44 43 73 13 (fax)
> bxc@steno.dk http://www.biostat.ku.dk/~bxc
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard_at_biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 11 May 2007 - 12:32:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 May 2007 - 13:31:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.