# These functions were created to be used with the 'mockr' package.
# Sort by type or alphabetical order.
is_interactive <- function(...) {
interactive()
}
require_namespace <- function(x, ..., quietly = TRUE) {
requireNamespace(x, ..., quietly = quietly)
}
read_line <- function(prompt, ...) {
readline(prompt)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.