Skip to content

Commit 16a74ac

Browse files
committed
actually export the function
1 parent 8d5547a commit 16a74ac

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export(str_double_quote)
8686
export(str_locate2)
8787
export(str_parenth)
8888
export(str_quote)
89+
export(str_reformat)
8990
export(str_vector)
9091
export(suite_install)
9192
export(suite_packages)

R/format.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ str_quote <- function(x) {
365365
#' txt <- "hello
366366
#' world"
367367
#' cat(str_reformat(cat(txt), indent = 3))
368+
#' @export
368369
str_reformat <- function(x, ...) {
369370
cap <- capture.output(x)
370371
paste(strwrap(cap, ...), collapse = "\n")

0 commit comments

Comments
 (0)