From renaud at mancala.cbio.uct.ac.za  Sat Dec  6 06:27:11 2014
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Sat, 6 Dec 2014 07:27:11 +0200
Subject: [Rd] install.packages deletes PACKAGES file in local repo
In-Reply-To: <CADwqtCP3YTk4HpsU4sekc=uNDqQB2mrGiPEmS2Bsbr2F3-SmuQ@mail.gmail.com>
References: <CAHavPHEuuUPk3eXCxKH1VQa4oMAfsUA4yzESPj=WEZVmUFtReg@mail.gmail.com>
	<CADwqtCP3YTk4HpsU4sekc=uNDqQB2mrGiPEmS2Bsbr2F3-SmuQ@mail.gmail.com>
Message-ID: <CAHavPHE68UbyazRx4Z7Fsf+2Rg4Q9M66cJtHgcYwCEK63o1+ng@mail.gmail.com>

Hi,

I was only doing install.packages('pkgname'), with the local repo being
defined in the default repos option.
After retrying it just now, this issue mysteriously suddenly disappeared,
and things work as expected whether on the front node or in a job on a
node. Really no idea of what happened.
Closing the thread.

Thanks.




On 6 December 2014 at 02:23, Gabriel Becker <gmbecker at ucdavis.edu> wrote:

> Can you post exact code, i have not seen this behavior, and I work with
> local repositories quite extensively on my current project.
>
> ~G
>
> On Fri, Dec 5, 2014 at 7:45 AM, Renaud Gaujoux <
> renaud at mancala.cbio.uct.ac.za> wrote:
>
>> Hi,
>>
>> running install.packages() to install a package from a local repository
>> (i.e., starts with file:///) appears to delete the PACKAGES file that is
>> in
>> the src/contrib/ directory.
>> This happens on a cluster running Scientific Linux release 6.4 (Carbon),
>> but not on my Ubuntu local machine.
>>
>> Subsequent calls to install.packages() complain about src/contrib/PACKAGES
>> not existing, although there still is a src/contrib/PACKAGES.gz file.
>>
>> Is this a know issue?
>> Thank you.
>>
>> Bests,
>> Renaud
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>
>
>
> --
> Gabriel Becker
> Graduate Student
> Statistics Department
> University of California, Davis
>

	[[alternative HTML version deleted]]



[Rd] install.packages deletes PACKAGES file in local repo
Renaud Gaujoux