context("get_usage")
test_that("get_usage() yields correct output", {
testthat::skip_on_cran()
expect_output(get_usage(alg = "qgis:polygoncentroids", intern = FALSE))
expect_is(
get_usage(alg = "qgis:polygoncentroids", intern = TRUE),
"character"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.