tokami / TropFishR

Tropical Fisheries Analysis with R
24 stars 19 forks source link

Error: Failed to install 'TropFishR' from GitHub: #34

Closed xiphiasTR closed 3 years ago

xiphiasTR commented 4 years ago

Hi all, I have been trying to use TropfishR package In fact, I got the same message below. Screen Shot 2020-07-03 at 15 32 32

Error: package or namespace load failed for ‘TropFishR’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so Reason: image not found

If you have an idea to fix it and use package, I would be great Best regards, Tevfik

edit: Ps : R version 4.0.0 Patched (2020-05-03 r78349) -- "Arbor Day" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (64-bit)

tokami commented 3 years ago

Please make sure that Xcode (https://apps.apple.com/us/app/xcode/id497799835?mt=12) is installed and try again.

tokami commented 3 years ago

(Make sure to also install Command line tools). Find more information here: https://support.rstudio.com/hc/en-us/articles/200486498-Package-Development-Prerequisites