Nothing
# Check that the print function works
# The example used in the Wikipedia entry for the ITP method
wiki <- function(x) x ^ 3 - x - 2
res <- itp(wiki, c(1, 2), k1 = 0.1, n0 = 1)
res1 <- print(res, all = FALSE)
test_that("print, all = FALSE", {
testthat::expect_equal(res, res1)
})
res2 <- print(res, all = TRUE)
test_that("print, all = TRUE", {
testthat::expect_equal(res, res2)
})
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.