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

> ### Name: Tensor
> ### Title: R6 Class for large Tensor (Array) in Hybrid Mode
> ### Aliases: Tensor
> 
> ### ** Examples
> 
> 
> # Create a tensor
> ts <- Tensor$new(
+   data = 1:18000000, c(3000,300,20),
+   dimnames = list(A = 1:3000, B = 1:300, C = 1:20),
+   varnames = c('A', 'B', 'C'))
> 
> # Size of tensor when in memory is usually large
> # `lobstr::obj_size(ts)` -> 8.02 MB
> 
> # Enable hybrid mode
> ts$to_swap_now()
Writing to path: /tmp/RtmpyHaWJA/working_dir/RtmpAyaafN/T5foio7mJLv12aK/file4e2856b5042.fst 
> 
> # Hybrid mode, usually less than 1 MB
> # `lobstr::obj_size(ts)` -> 814 kB
> 
> # Subset data
> start1 <- Sys.time()
> subset(ts, C ~ C < 10 & C > 5, A ~ A < 10)

 *** caught segfault ***
address f8383e18, cause 'memory not mapped'

 *** caught segfault ***
address f838351c, cause 'memory not mapped'

Traceback:
 1: fstretrieve(file_name, columns, from, to)
 2: fst::read_fst(path, ..., as.data.table = as.data.table)
 3: doTryCatch(return(expr), name, parentenv, handler)
 4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 5: tryCatchList(expr, classes, parentenv, handlers)
 6: tryCatch({    fst::read_fst(path, ..., as.data.table = as.data.table)}, error = function(e) {    stop("FST load failure: ", path)})
 7: 
Traceback:
 1: fstretrieve(file_name, columns, from, to)
 2: fst::read_fst(path, ..., as.data.table = as.data.table)
 3: doTryCatch(return(expr), name, parentenv, handler)
 4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 5: tryCatchList(expr, classes, parentenv, handlers)
 6: tryCatch({    fst::read_fst(path, ..., as.data.table = as.data.table)}, error = function(e) {    stop("FST load failure: ", path)})
 7: load_fst(self$swap_file, as.data.table = FALSE)
 8: as.matrix(load_fst(self$swap_file, as.data.table = FALSE))
 9: self$get_data()
10: do.call(`[`, args = c(alist(self$get_data()), tmp, list(drop = drop)))
11: x$subset(..., .env = .env)
12: subset.Tensor(ts, C ~ C < 10 & C > 5, A ~ A < 10)
13: subset(ts, C ~ C < 10 & C > 5, A ~ A < 10)
An irrecoverable exception occurred. R is aborting now ...
load_fst(self$swap_file, as.data.table = FALSE)
 8: as.matrix(load_fst(self$swap_file, as.data.table = FALSE))
 9: self$get_data()
10: do.call(`[`, args = c(alist(self$get_data()), tmp, list(drop = drop)))
11: x$subset(..., .env = .env)
12: subset.Tensor(ts, C ~ C < 10 & C > 5, A ~ A < 10)
13: subset(ts, C ~ C < 10 & C > 5, A ~ A < 10)
An irrecoverable exception occurred. R is aborting now ...