-
Notifications
You must be signed in to change notification settings - Fork 50
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]: Accessing columns by path doesn't work when table has an overall column. #908
Comments
It seems to be a legitimate bug. @gmbecker, could you take a look? It may be coming from the colcounts update |
@Melkiades This isn't coming from the colcounts method, its been there for a long time (see end of message, those versions of rtables and formatters are cran versions from 2023). What is happening has to do with the structure generated by adding an overall column that way inserts a root table that the arm substructure and overall substructure are siblings within:
Also (this is back to using the cran versions), we do have working pathing because the brackets work, so the issue is mroe specifically with the column footnote machinery.
note the more technically correct paths also work within the pathing machinery that the bracket is hitting:
The culprit looks to be Sesssion info for error
|
@hafen this is a legitimate bug. In the meantime, the workaround is to use
The difference here is that we are adding an "overall" facet that is a direct sibling to the arm facets, rather than one that derives from a separate top-level branch like
|
Using the example found here (minus the secondary column splitting
split_cols_by("SEX")
):Adding a column footnote works for this, for example:
However, if we add an overall column, this no longer works:
Also, possibly related, note that the actual example found here has its footnote numbered as
NA
in the output found in the article.I encounter this using rtables 0.6.9 installed from CRAN as well as v0.6.9.9005 installed from GitHub.
The text was updated successfully, but these errors were encountered: