Nothing
test_that("body_replace replaces bits of bodies", {
test_fun <- function(x) {
x^exp
}
body(test_fun) <- body_replace(body(test_fun), quote(exp), quote(!!exp))
expected_fun <- function(x) {
x^!!exp
}
expect_identical(test_fun, expected_fun)
})
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.