File: knitr-warn.Rmd

package info (click to toggle)
r-cran-reticulate 1.41.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,088 kB
  • sloc: cpp: 5,154; python: 620; sh: 13; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: "Warnings"
output: md_document
---

```{python, warning=FALSE}
import warnings
warnings.warn("a warning")
1 + 1
```


```{python, echo=FALSE, warning=FALSE}
import warnings
warnings.warn("a warning")
1 + 1
```