Skip to content

Commit 6b8366d

Browse files
committed
incorporate the doc suggestion from #71
1 parent 2da7d1a commit 6b8366d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

R/tidy.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
#'
99
#' If the value of the argument \code{width.cutoff} is wrapped in
1010
#' \code{\link{I}()} (e.g., \code{I(60)}), it will be treated as the \emph{upper
11-
#' bound} on the line width, but this upper bound may not be satisfied. In this
12-
#' case, the function will perform a binary search for a width value that can
13-
#' make \code{deparse()} return code with line width smaller than or equal to
14-
#' the \code{width.cutoff} value. If the search fails to find such a value, it
15-
#' will emit a warning, which can be suppressed by the global option
16-
#' \code{options(formatR.width.warning = FALSE)}.
11+
#' bound} on the line width. The corresponding argument to \code{deparse()} is
12+
#' actually a lower bound, and so the function will perform a binary search for
13+
#' a width value that can make \code{deparse()} return code with line width
14+
#' smaller than or equal to the \code{width.cutoff} value. If the search fails
15+
#' to find such a value, it will emit a warning, which can be suppressed by the
16+
#' global option \code{options(formatR.width.warning = FALSE)}.
1717
#' @param source a character string: location of the source code (default to be
1818
#' the clipboard; this means we can copy the code to clipboard and use
1919
#' \code{tidy_source()} without specifying the argument \code{source})

man/tidy_source.Rd

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

0 commit comments

Comments
 (0)