context("CMA-ES monitoring")
test_that("CMA-ES monitoring works well", {
fn = makeSphereFunction(2L)
expect_output(cmaes(fn, monitor = makeSimpleMonitor()), "Iteration")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.