#' @export
plot_weather.default <- function(x, ...){
warning("Oops, it seems like your data doesn't have the requiered class! You need a 'temperature', 'duration', 'speed' or 'height' if you want to see a fitting plot.")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.