Nothing
# ERROR FOR NON-SQ OBJECTS ----
test_sq_only <- function(.func, ..., .data.frame_ok = FALSE) {
test_message <- if (.data.frame_ok)
"the first argument must be of sq or data.frame class" else
"the first argument must be of sq class"
test_that(test_message, {
expect_s3_class(rlang::catch_cnd(.func(1:7, ...)),
"error_no_method")
expect_s3_class(rlang::catch_cnd(.func(LETTERS, ...)),
"error_no_method")
expect_s3_class(rlang::catch_cnd(.func(list(mean, sum, sd), ...)),
"error_no_method")
})
}
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.