remotes icon indicating copy to clipboard operation
remotes copied to clipboard

expose `remote_download()` function?

Open kevinushey opened this issue 5 years ago • 2 comments

So that one can retrieve the sources for a package from a remote source without explicitly / immediately installing it.

kevinushey avatar Mar 27 '19 19:03 kevinushey

More concretely, it would be nice to have a function that downloaded a remote, and did everything up to the installation part (including adding the Remote* fields to the DESCRIPTION) for non-CRAN sources. Ie, all of this in install_remote():

https://github.com/r-lib/remotes/blob/c26b7d0204a0d261104c8f24b7f63a56d1d910de/R/install-remote.R#L49-L60

kevinushey avatar Mar 27 '19 21:03 kevinushey

I'd like to second this. For those of us working on offline servers, some package installs are nightmares. Exposing this function could really help getting packages prepared for install on the servers.

drmowinckels avatar Aug 18 '20 07:08 drmowinckels