Nothing
# ========================================================================
# Fast check to see if integrate_f works properly
# ========================================================================
test_that("integrate_f on an easy function", {
f <- function(mu) pmax(0, 1 - abs(mu))
res <- integrate_f(max_iter = 7, f, lower = -1, upper = 1)
expect_s3_class(res, "integrate")
expect_equal(res$value, 1, tolerance = 1e-6)
})
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.