When doing remotes::install_version(pkg, ver, lib=location), the package pkg will get installed to the correct location location, but any dependencies will not.
This is because remotes::install doesn't pass along ... to the install_deps() call:
Also - I assume this affects more functions than just install_version, since it looks like a problem with the install() workhorse function, right? Would affect all the install_* functions, if I'm not mistaken.
I'm also experiencing this issue. It's quite a problem because I need to install some packages to an external directory to zip them up and use them on another platform, but the dependencies all go to the default library directory, which means I have to manually reinstall those dependencies in the external folder, and the dependencies of those dependencies, etc...
kenahoo commentedJul 29, 2019
When doing
remotes::install_version(pkg, ver, lib=location)
, the packagepkg
will get installed to the correct locationlocation
, but any dependencies will not.This is because
remotes::install
doesn't pass along...
to theinstall_deps()
call:The text was updated successfully, but these errors were encountered: