knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

skeleton

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.

Installation

You can install from GitHub with:

devtools::install_github("ngriffiths21/skeleton")

Usage

Start from an R project (create one in RStudio or with usethis::create_project, or use a new git repo).

skeleton::use_skeleton()

Directory Structure

.
├── _drake.R
├── data
├── figures
│   └── paper-figures.Rmd
├── notebook
│   ├── _bookdown.yml
│   └── index.Rmd
├── R
│   ├── packages.R
│   └── plan.R
├── README.md
├── renv
└── renv.lock


ngriffiths21/skeleton documentation built on Aug. 30, 2020, 12:04 a.m.