use_notestar | R Documentation |
Create a brand new notebook with default settings
use_notestar( dir_project = ".", dir_notebook = "notebook", dir_md = "notebook/book", notebook_helper = "knitr-helpers.R", cleanrmd_theme = "water", notebook_filename = "notebook", open = interactive() ) use_notestar_makefile(dir_project = ".") use_notestar_references(dir_project = ".")
dir_project |
file-path to the base/root folder of the project. Defaults to
|
dir_notebook |
Name of the directory containing the Rmd files. It should
be a relative path from the project root. Defaults to |
dir_md |
Name of the directory to contain md files (knitted Rmd files).
It should be a relative path from the project root. Defaults to
|
notebook_helper |
Filename for an R script to run before knitting each
Rmd file and rendering the notebook with bookdown. The file must be in
|
cleanrmd_theme |
Theme to use for |
notebook_filename |
Name to use for the final html file. Defaults to
|
open |
whether to open |
use_notestar_makefile()
creates a Makefile that will build or clean a
targets-based workflow.
use_notestar_references()
adds the files "refs.bib"
and "apa.csl"
to
dir_notebook
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.