#' If this runs in a situation without data, then skip these tests.
test_requires_data <- function() {
testthat::skip_if_not(
tryCatch({
dir.exists(
rampdata::as.path(
rampdata::ramp_path("/globalrc/inputs/PfPR_medians")))
},
error = function(x) {
FALSE
}
))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.