yihui / knitr

A general-purpose tool for dynamic report generation in R
https://yihui.org/knitr/
2.37k stars 874 forks source link

Inserting HTMLWIDGET using inline check is now failing #2237

Closed cderv closed 1 year ago

cderv commented 1 year ago
---
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 will throw this error now

Error in isTRUE(): ! argument "options" is missing, with no default Backtrace:

  1. xfun::in_dir("~", rmarkdown::render("test.Rmd"))
  2. rmarkdown::render("test.Rmd")
  3. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  4. knitr:::process_file(text, output) at knitr/R/output.R:254:2 ... at knitr/R/output.R:445:2
    1. knitr:::wrap_asis(x, options) at knitr/R/output.R:497:2
    2. base::isTRUE(options$collapse) at knitr/R/output.R:470:2

This is a regression from 99cd65a8 (#2212) that we need to adapt. (found via git bisect)

github-actions[bot] commented 10 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.