-
Notifications
You must be signed in to change notification settings - Fork 33
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
Use highr by default and depend on it #77
base: main
Are you sure you want to change the base?
Conversation
IMO it's not good to add a dependency on a relative uncommon package for such a minor feature. To get repr adopted in other projects it's IMO better to keep the dependency list as small and "already installed" as possible. IMO it would be better to simply use it if it is available and the FAQ or description item suggest "installing higher will make displayed functions highlighted". |
you mean with the what’s the harm? the hadleyverse has millions of dependencies and you were happy to install them |
I'm actually happy to never get any highlights, so I wouldn't mind that the option is simply removed and the function just tests for the The ham is getting repr adopted somewhere else so that other packages see the benefits of including Another way could be to split off "non essential" implementations from the "declaration" into their own "repr_implementations" package, but that would remove any incentive for other package to include repr functions for their own objects. |
I don't have strong feelings either way on this, but I'd mention that it should be unnecessary once we implement jupyter/nbconvert#363, which will allow kernels to provide a hint for the frontend to highlight output. That will take a little while, though, so we may still want this in the meantime. |
the fact that you seem to have rather strong feelings towards including a completely inconsequential dependency hints at you being right. but still: this is R. my “barebones” R installation has 173 packages in it, all interdepending (i removed the recommended and base packages for fairness):
that’s the point yeah |
as discussed in jupyter/nbconvert#356