加载栅格时找不到入口点

Entry point not found when loading raster

我最近安装了 raster 包,当我使用 library 函数解压包时,总是出现此消息:

Session 信息:

[1] stats     graphics  grDevices utils    
[5] datasets  methods   base     

other attached packages:
[1] sp_1.4-2    dplyr_0.8.5 auk_0.4.1  

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.4.6     rstudioapi_0.11 
 [3] magrittr_1.5     hms_0.5.3       
 [5] tidyselect_1.0.0 lattice_0.20-41 
 [7] R6_2.4.1         rlang_0.4.5     
 [9] stringr_1.4.0    tools_4.0.0     
[11] grid_4.0.0       ellipsis_0.3.0  
[13] assertthat_0.2.1 tibble_3.0.1    
[15] lifecycle_0.2.0  crayon_1.3.4    
[17] purrr_0.3.4      readr_1.3.1     
[19] vctrs_0.2.4      glue_1.4.0      
[21] stringi_1.4.6    compiler_4.0.0  
[23] pillar_1.4.4     pkgconfig_2.0.3 

如您所想,加载失败。我该如何解决这个问题?

我遇到了类似的问题。我的解决方案是更新 R 并重新安装光栅包。