#testing special functions- lgamma
Renv <- new.env(parent = globalenv())
Renv$a <-1:10
FLenv <- as.FL(Renv)
test_that("Testing lgamma", {
result1=eval_expect_equal({
test1<-lgamma(a)
},Renv,FLenv)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.