Nothing
#### tools ===============================================================
context("\ntools")
#### tools ===============================================================
#### cuts_to_spans ===============================================================
context("tools cuts_to_spans()")
test_that("cuts_to_spans work", {
expect_true({
all(dim(cuts_to_spans(1:100, end=100))==c(100,2))
})
expect_true({
all(dim(cuts_to_spans(1:100))==c(101,2))
})
expect_true({
all(
cuts_to_spans(1,end=2)$from == 1:2 &
cuts_to_spans(1,end=2)$to == 1:2
)
})
expect_true({
all(
unlist(cuts_to_spans(1:100, start=100, end=100))==100
)
})
})
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.