s3alfisc / fwildclusterboot

Fast Wild Cluster Bootstrap Inference for Regression Models / OLS in R. Additionally, R port to WildBootTests.jl via the JuliaConnectoR.
https://s3alfisc.github.io/fwildclusterboot/
GNU General Public License v3.0
22 stars 4 forks source link

Non-zero Exit Status on Devtools Install #82

Closed jcha1997 closed 1 year ago

jcha1997 commented 1 year ago

Trying to install using install.packages('fwildclusterboot', repos ='https://s3alfisc.r-universe.dev'), but running into non-zero exit status error at the end.

`> install.packages('fwildclusterboot', repos ='https://s3alfisc.r-universe.dev') Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘fwildclusterboot’ Do you want to attempt to install these from sources? (Yes/no/cancel) Y installing the source package ‘fwildclusterboot’

trying URL 'https://s3alfisc.r-universe.dev/src/contrib/fwildclusterboot_0.12.1.tar.gz' Content type 'application/x-gzip' length 961148 bytes (938 KB)

downloaded 938 KB

The downloaded source packages are in ‘/private/var/folders/dr/sft77kwn4nj2z60btbd90gch0000gn/T/RtmpopBesg/downloaded_packages’`

s3alfisc commented 1 year ago

Hi Jeremiah - sorry for not responding earlier. Once again, GitHub did not notify me of you opening the issue. I guess I'll have to update my settings.

Are you using Linux? R universe supports compiled versions only for Mac and windows. I should be more specific about this in the docs.

If you are using Mac/windows: you'll have to install r tools (for windows, or it's Mac equivalent) to compile locally.

I should also hear back from Cran soon, hopefully they'll allow fwildclusterboot back in the next days.

Best, Alex

s3alfisc commented 1 year ago

Hi, just read through your logs. Looks like you're using a Mac 😀

1) What happens if you choose not to compile the binaries?

2) If that's not working, you need to install a c++ compiler, following instructions here.

Best, Alex

jcha1997 commented 1 year ago

Ah! Thanks for the speedy reply.

I'm realizing I haven't installed XCode on this machine, so could be the lack of a c++ compiler. I'll keep the repo starred to see when it comes back on CRAN, but appreciate the help.

s3alfisc commented 1 year ago

Ok, if XCode is not installed, this definitely explains why the code does not compile =) though you should be able to already download binaries from r-universe, so there wouldn't be a need for compilation. Is it ok if I close this? Regarding CRAN - unfortunately I still have not heard back from them ...

jcha1997 commented 1 year ago

Great! Just downloaded the binaries locally - thanks for the help.