Skip to content

Commit 627fcbb

Browse files
committed
fix: rds file being created
1 parent 4897864 commit 627fcbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/to_rmd.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#' @examples
7171
#' to_rmd(c("## This is a simple text block.", "", "With a paragraph break."))
7272
#' to_rmd(code_chunk("summary(cars)"))
73-
#' to_rmd(data.frame(x = 1:10, y = 21:30))
73+
#' to_rmd(data.frame(x = 1:10, y = 21:30), folder_path = tempdir())
7474
#' @examplesIf requireNamespace("ggplot2", quietly = TRUE)
7575
#'
7676
#' # Example with ggplot2 will create a temporary RDS file in the tempdir()

man/to_rmd.Rd

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

0 commit comments

Comments
 (0)