Nothing
# This tests the various other miscellaneous functions.
# library(testthat); library(rebook); source("test-other.R")
test_that("setupHTML works as expected", {
expect_output(setupHTML(), "rebook-collapse")
})
test_that("chapterPreamble works as expected", {
expect_output(chapterPreamble(), "rebook-collapse")
expect_identical(knitr::opts_chunk$get("error"), FALSE)
expect_identical(knitr::opts_chunk$get("message"), FALSE)
expect_identical(knitr::opts_chunk$get("warning"), FALSE)
})
test_that("prettySessionInfo works as expected", {
expect_output(prettySessionInfo(), "session info")
})
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.