[R] packrat: Failed to download current version of foreign(0.8-67)

G.Maubach at weinwolf.de G.Maubach at weinwolf.de
Mon Feb 20 17:33:17 CET 2017

Hi All,

I tried to use packrat on

R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

[1] LC_COLLATE=German_Germany.1252 
[2] LC_CTYPE=German_Germany.1252 
[3] LC_MONETARY=German_Germany.1252
[5] LC_TIME=German_Germany.1252 

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods 
[7] base 

other attached packages:
[1] packrat_0.4.8-1

loaded via a namespace (and not attached):
[1] tools_3.3.2

Due to internal firewall restrictions the package "foreign" could not be 
downloaded as source. I assume that the package also contains some binary 
parts which will be blocked by the firewall.

When running packrat a directory "packrat" and a file called .Rprofile 
were created in the project directory. A lot of library sources were 
download, but not for "foreign".

After finishing the process the directory "packrat" and the file .Rprofile 
were deleted from the project directory.

Why is that? Just one source library missing and the whole directory is 
gone? Having all libraries for my project without just one is better than 

How can I use packrat with the missing library "foreign"?

Kind regards


More information about the R-help mailing list