Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Simon P. Couch <simonpatrickcouch@gmail.com>
  • Loading branch information
EmilHvitfeldt and simonpcouch authored Sep 24, 2024
1 parent 27e102c commit daa4294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-sparsevctrs.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test_that("sparse tibble can be passed to `fit() - xy", {

test_that("sparse matrices can be passed to `fit() - recipe", {
skip_if_not_installed("glmnet")
# Make materialization of sparse vectors throw an message
# Make materialization of sparse vectors throw a message
# https://r-lib.github.io/sparsevctrs/dev/reference/sparsevctrs_options.html
withr::local_options("sparsevctrs.verbose_materialize" = 1)

Expand Down Expand Up @@ -103,7 +103,7 @@ test_that("sparse matrices can be passed to `fit() - formula", {

test_that("sparse matrices can be passed to `fit() - xy", {
skip_if_not_installed("glmnet")
# Make materialization of sparse vectors throw an message
# Make materialization of sparse vectors throw a message
# https://r-lib.github.io/sparsevctrs/dev/reference/sparsevctrs_options.html
withr::local_options("sparsevctrs.verbose_materialize" = 1)

Expand Down

0 comments on commit daa4294

Please sign in to comment.