Nothing
describe("LPsolve drops variable names",{
it("solves an issue",{
d <- data.frame( id = 101L, a = 1, b = 1, c= 1, d = 1, e = 1
, f = 1, s = 4, z = NA_real_
)
rules <- validate::validator(
s == a + b + c + d + e + f,
z >= 0
)
set.seed(5484)
el <- errorlocate::locate_errors(d, rules)
v <- values(el)
expect_equal(v[1,], c(id=FALSE, a=FALSE, b = FALSE, c = FALSE
, d = FALSE, e = FALSE, f = FALSE, s = TRUE, z = NA))
})
})
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.