dipetkov / eems

Estimating Effective Migration Surfaces
GNU General Public License v2.0
102 stars 28 forks source link

Unknown loading error #52

Open jmhallas opened 3 years ago

jmhallas commented 3 years ago

Hi,

I used this package a number of months ago and everything worked perfectly. Now, however, I am receiving this error, and have no idea as to why the package won't load as it has in the past.

Any advise would be greatly appreciated.

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘rEEMSplots’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/joshuahallas/Library/R/4.0/library/00LOCK-rEEMSplots/00new/rEEMSplots/libs/rEEMSplots.so':
  dlopen(/Users/joshuahallas/Library/R/4.0/library/00LOCK-rEEMSplots/00new/rEEMSplots/libs/rEEMSplots.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libR.dylib
  Referenced from: /Users/joshuahallas/Library/R/4.0/library/00LOCK-rEEMSplots/00new/rEEMSplots/libs/rEEMSplots.so
  Reason: image not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/joshuahallas/Library/R/4.0/library/rEEMSplots’
Warning in install.packages :
  installation of package ‘rEEMSplots’ had non-zero exit status
dipetkov commented 3 years ago

The error message is cryptic but it references two R versions: 3.5 and 4.0.

In general it's a good idea to re-install all packages after upgrading the base R version. I simply delete the old library and install packages anew as needed.