Skip to content

Commit 6cb5d6f

Browse files
committed
Fix example
1 parent f2e5f01 commit 6cb5d6f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

R/writers.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,12 @@
3939
#' type = "text"
4040
#' )
4141
#'
42-
#' # Write text content
43-
#' write_file_content("Hello, World!", "example.txt")
44-
#'
4542
#' # Write base64 encoded image
4643
#' b64img <- paste0(
4744
#' "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAA",
4845
#' "DUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="
4946
#' )
50-
#' write_file_content(b64img, "test.png", decode_base64 = TRUE)
47+
#' write_file_content(b64img, "test.png", type = "binary")
5148
#' }
5249
#'
5350
#' @keywords internal

man/write_file_content.Rd

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

0 commit comments

Comments
 (0)