Nothing
pdk <- CJ(x = 1:100,
y = 1:100)
qry <- pdk[sample(1:nrow(pdk), 5), ]
which_paddock_row(pdk, qry)
test1 <- which_paddock_row(pdk, qry)
test_that("test1 gives correct output", {
expect_false(any(is.na(test1)))
expect_length(test1, 5)
expect_true(is.vector(test1))
expect_gt(max(test1), 125)
expect_lt(min(test1), 4797)
expect_is(test1, "integer")
})
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.