I cannot install the R-package BH which I need only to install dplyr afterwards.
The download works but something is wrong with the processing afterwards, as there i
BH, as a sizeable subset of Boost Headers is big, as in really big:
edd@max:~$ du -csm /usr/local/lib/R/site-library/BH/
111 /usr/local/lib/R/site-library/BH/
111 total
edd@max:~$
That is 111 megabytes.
You may simply have run our of patience if your Windows (network share ?) was slow in writing the files.
BH is also widely used by other CRAN packages, and there has not been a package on any of the platforms used by CRAN.
So I suggest you maybe place your R package library onto a local hard drive...
If you have an actual bug report, please consider filing an issue ticket against our BH package.
I had this problem -- there were two parts to my fix.
1/ Download the windows binary from CRAN and save to the hard disk. You then select the menu item: Packages >> Install package(s) from local files…
2/ Edit the utils:::unpackPkgZip function to increase the sleep time – so that my virus checker has time to scan it. To implement this, do the following:
trace(utils:::unpackPkgZip, edit=TRUE)
Look for the line Sys.sleep(0.5)
, toward the bottom of the body of the function; it's a big package so I went for Sys.sleep(10)
.
If you are still seeing the error: Warning: unable to move temporary installation
, try a longer sleep period.
Note that you won't see the edit if you check utils:::unpackPkgZip
; that is the unedited version, and it can be restored via untrace(utils:::unpackPkgZip)
.
So see the edited version, use body(utils:::unpackPkgZip)
.