R Under development (unstable) (2024-06-27 r86847 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > Sys.setenv("R_TESTS" = "") > library(testthat) > library(rsparse) Loading required package: Matrix > library(data.table) > library(Matrix) > options(rsparse_omp_threads = 1L) > logger = lgr::get_logger('rsparse') > logger$set_threshold('warn') > data("movielens100k") > test_check("rsparse") [ FAIL 0 | WARN 0 | SKIP 0 | PASS 470 ] > > movielens100k = rbind( + movielens100k, + as(matrix(0, nrow = 2, ncol = ncol(movielens100k)), 'sparseMatrix'), + movielens100k[1:2, ] + ) > > proc.time() user system elapsed 25.98 0.84 26.92