Skip to content
Prev 39474 / 63421 Next

New feature for download.packages(): optional resolution of package dependencies

On Mar 17, 2011, at 10:26 AM, Dr. Peter Ruckdeschel wrote:

            
But you don't have to do it yourself - the code is already there, try

utils:::getDependencies("foo",,available.packages())

That said, just adding something along the lines of

if (!missing(dependencies)) pkg <- getDependencies(pkg, dependencies, available)

might be simple enough and do the trick ...

Cheers,
Simon