此警告未被 warnings=FALSE 抑制
This warning is not being suppressed by warnings=FALSE
MWE test.Rmd
文件:
---
title: ""
author: "Alex"
output: html_document
runtime: shiny
---
```{r echo = FALSE, warnings=FALSE}
a <- max()
```
The value of $a$ in the first code chunk is `r a`.
```{r include=FALSE}
a <- max()
```
The value of $a$ in the second code chunk is `r a`.
产生:
第一个警告未被抑制,但第二个警告被 include=FALSE
抑制。但是,warnings=FALSE
已努力抑制其他警告,例如包命名空间冲突。
我有的包裹是:
knitr_1.12.3
rmarkdown_0.9.6
您需要使用 warning=FALSE
,而不是 warnings=FALSE
。很遗憾这里没有 "unrecognized chunk option"(元)警告,但软件只能做这么多......(我很惊讶 warnings=FALSE
过去曾为你工作 - 也许这个只是一次错字?)
MWE test.Rmd
文件:
---
title: ""
author: "Alex"
output: html_document
runtime: shiny
---
```{r echo = FALSE, warnings=FALSE}
a <- max()
```
The value of $a$ in the first code chunk is `r a`.
```{r include=FALSE}
a <- max()
```
The value of $a$ in the second code chunk is `r a`.
产生:
第一个警告未被抑制,但第二个警告被 include=FALSE
抑制。但是,warnings=FALSE
已努力抑制其他警告,例如包命名空间冲突。
我有的包裹是:
knitr_1.12.3
rmarkdown_0.9.6
您需要使用 warning=FALSE
,而不是 warnings=FALSE
。很遗憾这里没有 "unrecognized chunk option"(元)警告,但软件只能做这么多......(我很惊讶 warnings=FALSE
过去曾为你工作 - 也许这个只是一次错字?)