From whuber at embl.de  Sun Sep 12 18:04:55 2010
From: whuber at embl.de (Wolfgang Huber)
Date: Sun, 12 Sep 2010 18:04:55 +0200
Subject: [Rd] R CMD build cannot create vignettes on Windows if Makefile
 is used
In-Reply-To: <4C8B6044.1030506@gmail.com>
References: <4C8B0B24.8020609@fhcrc.org> <4C8B6044.1030506@gmail.com>
Message-ID: <4C8CFA27.50406@embl.de>

Hi Duncan

wouldn't it be possible that by default the Sweave.sty in share/texmf is 
found by 'R CMD build' for use by package vignettes without manual 
intervention?

AfaIcs this is also how it worked in the past.

Best wishes
          Wolfgang

On Sep/11/10 12:56 PM, Duncan Murdoch wrote:
> On 11/09/2010 12:52 AM, Herv? Pag?s wrote:
>> Hi,
>>
>> I found the following problem with recent R-devel
>> (2010-08-26 r52817) on Windows (32-bit and 64-bit):
>> 'R CMD build <pkg>' gets stalled during vignette
>> creation for packages that have a Makefile in <pkg>/inst/doc.
>>
>> It seems that the problem is that the commands used in the
>> Makefile for converting .tex to .pdf are not able to locate
>> the Sweave.sty file anymore (if I drop this file to
>> <pkg>/inst/doc, then the problem goes away).
>
> This sounds like a problem that only the package maintainer could
> address. Presumably it will be temporary: once they adjust to the new
> organization of the share/texmf directory, things will be fine again.
>
> The reorg is described in this NEWS item:
>
> * Directory R_HOME/share/texmf now follows the TDS conventions, so
> can be set as a texmf tree ('root directory' in MiKTeX parlance).
>
> Duncan Murdoch
>
>>
>> I noticed that the location of Sweave.sty shipped with
>> R has changed recently (moved from ${R_HOME}/share/texmf
>> to ${R_HOME}/share/texmf/tex/latex/). Could that be related
>> to the problem?
>>
>> I don't see that problem on platforms other than Windows or
>> with R < 2.12
>>
>> Thanks,
>> H.
>>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 


Wolfgang Huber
EMBL
http://www.embl.de/research/units/genome_biology/huber



[Rd] R CMD build cannot create vignettes on Windows if Makefile is used
Wolfgang Huber