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

> ### Name: adjustment
> ### Title: Compute adjustment sets for covariate adjustment.
> ### Aliases: adjustment
> ### Keywords: models graphs
> 
> ### ** Examples
> 
> ## Example 4.1 in Perkovic et. al (2015), Example 2 in Perkovic et. al (2017)
> mFig1 <- matrix(c(0,1,1,0,0,0, 1,0,1,1,1,0, 0,0,0,0,0,1,
+                   0,1,1,0,1,1, 0,1,0,1,0,1, 0,0,0,0,0,0), 6,6)
> type <- "cpdag"
> x <- 3; y <- 6
> ## plot(as(t(mFig1), "graphNEL"))
> 
> ## all
> if(requireNamespace("dagitty")) {
+ adjustment(amat = mFig1, amat.type = type, x = x, y = y, set.type =
+ "all")
+ }
Loading required namespace: dagitty


#
# Fatal error in , line 0
# Failed to create ICU collator, are ICU data files missing?
#
#
#
#FailureMessage Object: 0x7ffcc18f3ed0
==== C stack trace ===============================

    /lib64/libnode.so.64(v8::base::debug::StackTrace::StackTrace()+0x1a) [0x7f3d59f0c45a]
    /lib64/libnode.so.64(+0x92e8b1) [0x7f3d594948b1]
    /lib64/libnode.so.64(V8_Fatal(char const*, int, char const*, ...)+0x177) [0x7f3d59f07f57]
    /lib64/libnode.so.64(v8::internal::Collator::InitializeCollator(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::JSObject>)+0x473) [0x7f3d59be9413]
    /lib64/libnode.so.64(v8::internal::Runtime_CreateCollator(int, v8::internal::Object**, v8::internal::Isolate*)+0x192) [0x7f3d59d0e4a2]
    [0x32fa0b55c0d8]

 *** caught illegal operation ***
address 0x7f3d592d29a5, cause 'illegal operand'

Traceback:
 1: context_eval(join(src), private$context)
 2: get_str_output(context_eval(join(src), private$context))
 3: ct$eval(paste("global.", name, "=", value))
 4: .jsassign(xv, .jsp("GraphParser.parseGuess(global.", xv, ").toString()"))
 5: doTryCatch(return(expr), name, parentenv, handler)
 6: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 7: tryCatchList(expr, classes, parentenv, handlers)
 8: tryCatch({    .jsassign(xv, as.character(x))    .jsassign(xv, .jsp("GraphParser.parseGuess(global.", xv,         ").toString()"))    r <- structure(.jsget(xv), class = "dagitty")}, error = function(e) {    stop(e)}, finally = {    .deleteJSVar(xv)})
 9: dagitty::dagitty(result)
10: pcalg2dagitty(amat = amat, labels = lb, type = amat.type)
11: adjustment(amat = mFig1, amat.type = type, x = x, y = y, set.type = "all")
An irrecoverable exception occurred. R is aborting now ...