Description Usage Arguments Value Examples
Similar to the devtools::use_*
functions, we want to
create a new ODG graphics object. This new graphics object
will be stored in a file which is copied from
a template from a given R-package. By default, the template
used is called odg_figure from the rmddochelper package.
After copying the template, it can be modified using a
pre-defined tool. By default this tool is LibreOffice draw.
1 2 3 |
ps_path |
file name including path of ODG graphics object file |
ps_cwd |
current working directory |
ps_rmd_src |
explicit file name of rmd-source file |
ps_odg_template |
name of the template to be used |
ps_template_package |
package from which template should be taken from |
pb_recursive |
flag whether missing directory should be created |
pb_edit |
flag to indicate whether odg file should be opened |
pb_insert_include |
flag indicating whether graphic include command should be inserted into rmd source file |
s_odg_trg name of and path to the created odg graphics file
1 2 3 4 | ## Not run:
rmddochelper::use_odg_graphic(ps_odg_file = "my_odg_graphic.odg")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.