I have a very simple Rmarkdown document and I'm using the help function to get an overview if a dataset. When I knit the document, instead of displaying the results of the help call in the resulting HTML document a new browser page is opened with the results of the help call.
How do I get the help information to display in the knitted html file?
Here is the simple rmarkdown:
---
title: "Help not working"
author: "Stackoverflow"
date: "8/31/2020"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(fpp2)
```
#### gold
```{r}
help(gold)
```