this is just a copy of utils:::format.object_size(), which is an internal function to the base R utils package. You're not allowed to use internal functions from other packages, i.e. the "..." operator, at least not if you want your package on CRAN. To come around this, I just copied the function here.
1 2 3 4 5 6 7 | e_internal_format.object_size(
x,
units = "b",
standard = "auto",
digits = 1L,
...
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.