tests/testthat/_snaps/standardize.md

standardize - matrix

Code
  standardize(mat_bad)
Condition
  Error in `standardize()`:
  ! All columns of `y` must have unique names.
Code
  standardize(mat_bad2)
Condition
  Error in `standardize()`:
  ! `y` must be a numeric matrix, not a character matrix.

standardize - array

Code
  standardize(bad)
Condition
  Error in `standardize()`:
  ! All columns of `y` must have unique names.
Code
  standardize(bad2)
Condition
  Error in `standardize()`:
  ! `y` must be a numeric matrix, not a character matrix.

standardize - data.frame

Code
  standardize(bad)
Condition
  Error in `standardize()`:
  ! All columns of `y` must have unique names.


Try the hardhat package in your browser

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

hardhat documentation built on March 31, 2023, 10:21 p.m.