tests/testthat/test-print.dw_transformer.R

test_that("print.dw_transformer", {
  data(iris)
  expect_snapshot(rescale(iris$Sepal.Length))
  expect_snapshot(normalize(iris$Sepal.Length))
  expect_snapshot(center(iris$Sepal.Length))
  expect_snapshot(standardize(iris$Sepal.Length))
})

Try the datawizard package in your browser

Any scripts or data that you put into this service are public.

datawizard documentation built on Sept. 15, 2023, 9:06 a.m.