R Under development (unstable) (2018-06-28 r74935) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
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(testthat)
> library(kernelboot)
>
> test_check("kernelboot")
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/sugar/operators/Comparator_With_One_Value.h:59:10: runtime error: nan is outside the range of representable values of type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/sugar/operators/Comparator_With_One_Value.h:59:10 in
══ testthat results ═══════════════════════════════════════════════════════════
OK: 345 SKIPPED: 3 FAILED: 0
>
> proc.time()
user system elapsed
18.506 0.523 20.211
clang-UBSAN raises the following warning:
I wasn't able to reproduce it yet.