Unable to knit .Rmd to html; problem with plotly and interactive plots

Please can you format your example correctly ? Thanks