targets_1.3.2.9004 <- function() {
utils::compareVersion(
a = as.character(packageVersion("targets")),
b = "1.3.2.9004"
) > -1L
}
status_completed <- function() {
if (targets_1.3.2.9004()) {
"completed"
} else {
"built"
}
}
status_dispatched <- function() {
if (targets_1.3.2.9004()) {
"dispatched"
} else {
"started"
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.