juicedown_example {juicedown} | R Documentation |
List example files
Description
List example files for the package. Show the path when the exact name is given.
Usage
juicedown_example(name = NULL, file = NULL)
Arguments
name |
character. A single string for example name. |
file |
character. A single string for the main file. |
Details
The package sample files are organized under samples directory like so:
samples/
|– from-html/
| -- sample.html
– include/
|– pic/
'– sample.Rmd
-
juicedown_example()
is equivalent tols samples
, -
juicedown_example("from-html")
is tols samples/from-html
, and -
juicedown_example("from-html", "sample.html")
shows the full path.
Value
character. A list of example files or a path string to each example file.
Examples
juicedown_example()
juicedown_example("from-html")
juicedown_example("from-html", "sample.html")
[Package juicedown version 0.1.1 Index]