# nocov start
.onLoad <- function(...) {
vctrs::s3_register("pillar::pillar_shaft", "hms")
if (utils::packageVersion("vctrs") <= "0.1.0") {
vec_default_cast <<- vec_default_cast_old
} else {
rm("vec_default_cast", inherits = TRUE)
}
invisible()
}
# nocov end
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.