Error(s) in re-building vignettes:
  ...
--- re-building 'Dirichlet-elicitation.Rmd' using rmarkdown
--- finished re-building 'Dirichlet-elicitation.Rmd'

--- re-building 'Multivariate-normal-copula.Rmd' using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
SHELF
 --- call from context --- 
copulaSample(myfit1, myfit2, cp = conc.prob, n = 1000, d = c("beta", 
    "beta"))
 --- call from argument --- 
if (class(r.check) == "try-error") {
    cat("Elicited correlation matrix is not positive definite.")
    if (nrow(r) == 3) {
        cat("\nConsider adjusting one of the concordance probabilities\nto be within the following limits.\n\n")
        limits <- sapply(3:1, getConcordanceLimits, cor.mat = r)
        rownames(limits) <- c("lower", "upper")
        colnames(limits) <- c("  p_{1,2}", "  p_{1,3}", "  p_{2,3}")
        print(limits)
        return(NULL)
    }
} else {
    z <- MASS::mvrnorm(n, mu = rep(0, n.vars), r)
    p <- pnorm(z)
    theta <- matrix(0, n, n.vars)
    for (i in 1:n.vars) {
        if (d[i] == "best") {
            d[i] <- as.character(elicitation.fits[[i]]$best.fitting[1, 
                1])
        }
        theta[, i] <- feedback(elicitation.fits[[i]], quantiles = p[, 
            i])$fitted.quantiles[d[i]][, 1]
    }
    return(theta)
}
 --- R stacktrace ---
where 1: copulaSample(myfit1, myfit2, cp = conc.prob, n = 1000, d = c("beta", 
    "beta"))
where 2: eval(expr, envir, enclos)
where 3: eval(expr, envir, enclos)
where 4: withVisible(eval(expr, envir, enclos))
where 5: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 6: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 7: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 8: 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 9: evaluate::evaluate(...)
where 10: 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 11: 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 12: block_exec(params)
where 13: call_block(x)
where 14: process_group.block(group)
where 15: process_group(group)
where 16: 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 17: process_file(text, output)
where 18: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
where 19: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 20: vweave_rmarkdown(...)
where 21: engine$weave(file, quiet = quiet, encoding = enc)
where 22: doTryCatch(return(expr), name, parentenv, handler)
where 23: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 24: tryCatchList(expr, classes, parentenv, handlers)
where 25: 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)
    }
}, error = function(e) {
    OK <<- FALSE
    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", 
        file, conditionMessage(e)))
})
where 26: tools:::.buildOneVignette("Multivariate-normal-copula.Rmd", "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/SHELF.Rcheck/vign_test/SHELF", 
    TRUE, FALSE, "Multivariate-normal-copula", "UTF-8", "/tmp/Rtmpsqqctz/file4be675d1b6d6.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (..., cp, n, d = NULL) 
{
    elicitation.fits <- list(...)
    n.vars <- length(elicitation.fits)
    if (is.null(d)) {
        d <- sapply(elicitation.fits, function(x) {
            unlist(x$best.fitting)
        })
    }
    r <- sin(2 * pi * cp/2 - pi/2)
    diag(r) <- 1
    r[lower.tri(r)] <- r[upper.tri(r)]
    r.check <- try(chol(r), silent = TRUE)
    if (class(r.check) == "try-error") {
        cat("Elicited correlation matrix is not positive definite.")
        if (nrow(r) == 3) {
            cat("\nConsider adjusting one of the concordance probabilities\nto be within the following limits.\n\n")
            limits <- sapply(3:1, getConcordanceLimits, cor.mat = r)
            rownames(limits) <- c("lower", "upper")
            colnames(limits) <- c("  p_{1,2}", "  p_{1,3}", "  p_{2,3}")
            print(limits)
            return(NULL)
        }
    }
    else {
        z <- MASS::mvrnorm(n, mu = rep(0, n.vars), r)
        p <- pnorm(z)
        theta <- matrix(0, n, n.vars)
        for (i in 1:n.vars) {
            if (d[i] == "best") {
                d[i] <- as.character(elicitation.fits[[i]]$best.fitting[1, 
                  1])
            }
            theta[, i] <- feedback(elicitation.fits[[i]], quantiles = p[, 
                i])$fitted.quantiles[d[i]][, 1]
        }
        return(theta)
    }
}
<bytecode: 0x675c358>
<environment: namespace:SHELF>
 --- function search by body ---
Function copulaSample in namespace SHELF has this body.
 ----------- END OF FAILURE REPORT -------------- 
Quitting from lines 82-86 (Multivariate-normal-copula.Rmd) 
Error: processing vignette 'Multivariate-normal-copula.Rmd' failed with diagnostics:
the condition has length > 1
--- failed re-building 'Multivariate-normal-copula.Rmd'

--- re-building 'SHELF-overview.Rmd' using rmarkdown
--- finished re-building 'SHELF-overview.Rmd'

SUMMARY: processing the following file failed:
  'Multivariate-normal-copula.Rmd'

Error: Vignette re-building failed.
Execution halted