When rendering the following `example.rmd` I ran into some inconsistencie regarding evaluation of inline code:

```
--- 
title: "RStudio Workbench"
date: "`r Sys.Date()`"
---

One plus two is `r 1 + 2`.

Today's date is `r Sys.Date()`.
```

When I knit `example.rmd`  in Rstudio, I get the expected output:

![image](https://user-images.githubusercontent.com/6981612/122700841-a9348300-d211-11eb-930c-0bc6a5dbbee6.png)

Calling `quarto render example.rmd` gives:

![image](https://user-images.githubusercontent.com/6981612/122701007-f57fc300-d211-11eb-9ea2-b4c501715892.png)


When I label it as `example.qmd` and render it from RStudio, I get this:

![image](https://user-images.githubusercontent.com/6981612/122700876-bbaebc80-d211-11eb-8d12-8c9481bacd2b.png)

Calling `quarto render example.qmd` gives:

![image](https://user-images.githubusercontent.com/6981612/122700940-db45e500-d211-11eb-9dd3-f2ac1c63bb58.png)

This was on the most recent dev release of `quarto-cli`.

2021-06-21T02:57:56Z
pommevilla
closed
Not evaluating inline code consistently
https://github.com/quarto-dev/quarto-cli/issues/40