quanteda / quanteda.classifiers

quanteda textmodel extensions for classifying documents
21 stars 2 forks source link

error when installing - ERROR: compilation failed for package ‘quanteda.textmodels’ #26

Closed jrosen48 closed 4 years ago

jrosen48 commented 4 years ago

Thanks for a great package (and quanteda!). When installing via devtools::install_github("quanteda/quanteda.classifiers"), the following error resulted:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [quanteda.textmodels.so] Error 1
ERROR: compilation failed for package ‘quanteda.textmodels’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/quanteda.textmodels’
Error: Failed to install 'quanteda.textmodels' from GitHub:
  (converted from warning) installation of package ‘/var/folders/xd/xrgmmrv97355mcjtmjqcr72w0000gp/T//RtmpxVHtSt/file8f29c9e147e/quanteda.textmodels_0.9.1.tar.gz’ had non-zero exit status
jrosen48 commented 4 years ago

sorry, I confused two packages; I'm adding an issue over in the correct repository