Codes for general settings.^[See childRmd/_01header.Rmd
file for other general settings]
Setup global chunk settings
Change echo = FALSE
to hide codes after knitting.
knitr::opts_chunk$set( eval = TRUE, echo = TRUE, fig.path = here::here("figs/"), message = FALSE, warning = FALSE, error = FALSE, cache = FALSE, comment = NA, tidy = TRUE, fig.width = 6, fig.height = 4 )
# https://cran.r-project.org/web/packages/exploreR/vignettes/exploreR.html # exploreR::reset()
Load Library
see R/loadLibrary.R
for the libraries loaded.
source(file = here::here("R", "loadLibrary.R"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.