docreview icon indicating copy to clipboard operation
docreview copied to clipboard

An opinionated package for enhancing your R package documentation.

Results 22 docreview issues
Sort by recently updated
recently updated
newest added

Seek inspiration from https://pudding.cool/2022/02/plain/

See guidance here: https://developers.google.com/tech-writing/one/short-sentences

new check

https://rviews.rstudio.com/2021/08/04/r-views-blog-contest/

When inline code chunks are too long, they look awful. Add a check which measures lengths of inline code chunks and suggest that they're refactored into actual separate code chunks.

new check

A check is something that has: * config in form of: * a threshold for what score results in a warning * a threshold for what score results in an...

Create helper functions so that adjusting the config can be done through something simple, e.g. `set_thresholds("length", "too_short", c(300, 400))` or similar. Also something to turn checks on and off, like...

Currently docreview uses Flesch-Kincaid to analyse the vignettes. However, there may be other metrics to use as well as or instead of which can provide more useful analyses. Factors identified...

enhancement

Some word like "obviously", "simply" etc can be counterproductive in documentation. Add a function that can scan vignettes for these words, and also allow the user to supply a custom...

new check

Optional metrics around sentence length, how common words are etc.

new check