Skip to content
Prev 275544 / 398506 Next

lock a package to specific R version

On Wed, 26 Oct 2011, Uwe Ligges wrote:

            
Or even use ==

The point of the footnote is that install.packages() will download a 
package only checking any >= requirements (and I suspect it will then 
install a binary version of a package).  R CMD INSTALL will not 
install it from the sources, and library() will not load it.

I don't see why you would want to do this: why would a package work 
with 2.13.1 and not 2.13.2, or 2.13.2 and not 2.14.0?  Ranges may make 
sense.