Renaud Gaujoux
2014-Dec-05 15:45 UTC
[Rd] install.packages deletes PACKAGES file in local repo
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]]
Gabriel Becker
2014-Dec-06 00:23 UTC
[Rd] install.packages deletes PACKAGES file in local repo
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]]
Renaud Gaujoux
2014-Dec-06 05:27 UTC
[Rd] install.packages deletes PACKAGES file in local repo
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]]