Nothing
library(testthat)
library(stringr)
fun_text <- '
#\' \\code{iris} is a `r nrow(iris)`-row matrix.
#\'
#\' \\code{iris} matrix has
#\' ```{r results="hold"}
#\' ncol(iris)
#\' ```
#\' columns.
print_iris <- function() iris
'
test_that("roc_eval_text parses diffused roxygen comments to Rd text", {
expect_error(roc_eval_text(roxygen2::rd_roclet(), fun_text)[[1L]], NA)
})
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.