I am attempting to compile a knitr
MWE using the knitrBootstrap
package. I am using the Ctrl
+Shift
+K
shortcut key in RStudio, which essentially calls the knit
function from knitr
.
Here is the MWE I am trying to compile, which is basically the MWE given on Jim Hester's knitrBootstrap
page here:
---
author: "FG"
date: "Tuesday, April 29, 2014"
output:
knitrBootstrap::bootstrap_document:
title: "Test LaTeX"
theme: journal
highlight: visual studio
theme.chooser: TRUE
highlight.chooser: TRUE
---
```{r}
x = a + b
```
$$
\begin{align}
x^2 + \mathbf{y}^2
\end{align}
$$
However, this gives me the
Error: 'bootstrap_document' is not an exported object from 'namespace:knitrBootstrap' Execution halted
That bootstrap_document
is not a function exported from the namespace of knitrBootstrap
is easy to verify. Has something changed since the page on Jim Hester's blog was written?