-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue installing hdf5r on MacBook Pro with M3 Pro chip (only when using renv
)
#1818
Comments
renv
)
To confirm -- when the package is installed outside of My best guess is that the PATH might differ between what you see in an
reports in each case? I ask because I think the It may also be helpful to see the full output produced during package installation (so I can see what library paths are included, and what seems to be missing) |
I have the same issue on my Macbook pro M1 (OS: Monterrey). My R version is 4.3 (x86-84), handled using Rswitch. Did anyone solve this issue? |
Hey @lucygarner - did you ever get to the bottom of this? Im now having the same problem Thanks! |
Unfortunately my colleague went on extended leave, so I wasn't able to work any further on it. Sorry I can't be of more help! |
Can you provide the whole output log? It should also include something like:
I think the problem here is that rhdf5 is trying to figure out the library paths with an invocation like:
But that's not actually supported here?
It seems like it would be possible to glean the appropriate library paths from
|
I filed an issue at hhoeflin/hdf5r#231, but this may actually be an issue with the hdf5 bottle distributed by Homebrew. I'm going to dig a bit more. |
Hi Kevin, Thanks for looking into it. If you get any updates please let us know. I ended up scrapping what i'm doing for now and am working outside of renv in the short term for this specific project. When I return to it, which I will ultimately need to, I'll send the logs. I would assume this is impacting lots of people in the bioinformatics sphere. |
Hi,
I have been helping a colleague to set up their R environments on a new MacBook Pro with M3 Pro chip. However, we are having difficulties installing hdf5r when using renv. hdf5r installs fine into the "System Library" (outside of renv).
However, inside an RStudio project with renv, we get the following initial error:
This error was fixed using the following command, as discussed hhoeflin/hdf5r#171:
However, we then have the following error:
Do you have any idea why we are specifically getting these errors when in an RStudio project using renv? And how we might fix them?
Best wishes,
Lucy
The text was updated successfully, but these errors were encountered: