Nothing
test_that("a variety of URLs can be parsed", {
url <- "https://packagemanager.posit.co/cran/latest"
parts <- renv_url_parse(url)
expect_equal(renv_url_parse(url), list(
url = url,
protocol = "https://",
domain = "packagemanager.posit.co",
path = "/cran/latest",
parameters = named(list()),
fragment = ""
))
url <- "https://example.com/path/to/page?name=ferret&color=purple"
parts <- renv_url_parse(url)
expect_equal(renv_url_parse(url), list(
url = url,
protocol = "https://",
domain = "example.com",
path = "/path/to/page",
parameters = list(
name = "ferret",
color = "purple"
),
fragment = ""
))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.