Skip to content

docs: fix grammar in frollapply.Rd by.column section#7784

Closed
LeonidasZhak wants to merge 1 commit into
Rdatatable:masterfrom
LeonidasZhak:docs/fix-frollapply-grammar
Closed

docs: fix grammar in frollapply.Rd by.column section#7784
LeonidasZhak wants to merge 1 commit into
Rdatatable:masterfrom
LeonidasZhak:docs/fix-frollapply-grammar

Conversation

@LeonidasZhak
Copy link
Copy Markdown

Summary

Fix two grammar errors in the \code{by.column} argument section of frollapply.Rd.

Changes

Line Before After
37 "allows to apply function" "allows applying function"
37 "length of a vectors" "length of vectors"

Details

  1. "allows to apply""allows applying": The verb "allows" requires a gerund (allow + -ing) or a noun phrase before "to" (allow + someone + to). "Allows to apply" is a bare infinitive error.

  2. "length of a vectors""length of vectors": Article-noun disagreement. "A" is singular but "vectors" is plural. The correct form is "length of vectors" (no article).

Validation

  • tools::checkRd('man/frollapply.Rd') — passes (no errors)
  • Change is purely documentation (no code changes)

Stata Migration Relevance

The frollapply function enables rolling window operations with custom functions, which is a common pattern for Stata users migrating to R. Clear documentation of the by.column parameter helps Stata users understand how to apply functions across multiple columns, similar to Stata's rolling command.

Fix two grammar errors in the \code{by.column} argument section:
- 'allows to apply' → 'allows applying' (bare infinitive error)
- 'length of a vectors' → 'length of vectors' (article-noun disagreement)
@aitap
Copy link
Copy Markdown
Member

aitap commented Jun 7, 2026 via email

@LeonidasZhak
Copy link
Copy Markdown
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