Skip to content

Commit

Permalink
Fix small problem in examples in strwidth2lines() that gave a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroman committed May 7, 2024
1 parent f298fee commit c86a049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/strwidth2lines.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' Aimee Teo Broman
#'
#' @examples
#' p <- par(TRUE)
#' p <- par(no.readonly = TRUE)
#' string <- sapply(sample(1:20,15,replace=TRUE),
#' function(a) paste(LETTERS[1:a], collapse=""))
#' nlines <- strwidth2lines(string)
Expand Down
2 changes: 1 addition & 1 deletion man/strwidth2lines.Rd

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

0 comments on commit c86a049

Please sign in to comment.