sparsevctrs 0.3.4
Bug Fixes
Fixed bug where
sparse_multiplication()had a stack imbalence when returning all 0s. (#113)Fixed bug where
sparse_is_na(type = "integer")would error on character vectors. (#116)
sparsevctrs 0.3.3
CRAN release: 2025-04-14
Bug Fixes
- Fixed bug where
coerce_to_sparse_matrix()would sometimes error if input had NA values. (#109)
sparsevctrs 0.3.2
CRAN release: 2025-03-21
Bug Fixes
- Fixed bug where
sparsity()error on numeric vectors with classes. (#106)
sparsevctrs 0.3.1
CRAN release: 2025-03-17
- Fixed bug where sparse multiplication caused undefined behaviour. ($103)
sparsevctrs 0.3.0
CRAN release: 2025-03-10
New Functions
Adding the scalar arithmatic functions
sparse_division_scalar(),sparse_multiplication_scalar(),sparse_addition_scalar(),sparse_subtraction_scalar(). (#87)Adding the arithmatic function
sparse_multiplication(). (#93)Helper function
sparse_lag()bas been added. (#99)Helper function
sparse_sqrt()has been added. (#90)Helper function
sparse_replace_na()has been added. (#91)Helper functions
sparse_is_na()andsparse_which_na()have been added. (#92)
Improvements
- Adding
wtsargument tosparse_mean(). (#95)
Bug Fixes
- Fixed bug in
coerce_to_sparse_data_frame()andcoerce_to_sparse_tibble()where they didn’t work with ngCMatrix. (#89)
sparsevctrs 0.2.0
CRAN release: 2025-01-22
New Functions
sparsity()has been added, allows sparsity calculations of data.frames, matrices, and sparse matrices. (#82)Utility function
has_sparse_elements()has been added. (#70)Helper function
sparse_dummy()has beenn added. (#49)Helper functions
sparse_mean(),sparse_var(),sparse_sd(),sparse_median()has been added. (#49)
Improvements
All sparse vector types now have a significant smaller base object size. (#67)
All coerce functions have received a
callargument. (#72)is_sparse_vector()has been rewritten for speed improvement. (#76)coerce_to_sparse_matrix()Now turns dense zeroes into sparse zeroes. (#77)
Bug Fixes
Fixed bug where
coerce_to_sparse_data_frame()andcoerce_to_sparse_tibble()didn’t work with matrices with fully sparse columns. (#69)Fixed bugs where
coerce_to_sparse_matrix()would error for completely sparse columns. (#77)
