is_running_windows <- function(x){
Sys.info()['sysname'] == 'Windows'
}
on_failure(is_running_windows) <- function(call, env) {
"Operation only supported on Windows operating systems."
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.