Skip to content

Commit 9422a3d

Browse files
mention all files that can be styled
1 parent a8b1f61 commit 9422a3d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

R/styler.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#' Non-invasive pretty printing of R code
22
#'
3-
#' styler allows you to format .R files, packages or entire R source trees
3+
#' styler allows you to format `.R`, `.Rmd`, `.Rmarkdown` and/or
4+
#' `.qmd`, `.Rnw` files, R packages, or entire R source trees
45
#' according to a style guide.
56
#' The following functions can be used for styling:
67
#' * [style_text()] to style a character vector.
7-
#' * [style_file()] to style a single .R file.
8-
#' * [style_dir()] to style all .R files in a directory.
8+
#' * [style_file()] to style a single file.
9+
#' * [style_dir()] to style all files in a directory.
910
#' * [style_pkg()] to style the source files of an R package.
1011
#' * [styler_addins] (RStudio Addins) to style either selected code or the
1112
#' active file.

inst/WORDLIST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ifelse
8585
impl
8686
infinitively
8787
initializer
88-
innode
88+
inode
8989
integrations
9090
interaces
9191
invasiveness

man/styler-package.Rd

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)