knitr::opts_chunk$set(echo = TRUE)
To remove all comments from an R script use formatR::tidy_source(x, comments = FALSE).
formatR::tidy_source(x, comments = FALSE)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.