-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot Install without Rust Toolchain #14
Comments
Thanks, Jared! May I ask what version of R you're using? From what I can see r-universe has binaries for 4.3, 4.4, and 4.5 |
Tried on both 4.4.0 and 4.4.1. |
4.4.0 was on R installed directly on my Ubuntu 22 machine and 4.4.1 was inside the rstudio/plumber:v1.2.0 image which is Ubuntu 22.04.4. |
Sorry for the delay in getting back to you. I was busy moving cross country! I can reproduce this. You can install the binary directly with:
Build it with docker build -t test . && docker run -it test Install binary directly install.packages("https://josiahparry.r-universe.dev/bin/linux/noble/4.4/src/contrib/valve_0.1.3.tar.gz") |
Coming back to this a bit more. The case of r-universe not providing useful binaries is unfortunate and means that r-universe doesn't address the gap that i thought it did. In the case of valve would precompiled binaries for the cli tool be useful? The R package is a bit tougher to do, though. I'll think that through. |
I think my workaround was to do something with the CLI, so that's not the end of the world, for my use case at least. For the R binaries, could you use a matrix in GitHub actions to build binaries for a bunch of different OSes? |
The instructions at https://valve.josiahparry.com/ make it seem like the R package can be installed without the Rust toolchain. It fact, it says that the binaries exist for Linux.
But when you install the package without having the Tust toolchain
you get this error
This makes it look like it is compiling. And I can confirm that after installing rustup that the package compiles, installs, can be loaded and has the valve executable.
So it seems like the binaries are not being served by R-Universe.
The text was updated successfully, but these errors were encountered: