powered by
This function creates a new directory under the current directory, which will contain the given files of the specified template, ready to be rendered.
create_rtemp(dirname = "new-dir", template = "united_html")
name of the directory to create. If not specified, a directory new-dir will be created.
which template to use?
The available templates are: united_html (default), bookdown_lite. The name of the main .Rmd file will be index.Rmd.
.Rmd
# NOT RUN { create_rtemp(dirname = "tmp_dir", template = "united_html") # } # NOT RUN { # }
Run the code above in your browser using DataLab