tests/benchmark.R

## Don't test with valgrind
if (Sys.getenv("_R_CHECK_USE_VALGRIND_") == "") {

## 3. Make sure all suggested packages are installed / can be loaded
pkgs <- c("base64enc", "ggplot2", "knitr", "markdown", "microbenchmark",
          "R.devices", "R.rsp")
if (all(unlist(lapply(pkgs, FUN = requireNamespace)))) {
  html <- matrixStats:::benchmark("binCounts")
  print(html)
}

rm(list = "pkgs")

}

Try the matrixStats package in your browser

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

matrixStats documentation built on April 12, 2025, 2:18 a.m.