-
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
Moved relevant decoration expansion into formatters for rlistings fix #814
Moved relevant decoration expansion into formatters for rlistings fix #814
Conversation
Code Coverage Summary
Diff against main
Results for commit: 031b069 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 24 suites 1m 30s ⏱️ Results for commit 031b069. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Results for commit bf4c84f ♻️ This comment has been updated with latest results. |
…ain' of github.com:Roche/rtables into remove_decoration_nl_matrix_form@243_fix_nl_expansion@main
# Solve \n in titles | ||
if (any(grepl("\n", all_titles(obj)))) { | ||
if (any(grepl("\n", main_title(obj)))) { | ||
tmp_title_vec <- .quick_handle_nl(main_title(obj)) | ||
main_title(obj) <- tmp_title_vec[1] | ||
subtitles(obj) <- c(tmp_title_vec[-1], .quick_handle_nl(subtitles(obj))) | ||
} else { | ||
subtitles(obj) <- .quick_handle_nl(subtitles(obj)) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is now resolved in formatters, right? @Melkiades
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks @Melkiades , nice cleaning up
Relevant changes for insightsengineering/formatters#243. To merge after insightsengineering/formatters#246
Moved from #813