Open Chwiggy opened 5 months ago
@jbedo is the general R maintainer, I believe. I don’t have much context here.
You haven't provided the data_dir
argument to the setup_r5()
function. Assuming the example given in the documentation (system.file("extdata/poa", package = "r5r")
) this fails as setup_r5
seems to expect it to be a writable location. This isn't really a nix issue, global installations typically do not allow users to write into these locations. Suggest you place a copy of the data somewhere your user has write permissions, and potentially report the issue upstream as the documentation is a bit misleading.
Describe the bug
The R package r5r requires a Java back end, this however isn't packaged with the R package, but r5r tries to dynamically download the r5 jar to the package root when needed. This inevitably fails when the package root is in the nix store.
Steps To Reproduce
Steps to reproduce the behavior:
rPackages.r5r
within a nix-env or direnv. (Notably this probably isn't reproducible if you have r5r in~/R
already)r5_setup
Expected behavior
Expected r5r to run.
Additional context
I don't know if this is something that can be patched, or if this should just mean that the package should be marked as broken.
As it's build by the generic R builder, I'm not sure a human actually ever touched this rPackage.
Notify maintainers
As the person who last touched the generic builder @amarshall, but i don't know how much this actually falls in your wheel house.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.