hrbrmstr / ggalt

:earth_americas: Extra Coordinate Systems, Geoms, Statistical Transformations & Scales for 'ggplot2'
https://cran.r-project.org/web/packages/ggalt/vignettes/ggalt_examples.html
Other
661 stars 99 forks source link

package or namespace load failed for ‘ggalt’ in dyn.load #58

Closed jubyshu closed 5 years ago

jubyshu commented 5 years ago

I can't install proj4 using install.packages(), but installing package archive file in RStudio works. I use the same way above to install ggalt, but when I load it the system throws an error as below:

Loading required package: ggplot2
Registered S3 methods overwritten by 'ggplot2':
  method         from 
  [.quosures     rlang
  c.quosures     rlang
  print.quosures rlang
Error: package or namespace load failed for ‘ggalt’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/3.6/site-library/ash/libs/ash.so':
  dlopen(/usr/local/lib/R/3.6/site-library/ash/libs/ash.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/8/libgfortran.5.dylib
  Referenced from: /usr/local/lib/R/3.6/site-library/ash/libs/ash.so
  Reason: image not found

I don't know how to solve the error, please help me.

jubyshu commented 5 years ago

Well, I have solved this problem by reinstalling ash package.