test_that("bound", {
expect_equal(dts_bound(dts_data[1:5,], bound = c(0, Inf))$Value,
c(NA, NA, NA, NA, 10.26348), tolerance = 1e-06)
expect_equal(dts_bound(dts_data[1:5,], bound = c(0, Inf), adjust = TRUE)$Value,
c(0, NA, NA, NA, 10.26348), tolerance = 1e-06)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.