Open Kupac opened 1 year ago
This is really due to reticulate and how to deal with that. I've been thinking about this recently (https://github.com/NixOS/nixpkgs/pull/244612) but it's not clear how to ensure python dependencies are available for packages like altair. We can't have multiple versions of reticulate with different package sets available, so we'd need to handle python deps with a fixed point and that requires some significant refactoring.
Describe the bug
Altair installs as an R library, but can't produce plots, because the underlying python library is not found.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Plot without errors.
Screenshots
Additional context
Python was found because I was using radian:
In regular R console, even Python is missing, which is strange because altair depends on reticulate, which should depend on python.
We also have a related conversation with @cfhammill about that, and how reticulate doesn't find the right python lib: https://functional.cafe/@kupac/110826277110844252
Notify maintainers
@jbedo can you take a look at this?
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.