Skip to content

Commit 309c5ac

Browse files
committed
docs: update documentation
1 parent 1fa0d8b commit 309c5ac

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

R/tm_rmarkdown.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
#' modules = modules(
5656
#' tm_rmarkdown(
5757
#' label = "RMarkdown Module",
58-
#' rmd_file = "test.Rmd"
58+
#' rmd_file = system.file(file.path("sample_files", "test.Rmd"), package = "teal.modules.general")
5959
#' )
6060
#' )
6161
#' )
@@ -92,7 +92,7 @@
9292
#' modules = modules(
9393
#' tm_rmarkdown(
9494
#' label = "RMarkdown Module",
95-
#' rmd_file = "test.Rmd",
95+
#' rmd_file = system.file(file.path("sample_files", "test.Rmd"), package = "teal.modules.general"),
9696
#' allow_download = FALSE,
9797
#' extra_transform = list(nrow_transform)
9898
#' )

man/tm_rmarkdown.Rd

Lines changed: 42 additions & 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)