Nothing
is_predraft <- function(dat) {
if ("draftDetail" %in% names(dat)) {
if (!dat$draftDetail$drafted) {
message("League has not yet drafted this season")
return(TRUE)
}
}
return(FALSE)
}
skip_predraft <- function(dat) {
if (is_installed("testthat") & "draftDetail" %in% names(dat)) {
if (!dat$draftDetail$drafted) {
testthat::skip(message = "League has not drafted")
}
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.