Nothing
context("robotstxt missing scheme")
test_that(
"robotstxt no scheme works", {
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("www.google.com")
} else {
TRUE
}
})
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("google.com")
} else {
TRUE
}
})
}
)
test_that(
"robotstxt scheme works", {
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("https://google.com")
} else {
TRUE
}
})
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("https://www.google.com")
} else {
TRUE
}
})
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("http://google.com")
} else {
TRUE
}
})
expect_true({
if ( Sys.getenv("rpkg_use_internet_for_testing") == "TRUE" ){
paths_allowed("http://www.google.com")
} else {
TRUE
}
})
}
)
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.