test_that("creationParamsTable", { rules <- data.frame(x = 1:3) attr(rules, "call_function") <- "dig_tautologies" attr(rules, "call_args") <- list( min_support = 0.5, min_confidence = 0.7 ) ui <- creationParamsTable(rules) html <- as.character(ui) expect_match(html, "^
Generated using the function dig_tautologies\\(\\) with the following parameters:
") expect_match(html, "0\\.5.*[^<]*0\\.7.*[^<]*