tests/testthat/test-create_formula.R

library(helda)

context('Create formula function')

test_that("create formula", {
  data <- iris
  load(file = 'create_formula_test.Rda')
  expect_equal(create_formula(data = data, position = 4), create_formula_test, check.environment = FALSE)
})
Redcart/helda documentation built on March 3, 2023, 11:55 p.m.