Nothing
df_inf <- data.frame(x = c(-Inf,rnorm(2), NA, Inf))
test_that("missing values are replaced in shadow shift",{
expect_false(anyNA(shadow_shift(df_inf$x)))
})
test_that("infinite values are maintained in shadow shift",{
expect_equal(sum(is.infinite(shadow_shift(df_inf$x))), 2)
})
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.