[R] How prevent update of a package

Marc Girondot m@rc_grt @end|ng |rom y@hoo@|r
Fri Dec 6 08:39:15 CET 2019


I use R 3.6.1 in macOSX 10.15.1 (Catalina).

I cannot install the last version (3.0-7) of the package raster from 
source or from binary. In both cases I get

 ??*** caught segfault ***
address 0x31, cause 'memory not mapped'

when I try to load it.

Same occurs when I use the development version using:

library(devtools)
install_github("rspatial/raster")

This is the same bug as described here: 
https://github.com/rspatial/raster/issues/63

The last working version for me is the 2.5-8

require(devtools)
install_version("raster", version = "2.5-8", repos = 
"http://cran.us.r-project.org")

However, each time that I use update.packages(), raster wants to be updated.

So here my three questions:

- Does someone has a solution to have raster 3.0-7 working in MacOSX ?

- Do others have raster 3.0-7 working in R 3.6.1 and Catalina MacOSX ?

- How to prevent raster package to be updated ?

Thanks a lot

Marc



More information about the R-help mailing list