R Under development (unstable) (2026-07-12 r90242 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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. > library(BCodifSIS) > > set.seed(42) > X <- matrix(rnorm(30 * 6), nrow = 30, ncol = 6) > y <- X[, 1] + 0.25 * rnorm(30) > > fast <- bcodif_score(X[, 1], y) > slow <- bcodif_score_slow(X[, 1], y) > stopifnot(isTRUE(all.equal(fast, slow, tolerance = 1e-10))) > > fit <- bcodif_sis(X, y, d = 3) > stopifnot(inherits(fit, "bcodif_sis")) > stopifnot(length(fit$ix) == 3) > stopifnot(all(is.finite(fit$scores))) > > qc <- quick_check() > stopifnot(is.list(qc)) > stopifnot(qc$score_difference < 1e-10) > > proc.time() user system elapsed 0.31 0.09 0.37