Nothing
#' @keywords internal
#' @noRd
read_clipboard <- function() {
if (!requireNamespace("clipr", quietly = TRUE)) {
stop("Reading the clipboard needs the 'clipr' package. ",
"Install it, or pass `code`/`file`.", call. = FALSE)
}
if (!clipr::clipr_available()) {
stop("No clipboard available (headless session?). Pass `code`/`file`.",
call. = FALSE)
}
clipr::read_clip()
}
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.