I use updated quarto
and Rmarkdown
and vtree ‘5.4.6’
:
In the same project and same session:
Rmarkdown
does what quarto
does not:
Rmarkdown
renders vtree(iris, "Species")
and quarto
not (allthough quarto
renders inline)
What could be the problem for this?
See here a reproducible example:
1. Rmarkdown
---
title: "test"
author: "Me"
date: '2022-06-18'
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(vtree)
```
## R Markdown
```{r cars}
vtree(iris, "Species")
```
2. Quarto
---
title: "Untitled"
format: html
editor: visual
---
## Quarto
```{r}
library(vtree)
vtree(iris, "Species")
```