knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package can be used to quickly set up a project skeleton suitable for data analysis. It sets up drake as well as a lab notebook that is built with bookdown.
You can install from GitHub with:
devtools::install_github("ngriffiths21/skeleton")
Start from an R project (create one in RStudio or with usethis::create_project, or use a new git repo).
skeleton::use_skeleton()
. ├── _drake.R ├── data ├── figures │ └── paper-figures.Rmd ├── notebook │ ├── _bookdown.yml │ └── index.Rmd ├── R │ ├── packages.R │ └── plan.R ├── README.md ├── renv └── renv.lock
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.