tests/testthat/_snaps/sparsity.md

works with data.frames sample arg

Code
  sparsity(mtcars, sample = 0.4)
Condition
  Error in `sparsity()`:
  ! `sample` must be a whole number or `NULL`, not the number 0.4.


Try the sparsevctrs package in your browser

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

sparsevctrs documentation built on June 8, 2025, 1:48 p.m.