R Under development (unstable) (2023-12-09 r85665 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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. > ## 1. Don't test with valgrind > ## 2. Test only R (>= 3.0.2) because of that's what knitr requires > if (getRversion() >= "3.0.2" && 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") + + } Loading required namespace: base64enc Loading required namespace: ggplot2 Loading required namespace: knitr Loading required namespace: markdown Loading required namespace: microbenchmark Loading required namespace: R.devices Loading required namespace: R.rsp integer: unsorted integer: sorted double: unsorted double: sorted RspFileProduct: Pathname: d:/RCompile/CRANincoming/R-devel/matrixStats.Rcheck/tests/reports/binCounts.html File size: 36.16 kB (37026 bytes) Content type: text/html Metadata 'author': 'Henrik Bengtsson' Metadata 'title': 'binCounts() benchmarks' Metadata 'date': '2014-05-25' Has processor: FALSE Warning message: In par(parT) : argument 1 does not name a graphical parameter > > proc.time() user system elapsed 8.31 1.21 12.03