From https://community.rstudio.com/t/quarto-errors-out-when-calling-dt-inline/159894/3

This works in R Mardown

````markdown
---
title: "Test"
output: html_document
---

```{r da-table}
#| echo: false
#| essage: FALSE
atsi.need <- DT::datatable(iris)
```

Under ESSA student groups are identified for Additional Targeted Support and Improvement. 

`r atsi.need`
````

This does not in Quarto

````markdown
---
title: "test"
format: html 
keep-md: true
---

Works 

```{r da-table, echo=FALSE, message=FALSE}

atsi.need <- DT::datatable(iris)

atsi.need
```

but error 

Under ESSA student groups are identified for Additional Targeted Support and Improvement. 

`r atsi.need`

````

with this error 

````
++ Activating rlang global_entrace

++ Setting QUARTO_PYTHON



processing file: test2.qmd
  |...........................................................| 100%           Quitting from lines 12-15 (test2.qmd) 
Error in `rep_len()`:
! impossible de répliquer NULL vers une longueur non nulle
Backtrace:
  1. global .main()
  2. execute(...)
  3. rmarkdown::render(...)
  4. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  5. knitr:::process_file(text, output)
     ...
  9. knitr:::call_inline(x)
 12. knitr:::inline_exec(block)
 13. sew(res, inline = TRUE)
 14. knitr:::sew.knit_asis(x, options, ...)
 15. knitr::knit_meta_add(m, if (missing(options)) "" else options$label)
Message d'avis :
The closing backticks on line 11 ("````") in test2.qmd do not match the opening backticks "```" on line 7. You are recommended to fix either the opening or closing delimiter of the code chunk to use exactly the same numbers of backticks and same level of indentation (or blockquote). 

Exécution arrêtée
++ Activating rlang global_entrace
````
cderv
2023-02-17T11:10:51Z
cderv
bug
v1.3
closed
Inserting HTML widgets with knitr inline content is not working the same as in R Markdown
https://github.com/quarto-dev/quarto-cli/issues/4402