Nothing
#
# @upsetjs/r
# https://github.com/upsetjs/upsetjs_r
#
# Copyright (c) 2021 Samuel Gratzl <sam@sgratzl.com>
#
upsetjs_mock <- function() {
x <- structure(list(
sets = c()
))
r <- list(
x = x,
package = "upsetjs"
)
class(r) <- c(class(r), "upsetjs_common", "upsetjs_upset")
r
}
expect_set <- function(s, name, cardinality, check.length = TRUE) {
expect_equal(s$name, name)
expect_equal(s$cardinality, cardinality)
if (check.length) {
expect_equal(length(s$elems), cardinality)
}
}
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.