Skip to content

Minor edits to documentation and comments#433

Merged
Enchufa2 merged 11 commits into
r-quantities:mainfrom
tszberkowitz:main
May 11, 2026
Merged

Minor edits to documentation and comments#433
Enchufa2 merged 11 commits into
r-quantities:mainfrom
tszberkowitz:main

Conversation

@tszberkowitz
Copy link
Copy Markdown
Contributor

Made some minor edits (spacing, punctuation, rearranged a few sentences, a few typos, etc.), mostly to documentation but also in a few code comments. No changes were made to any of the code in the package.

A few other notes:

  1. I wasn't sure how important the max. line width of 80 characters was, so I wrapped some lines that extended beyond 80, but I mostly left others that already existed. However, it would probably be good to standardize this at some point.
  2. I didn't change any code but there is inconsistent use of the assignment operators <- and = throughout the package. I don't feel strongly about it, so I defer to the package authors and maintainers. But again, it would be good to pick one style and use it consistently throughout the package.

tszberkowitz and others added 11 commits May 9, 2026 12:42
Fixed typo in documentation. Fixed minor spacing issues in documentation.
In documentation: fixed wrong word used, added "." to end of sentence, reworded a sentence for clarity. No code changed.
In documentation: changed "i.e." to "e.g.", reworked a sentence. No code changed.
Wrapped long lines in documentation at 80 characters
This reverts commit ebd5c48.
In documentation: wrapped several terms in "\code{}", improved formatting consistency for param descriptions. No code changes.
In comment: fixed typo ("nominator" -> "numerator"). In documentation: wrapped some terms in "\code{}". No code changed.
In documentation: corrected error about default `quiet` param value; cleaned up spacing around commas in sentences; split run-on into 2 sentences. No meaningful code changed (deleted some unnecessary whitespace).
Added comment to example for `as_units.difftime` method to separate from other unrelated examples in `make_units` help page. No functional code changed.
@Enchufa2
Copy link
Copy Markdown
Member

Thanks!

@Enchufa2 Enchufa2 merged commit 3854ba0 into r-quantities:main May 11, 2026
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