Ok, here is the complete output. MikTex is really in the path - i doublechecked
by running it in c:\Rlibs (both "latex" and "pdftex" work).
I get no additional error messages, and i use the example from ?package.skeleton
(and updated the DESCRIPTION file).
[[WIN2000 command Prompt]]:
C:\Rlibs>path
PATH=c:\Program files\R\rw1081\bin;d:\perl\bin;c:\Program files\HTML Help Worksh
op;c:\texmf\miktex\bin
C:\Rlibs>Rcmd check AnExample
* checking for working latex ... NO
* using log directory 'C:/Rlibs/AnExample.Rcheck'
* checking for file 'AnExample/DESCRIPTION' ... OK
* checking if this is a source package ... OK
ERROR
Installation failed.
C:\Rlibs>Rcmd install AnExample
*** Installation of AnExample failed ***
C:\Rlibs>
thanks,
Remko
---
^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~'^'~,_,~'
Remko Duursma, Ph.D. student
Forest Biometrics Lab / Idaho Stable Isotope Lab
University of Idaho, Moscow, ID, U.S.A.
--------- Original Message ---------
DATE: Mon, 29 Dec 2003 19:41:50
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
To: Remko Duursma <den.duurs at lycos.com>
Cc: rhelp <r-help at r-project.org>
>On Mon, 29 Dec 2003, Remko Duursma wrote:
>
>> recently, i tried making a package with my own functions - which worked
>> fine, until i reinstalled MikTex (in Win2000). Now i get the error
>> message:
>>
>> * checking for working latex ... NO
>> * using log directory 'C:/Rlibs/R4PG.Rcheck'
>> * checking for file 'R4PG/DESCRIPTION' ... OK
>> * checking if this is a source package ... OK
>
>Was there nothing here at all?
>
>> ERROR
>> Installation failed.
>
>That's an installation failure. Do run Rcmd INSTALL first to check that
>you can install the package: you may well get more informative error
>messages.
>
>> But i set the path to MikTex, and "latex" as well as
"pdftex" both run in the (Win) command window.
>> I use R1.81 but also tried in R1.71.
>>
>> Any ideas?
>
>Look again, more carefully. According to `check' you do not have latex
in
>your path, even if you think you do. But the installation failure has some
>other cause.
>
>--
>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 272866 (PA)
>Oxford OX1 3TG, UK Fax: +44 1865 272595
>
>