R Under development (unstable) (2024-06-30 r86854 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. > ## * load packages > library(testthat) > library(BuyseTest) Loading required package: Rcpp BuyseTest version 3.0.4 > > library(lava) Attaching package: 'lava' The following object is masked from 'package:testthat': compare > library(data.table) > library(survival) Attaching package: 'survival' The following object is masked from 'package:BuyseTest': brier > xx <- capture.output(print(veteran)) > library(riskRegression) riskRegression version 2023.12.21 > library(prodlim) > library(mvtnorm) > > ## * run tests > ## setwd("~/Documents/GitHub/BuyseTest/tests/") > ## source("~/Documents/GitHub/BuyseTest/tests/testthat/test-BuyseTest-engine.R") > test_check("BuyseTest") [ FAIL 0 | WARN 0 | SKIP 1 | PASS 1194 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-BuyseTest-previousBug.R:553:1' [ FAIL 0 | WARN 0 | SKIP 1 | PASS 1194 ] > > ## * memory check > ## /data/gannet/ripley/R/packages/tests-clang-SAN/BuyseTest/src/FCT_buyseTest.cpp:894:20 > > ## ** valgrind > ## Information: https://kevinushey.github.io/blog/2015/04/05/debugging-with-valgrind/ > > ## R -d "valgrind --tool=memcheck --leak-check=full --track-origins=yes" --vanilla < testthat.R > ## R -d "valgrind --dsymutil=yes" -e "Rcpp::sourceCpp('segfault.cpp')" > ## R -d valgrind > > ## ** san > ## docker run --rm -ti -v $(pwd):/mydir wch1/r-debug > ## wget -O - https://github.com/bozenne/BuyseTest/tarball/master | tar xz > ## cd bozenne > ## cd test/testthat > ## RDcsan > ## install.packages(c("Rcpp","RcppArmadillo","devtools","riskRegrssion","cvAUC")) > ## devtools::install_github("bozenne/BuyseTest") > ## allFiles <- list.files() > ## lapply(rev(allFiles), function(x){cat(x,"\n"); source(x)}) > ## gctorture(TRUE) > ## > > > > > proc.time() user system elapsed 33.53 1.37 34.84