-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Bug]: row_labels don't match docs in qtable() #698
Comments
@anajens Thanks for the report. You are correct. the behavior controlled by Unlike 1. no row splitting, single-row-returning afunHere, the label is used for the row label
2. row splitting, single-row-returning afun, row_label specifiedHere, we use the value label for the most recent split as the row label, automatically, for a more compact table. In this case, the row label (whether default or specified in a single string) is pulled up to the top_left
3. no row splitting, multi-row-returning afun, row_labels vector specifiedHere, the labels should be used as the row labels, and its a bug that they are not
4. row splitting present, multi-row returning afunHere we have a different bug, which puts the vector of row_labels in the topleft:
I've fixed this locally and will create a PR soon. I went ahead and put the default single rowname back into the top-left in these multi-row cases, which I think is ok, because qtable is supposed to be opinionated:
|
What happened?
According to the docs,
row_labels
fromqtable()
should be used to modify the analysis rows. In practice it seems to only change the top left header label.Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: