Skip to content

Instantly share code, notes, and snippets.

@nhoffman
Last active June 7, 2021 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nhoffman/678e40609a90f96a94925d0f0fa657d8 to your computer and use it in GitHub Desktop.
Save nhoffman/678e40609a90f96a94925d0f0fa657d8 to your computer and use it in GitHub Desktop.
rmarkdown template
---
title: [title]
author: Noah Hoffman
date: "`r format(Sys.time(), '%Y-%m-%d')`"
output:
html_document:
toc: true
---
# setup
```{r imports}
library(dplyr)
library(rmarkdown)
library(knitr)
library(data.table)
library(lattice)
library(latticeExtra)
```
```{css}
pre {
overflow-x: auto;
}
pre code {
overflow-wrap: normal;
white-space: pre;
}
```
```{r setup}
knitr::opts_chunk$set(cache=TRUE)
```
# meta
```{r}
getwd()
```
```{sh}
git --no-pager log -n1
```
```{sh}
git status
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment