insightsengineering / rtables

Reporting tables with R
https://insightsengineering.github.io/rtables/
Other
227 stars 49 forks source link

Constrained Pagination - manually set pagination points #370

Open gmbecker opened 2 years ago

gmbecker commented 2 years ago

Add argument break_at_rows, break_at_cols to paginate_table here and the underlying machinery in Insightengineering/formatters that allows users to manually specify pagination breaks, while leaving the rest to the algorithm.

E.g.,

paginate_table(tt, lpp = 80, cpp = 40, break_at_rows = 17)

would produce a pagination where there was an (additional) pagination break at 17, but taking that break into account the algorithm works as it does now.

gmbecker commented 2 years ago

When beginning work on this create a corresponding issue in the formatters repository and link it to this one.