Merck / Merck/r2rtf

Capability to config number of rows of each page

Open
#290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
R
Stars
85
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

There might be a need to control which row goes to which page.

Describe the solution you'd like
If there is a table with 2 pages, I want first five row in rtf_body goes to page 1, the next 6 row goes to page 2.

Current rtf_page::nrow expect a singular number, as this refine pagination may break for figure and listing of tables. So we should think of the pro and con before the implementation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading how rtf_page::nrow controls pagination for rtf_body. Compare the requested five-row first page and six-row second page with the current singular-row behavior, then assess the effect on figures and table listings. Done means a clearly defined per-page configuration that preserves those existing pagination cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.