expect_same <- function(x) { base <- as.vector(object.size(x)) pryr <- as.vector(object_size(x)) expect_equal(base, pryr) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.