I try to document my R package with a vignette and want to print dataframes paged.
It works with
---
title: "Helpfile"
output:
rmarkdown::html_document:
df_print: paged
---
```{r setup}
iris
```
but not with
---
title: "Helpfile"
output:
rmarkdown::html_vignette:
df_print: paged
vignette: >
%\VignetteIndexEntry{Helpfile}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r setup}
iris
```
The help (.html) says that I can use df_paged the same way as in html_document. What do I get wrong here?