gotest | R Documentation |
Create and change to a temporary directory and copy a skeleton version of the document or beamer presentation files for testing
gotest(
config_fn = "_bookdown.yml",
figures_dir = NULL,
knitr_figures_dir = NULL
)
config_fn |
The name of the bookdown YAML file. The default is
|
Extracts the source and destination filenames for copying into the
temporary directory with one of the two functions
gotest_doc_get_src_dest_filenames()
and
gotest_beamer_get_src_dest_filenames()
See the Debugging a figure or table, or any other Rmarkdown code
section of the README.md file for detailed explanation.
Use the function goback()
to return from the testing directory to the
directory you were in before calling gotest()
Nothing, but the global variable goback_dr
is set for the
function goback()
to use to return to the original directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.