knit_output_dir: knit_output_dir

Description Usage Arguments Details Examples

View source: R/knit_output_dir.R

Description

knit_output_dir

Usage

1
knit_output_dir(output_dir = ".")

Arguments

output_dir

(character)

Details

this function does not work as expected!

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# In YAML header or R markdown file:
#
# ---
# knit: (spMisc::knit_output_dir(output_dir = "some_dir/")(inputFile, encoding))
# ---

# ---
# knit: (function(inputFile, encoding, ...) {
#         rmarkdown::render(inputFile, encoding = encoding,
#         output_dir = "some_dir/")
#     })
# ---

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.