Hide Rmarkdown output if there's an error

13 views
Skip to first unread message

Auronus Ben

unread,
Jul 28, 2022, 5:33:46 PM7/28/22
to knitr
Hello, I'm trying to create an HTML Rmarkdown that runs the code but doesn't show to results if it has an error.

For exemple if i try and run this chunck:

Capture.PNG

I get this error in the HTML :

Capture2.PNG

What I need is to run the code but show nothing if I get an error....
Reply all
Reply to author
Forward
0 new messages