Skip to content

Commit

Permalink
typo: indention->indentation (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Oct 4, 2024
1 parent abeca0d commit a3f80d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/glue.R
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ glue_collapse <- function(x, sep = "", width = Inf, last = "") {
#' glue("
#' A formatted string
#' Can have multiple lines
#' with additional indention preserved
#' with additional indentation preserved
#' ")
#'
#' glue("
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ foo <- function() {
glue("
A formatted string
Can have multiple lines
with additional indention preserved")
with additional indentation preserved")
}
foo()
```
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ foo <- function() {
glue("
A formatted string
Can have multiple lines
with additional indention preserved")
with additional indentation preserved")
}
foo()
#> A formatted string
#> Can have multiple lines
#> with additional indention preserved
#> with additional indentation preserved
```

The leading whitespace that is common to all 3 lines is absent from the
Expand Down
2 changes: 1 addition & 1 deletion man/trim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/glue.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ glue("Release was on a {format(release_date, '%A')}.")
glue("
A formatted string
Can have multiple lines
with additional indention preserved
with additional indentation preserved
"
)
```
Expand All @@ -69,7 +69,7 @@ foo <- function() {
glue("
A formatted string
Can have multiple lines
with additional indention preserved")
with additional indentation preserved")
}
foo()
```
Expand Down

0 comments on commit a3f80d6

Please sign in to comment.