insightsengineering / insightsengineering/teal.widgets

[Feature Request]: Add option to export table in landscape & set default value paginate to be true

Open
#336 1 comment 0 reactions 0 assignees View on GitHub
core enhancement TrackA_RMedicine_Hackathon_Apr2026
Dominant language
R
Stars
6
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Feature description

1) Add a toggle for exporting table as landscape:

[rtables::export_as_pdf](https://github.com/insightsengineering/teal.widgets/blob/main/R/table_with_settings.R#L228) (and presumably other table exporting functions) has a landscape argument which it would be great to expose

2) Set default value of paginate to be true [here](https://github.com/insightsengineering/teal.widgets/blob/main/R/table_with_settings.R#L145) - if you have a table which fits on one page of a pdf it doesn't matter what value you set for paginate and if you have a multi-page table if you don't set paginate to be true then only the first page is output

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [x] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [x] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.