Skip to content

docs: fix na_rm param description inherited by all *_run functions#112

Closed
LeonidasZhak wants to merge 1 commit into
gogonzo:mainfrom
LeonidasZhak:docs/fix-narm-param-description
Closed

docs: fix na_rm param description inherited by all *_run functions#112
LeonidasZhak wants to merge 1 commit into
gogonzo:mainfrom
LeonidasZhak:docs/fix-narm-param-description

Conversation

@LeonidasZhak

Copy link
Copy Markdown
Contributor

Summary

The na_rm parameter description in sum_run.Rd says "sum is calculating excluding NA", but this description is inherited via @inheritParams sum_run by all other *_run functions — making it wrong for , , , , , and .

Before (all 7 functions)

if TRUE sum is calculating excluding NA.

After (all 7 functions)

if TRUE, missing values are removed before calculation.

Validation

  • tools::checkRd() passes for all affected Rd files
  • All 1043 tinytest tests pass
  • 1 file changed in source (R/RcppExports.R), 8 auto-generated Rd files updated

Files Changed

File Change
R/RcppExports.R Fix na_rm description in sum_run roxygen
man/sum_run.Rd Auto-regenerated
man/mean_run.Rd Auto-regenerated
man/max_run.Rd Auto-regenerated
man/min_run.Rd Auto-regenerated
man/streak_run.Rd Auto-regenerated
man/which_run.Rd Auto-regenerated
man/minmax_run.Rd Auto-regenerated
man/runner.Rd Auto-regenerated

Duplicate Check

The na_rm parameter in sum_run.Rd described behavior as 'sum is
calculating excluding NA', but this description is inherited via
@inheritParams by mean_run, streak_run, which_run, min_run, max_run,
and minmax_run — where 'sum' is incorrect.

Changed to generic: 'missing values are removed before calculation'

Affects 7 functions total. All 1043 tinytest tests pass.
@LeonidasZhak

Copy link
Copy Markdown
Contributor Author

Withdrawing this small automated PR while I consolidate an oversized batch of contributions and reduce maintainer review burden. Sorry for the noise, and thank you for maintaining the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants