tests/testthat/_snaps/is_sym_pos_def.md

is_sym_pos_def fails with message for non-numeric matrix

Code
  is_sym_pos_def(non_sym)
Error <jute_error>
  `x` must be numeric
  x You've supplied a <character> matrix.
  i Matrix values:
  i [,1] [,2]
  i [1,] "1" "20"
  i [2,] "20" "1"

is_sym_pos_def fails with message for non-symmetric matrix

Code
  is_sym_pos_def(non_sym)
Error <jute_error>
  `x` must be symmetric
  x You've supplied a non-symmetric matrix.
  i Matrix values:
  i [,1] [,2]
  i [1,] -1.20 3.678
  i [2,] 2.45 154.800


toniprice/jute documentation built on Jan. 11, 2023, 8:23 a.m.