if (requireNamespace("tinytest", quietly = TRUE)) {
suppressPackageStartupMessages(library(sf))
tinytest::test_package("mapsf")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.