Sebastien Bihorel
2019-Apr-09 21:46 UTC
[R] Can one perform a dry run of a package installation?
Hi, Is there a way to do a dry run of install.packages() or update.packages() to simulate how an R environment would be modified by the installation or update of a particular set of packages (with their dependencies)? I am particularly interested in finding how dependencies would be recursively updated to newer versions. Thanks
Duncan Murdoch
2019-Apr-09 23:29 UTC
[R] Can one perform a dry run of a package installation?
On 09/04/2019 5:46 p.m., Sebastien Bihorel wrote:> Hi, > > Is there a way to do a dry run of install.packages() or update.packages() to simulate how an R environment would be modified by the installation or update of a particular set of packages (with their dependencies)? > > I am particularly interested in finding how dependencies would be recursively updated to newer versions.Set the `lib` parameter of `install.packages` to an empty directory, and see what gets installed there. Duncan Murdoch
Sebastien Bihorel
2019-Apr-11 01:38 UTC
[R] Can one perform a dry run of a package installation?
Thanks ----- Original Message ----- From: "Duncan Murdoch" <murdoch.duncan at gmail.com> To: "Sebastien Bihorel" <sebastien.bihorel at cognigencorp.com>, r-help at r-project.org Sent: Tuesday, April 9, 2019 7:29:50 PM Subject: Re: [R] Can one perform a dry run of a package installation? On 09/04/2019 5:46 p.m., Sebastien Bihorel wrote:> Hi, > > Is there a way to do a dry run of install.packages() or update.packages() to simulate how an R environment would be modified by the installation or update of a particular set of packages (with their dependencies)? > > I am particularly interested in finding how dependencies would be recursively updated to newer versions.Set the `lib` parameter of `install.packages` to an empty directory, and see what gets installed there. Duncan Murdoch