#' Was devtools installed with tests?
#'
#' @keywords internal
#' @export
has_tests <- function() {
test_path <- tryCatch(
path_package("devtools", "tests"),
error = function(e) NULL
)
!is.null(test_path)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.