library("utilizeR")
context("function.args")
test_that("function.args", {
expect_identical(function.args(sin), c("x"))
expect_identical(function.args(log), c("x", "base"))
expect_identical(function.args(function(x, y) x+y), c("x", "y"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.