From b.rowlingson at lancaster.ac.uk  Fri Dec  7 17:43:54 2007
From: b.rowlingson at lancaster.ac.uk (Barry Rowlingson)
Date: Fri, 07 Dec 2007 16:43:54 +0000
Subject: [Rd] Building packages
In-Reply-To: <1197044514.30169.9.camel@maitai.windows.ebi.ac.uk>
References: <47596FB0.7090904@lancaster.ac.uk>
	<1197044514.30169.9.camel@maitai.windows.ebi.ac.uk>
Message-ID: <4759784A.2000908@lancaster.ac.uk>

Oleg Sklyar wrote:

> If I am not mistaken R CMD build builds the package temporarily and uses
> that build to build the vignette, so where is the problem? All my
> vignettes build fine on both Linux and Windows and on Windows you
> actually see that running R CMD build --binary builds the source code
> two times - exactly for the above purposes.

  Ah ha. I'm building as a user and so I've been installing into a 
private library: ~/Rlibs. Hence my vignette has had 
library(foo,lib="~/Rlibs"). I was unaware that it would get the 
currently-being-built package in a library of its own! Thanks!

  www.doingitwrong.com

Barry



[Rd] Building packages
Barry Rowlingson