Nothing
library(tinytest)
expect_error(configure(curl=4))
expect_error(configure(curl=NA))
expect_error(configure(curl=c(TRUE, FALSE)))
# check whether it work
if(requireNamespace("curl", quietly=TRUE)){
configure(curl=TRUE)
expect_true(chronosphere:::curl)
}
# this should give an error
if(!requireNamespace("curl", quietly=FALSE)){
expect_error(configure(curl=TRUE))
}
# reverting should work all the time
configure(curl=FALSE)
expect_false(chronosphere:::curl)
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.