You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to install the latest version of fixest on Mac (aiming to run feols with an instrumental variable). I keep running into the below error message during install, and have spent 2+ hours trying command line approaches from threads on StackExchange without success. By any chance do you have any suggestions for how to overcome this error and install 0.10.1? If I find a solution in the meantime I will post in another comment below. Thank you!
devtools::install_github("lrberge/fixest")
Downloading GitHub repo lrberge/fixest@HEAD
✓ checking for file ‘/private/var/folders/1m/11lx175j7_953x41kstp2s9w0000gn/T/Rtmp6YLVJw/remotes37964e5bfe38/lrberge-fixest-6b478ea/DESCRIPTION’ (347ms)
─ preparing ‘fixest’: (640ms)
✓ checking DESCRIPTION meta-information
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘fixest_0.10.2.tar.gz’
Installing package into ‘/Users/stevenkoller/Library/R/3.5/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘fixest’ ...
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Users/stevenkoller/Library/R/3.5/library/Rcpp/include" -I/usr/local/include -fopenmp -DSTRICT_R_HEADERS -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang: error: unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘fixest’
* removing ‘/Users/stevenkoller/Library/R/3.5/library/fixest’
* restoring previous ‘/Users/stevenkoller/Library/R/3.5/library/fixest’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/1m/11lx175j7_953x41kstp2s9w0000gn/T//Rtmp6YLVJw/file379630058d78/fixest_0.10.2.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered:
Thank you, I'd previously followed some of the advice from #63, and just updated to R 4.1.2 and now it works! Not sure whether it was the R update alone or this coupled with command line changes from #63, but either way it's working now. Thank you again! Closing out.
Hi, I'm trying to install the latest version of fixest on Mac (aiming to run feols with an instrumental variable). I keep running into the below error message during install, and have spent 2+ hours trying command line approaches from threads on StackExchange without success. By any chance do you have any suggestions for how to overcome this error and install 0.10.1? If I find a solution in the meantime I will post in another comment below. Thank you!
The text was updated successfully, but these errors were encountered: