skip_if_not_tensorflow_version <- function(version) {
if (tensorflow::tf_version() < version)
skip(paste0("Needs TensorFlow version >= ", version))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.