knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This is a package that prints "one!" if the input is 1
if the input is not a number it will print "not a number!"
if the input is a number but not 1, it will print "not 1!"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.