Error(s) in re-building vignettes:
  ...
--- re-building ‘Network_Scores.Rmd’ using rmarkdown
Package: EGAnet: Exploratory Graph Analysis - A Framework for Estimating the
Number of Dimensions in Multivariate Data Using Network
Psychometrics
Version: 0.8
Created on: 2019-09-24
Maintainer: Hudson Golino, University of Virginia
Authors: Alexander Christensen, University of North Carolina at Greensboro
Contributors: Robert Moulder, University of Virginia
 For citation information, type citation("EGAnet")
 For vignettes, type browseVignettes("EGAnet")
 For bugs and errors, submit an issue to <https://github.com/hfgolino/EGAnet/issues>
Package: NetworkToolbox: Methods and Measures for Brain, Cognitive, and Psychometric
Network Analysis
Version: 1.3.2
Created on: 2019-10-28
Maintainer: Alexander P. Christensen, University of North Carolina at Greensboro
Contributors: Guido Previde Massara, University College London
 For citation information, type citation("NetworkToolbox")
 For vignettes, see <https://doi.org/10.32614/RJ-2018-065> 
 For bugs and errors, submit an issue to <https://github.com/AlexChristensen/NetworkToolbox/issues>
This is lavaan 0.6-5
lavaan is BETA software! Please report any bugs.

Attaching package: 'lavaan'

The following object is masked from 'package:NetworkToolbox':

    cor2cov

Variables detected as ordinal: Act1; Act2; Act3; Act4; Act5; Act6; Act7; Act8; Aes1; Aes2; Aes3; Aes4; Aes5; Aes6; Aes7; Aes8; Fan1; Fan2; Fan3; Fan4; Fan5; Fan6; Fan7; Fan8; Fee1; Fee2; Fee3; Fee4; Fee5; Fee6; Fee7; Fee8; Ide1; Ide2; Ide3; Ide4; Ide5; Ide6; Ide7; Ide8; Val1; Val2; Val3; Val4; Val5; Val6; Val7; Val8
Warning in if (class(edges) == "formula") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(edges) == "formula") { :
  the condition has length > 1 and only the first element will be used
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
EGAnet
 --- call from context --- 
net.loads(A = A, wc = wc)
 --- call from argument --- 
if (class(A) == "EGA") {
    wc <- A$wc
    A <- A$network
}
 --- R stacktrace ---
where 1: net.loads(A = A, wc = wc)
where 2: net.scores(data = neoOpen, A = ega)
where 3: eval(expr, envir, enclos)
where 4: eval(expr, envir, enclos)
where 5: withVisible(eval(expr, envir, enclos))
where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos, 
    debug = debug, last = i == length(out), use_try = stop_on_error != 
        2L, keep_warning = keep_warning, keep_message = keep_message, 
    output_handler = output_handler, include_timing = include_timing)
where 10: evaluate::evaluate(...)
where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning), 
    keep_message = !isFALSE(options$message), stop_on_error = if (options$error && 
        options$include) 0L else 2L, output_handler = knit_handlers(options$render, 
        options))
where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE, 
    keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message), 
    stop_on_error = if (options$error && options$include) 0L else 2L, 
    output_handler = knit_handlers(options$render, options)))
where 13: block_exec(params)
where 14: call_block(x)
where 15: process_group.block(group)
where 16: process_group(group)
where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), 
    error = function(e) {
        setwd(wd)
        cat(res, sep = "\n", file = output %n% "")
        message("Quitting from lines ", paste(current_lines(i), 
            collapse = "-"), " (", knit_concord$get("infile"), 
            ") ")
    })
where 18: process_file(text, output)
where 19: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 20: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 21: vweave_rmarkdown(...)
where 22: engine$weave(file, quiet = quiet, encoding = enc)
where 23: doTryCatch(return(expr), name, parentenv, handler)
where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 25: tryCatchList(expr, classes, parentenv, handlers)
where 26: tryCatch({
    engine$weave(file, quiet = quiet, encoding = enc)
    setwd(startdir)
    output <- find_vignette_product(name, by = "weave", engine = engine)
    if (!have.makefile && vignette_is_tex(output)) {
        texi2pdf(file = output, clean = FALSE, quiet = quiet)
        output <- find_vignette_product(name, by = "texi2pdf", 
            engine = engine)
    }
    outputs <- c(outputs, output)
}, error = function(e) {
    thisOK <<- FALSE
    fails <<- c(fails, file)
    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", 
        file, conditionMessage(e)))
})
where 27: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/EGAnet.Rcheck/vign_test/EGAnet", 
    ser_elibs = "/home/hornik/tmp/scratch/RtmpjkXGl1/file1eda33c55a91.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (A, wc, rm.zero = FALSE, plot = FALSE) 
{
    if (class(A) == "EGA") {
        wc <- A$wc
        A <- A$network
    }
    comc <- NetworkToolbox::comcat(A, comm = wc, metric = "each", 
        absolute = FALSE, diagonal = 1)
    stab <- NetworkToolbox::stable(A, comm = wc, absolute = FALSE, 
        diagonal = 1)
    for (q in 1:nrow(comc)) {
        comc[q, which(is.na(comc[q, ]))] <- stab[q]
    }
    if (ncol(comc) != 1) {
        comm.str <- comc[, order(colnames(comc))]
        comm.str <- round(comm.str, 3)
    }
    else {
        comm.str <- stab
    }
    res <- list()
    if (rm.zero) {
        comm.str <- as.data.frame(ifelse(comm.str == 0, "", comm.str))
        unstd <- apply(as.matrix(comm.str), 2, as.numeric)
        unstd <- ifelse(is.na(unstd), 0, unstd)
        row.names(comm.str) <- colnames(A)
        res$unstd <- comm.str
        if (ncol(comc) != 1) {
            std <- t(t(unstd)/sqrt(colSums(unstd)))
        }
        else {
            std <- t(t(unstd)/sqrt(sum(unstd)))
        }
        std <- as.data.frame(ifelse(std == 0, "", std))
        row.names(std) <- colnames(A)
        res$std <- std
    }
    else {
        unstd <- apply(as.matrix(comm.str), 2, as.numeric)
        row.names(unstd) <- colnames(A)
        res$unstd <- unstd
        if (ncol(comc) != 1) {
            std <- t(t(unstd)/sqrt(colSums(unstd)))
        }
        else {
            std <- t(t(unstd)/sqrt(sum(unstd)))
        }
        row.names(std) <- colnames(A)
        res$std <- std
    }
    if (plot) {
        std.res <- abs(res$std)
        std.res <- std.res/rowSums(std.res)
        std.res <- std.res - 0.001
        std.res <- ifelse(std.res == -0.001, 0, std.res)
        pies <- split(std.res, rep(1:nrow(std.res)))
        qgraph::qgraph(A, layout = "spring", groups = as.factor(wc), 
            label.prop = 1.5, pie = pies, vTrans = 200, negDashed = TRUE)
    }
    return(res)
}
<bytecode: 0x55565c2b3f18>
<environment: namespace:EGAnet>
 --- function search by body ---
Function net.loads in namespace EGAnet has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1