I am getting fairly confused about setting options for the html output with knitr
I have an R script and I would like to create a report from it
To do this I am using spin from knitr as follows:
If you can, post a link to your script so the issue can be better diagnosed.
You most likely need to set the knitr chunk options to suppress warnings and messages. You can suppress errors, but your code will keep running if you do so. Include this near the top of your script.
#+ setup, include=FALSE knitr::opts_chunk$set(warning = FALSE, message = FALSE)