-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
"{" character breaks the printing of listings #225
Comments
it's the "{" throwing things off |
We need to add the proper error messaging: library(rtables)
#> Loading required package: formatters
#> Loading required package: magrittr
#>
#> Attaching package: 'rtables'
#> The following object is masked from 'package:utils':
#>
#> str
dat <- ex_adae
dat$AENDY[3:6] <- "something \\{haha\\} something"
basic_table() %>%
split_rows_by("AENDY") %>%
analyze("SEX") %>%
build_table(head(dat))
#> Error in check_ok_label(label): Labels cannot contain { or } due to their use for indicating referential footnotes Created on 2024-09-10 with reprex v2.1.0 |
+1, just an assertion would be fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{
character makes the printing of listings bug (creation is ok)But this works
Created on 2024-09-10 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: