Note that clicking on the data frames in the tbl column to view displays two columns with values corresponding to the indicator val:
Sort by val so that the first row is 0:
Open the data frames in tbl again to find that the values no longer correspond to the indicator val.
Describe the problem in detail
When using the RStudio Data Viewer to sort nested data frames according to a binary (0 and 1) column, the column containing nested data frames will not sort if the first row of the binary column was not 0 initially.
This issue seems related but perhaps not identical to #7546.
Describe the behavior you expected
Following the steps above, the Data Viewer correctly sorts the nested data frame values after running the following, where 0 is initially the first row value:
@fordholland Thank you for filing the issue! I can reproduce it. Note, though, that for the last example, I do see an issue—when the val column is sorted in reverse, the same problem occurs. In any case, we'll review this as we continue developing RStudio.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
stalebot
added
the
stale
Issues which have been closed automatically due to inactivitiy.
label
Feb 5, 2021
System details
Steps to reproduce the problem
Note that clicking on the data frames in the


tblcolumn to view displays two columns with values corresponding to the indicatorval:Sort by

valso that the first row is0:Open the data frames in
tblagain to find that the values no longer correspond to the indicatorval.Describe the problem in detail
When using the RStudio Data Viewer to sort nested data frames according to a binary (
0and1) column, the column containing nested data frames will not sort if the first row of the binary column was not0initially.This issue seems related but perhaps not identical to #7546.
Describe the behavior you expected
Following the steps above, the Data Viewer correctly sorts the nested data frame values after running the following, where
0is initially the first row value:The Viewer also correctly sorts data frames when the column sorted on does not contain
0:The text was updated successfully, but these errors were encountered: