validate_package_url <- function(desc, package, repository) {
if (is.null(desc)) {
rlang::abort(
sprintf("Can't find package `%1$s` on repository %2$s.", package, repository)
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.