Running examples in ‘sys-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: eval_safe
> ### Title: Safe Evaluation
> ### Aliases: eval_safe eval_fork
> 
> ### ** Examples
> 
> #Only works on Unix
> if(.Platform$OS.type == "unix"){
+ 
+ # works like regular eval:
+ eval_safe(rnorm(5))
+ 
+ # Exceptions get propagated
+ test <- function() { doesnotexit() }
+ tryCatch(eval_safe(test()), error = function(e){
+   cat("oh no!", e$message, "\n")
+ })
+ 
+ # Honor interrupt and timeout, even inside C evaluations
+ try(eval_safe(svd(matrix(rnorm(1e8), 1e4)), timeout = 2))
+ 
+ # Capture output
+ outcon <- rawConnection(raw(0), "r+")
+ eval_safe(print(sessionInfo()), std_out = outcon)
+ cat(rawToChar(rawConnectionValue(outcon)))
+ }
oh no! could not find function "doesnotexit" 
Error in tryCatch({ : timeout reached (2.000000 sec)
R Under development (unstable) (2018-07-14 r74963)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux buster/sid

Matrix products: default
BLAS: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRblas.so
LAPACK: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] sys_1.5

loaded via a namespace (and not attached):
[1] compiler_3.6.0
> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("eval_fork", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
> cleanEx()
Error: connections left open:
	raw(0) (rawConnection)
Execution halted