callr-org / website

http://callr.org
6 stars 0 forks source link

install: Tries to install single package twice if failure #18

Closed HenrikBengtsson closed 9 years ago

HenrikBengtsson commented 9 years ago

When one tries to install multiple packages at once, it sometimes fails because of this fact. In that case the install script falls back and tries to install them one by one. This feature seems to also kick in even when there is only a single package requested, e.g.

> source("http://callr.org/install#EBImage")
Installing/updating package: 'EBImage'
Installing packages from package repositories:
Installing package into 'C:/Users/hb/R/win-library/3.3'
[...]
The downloaded source packages are in
        'C:\Users\hb\AppData\Local\Temp\RtmpUjxvmu\downloaded_packages'
At least one of the packages failed to install. Will fall back to install each of them one by one: 'EBImage'
Installing package into 'C:/Users/hb/R/win-library/3.3'
(as 'lib' is unspecified)