Error(s) in re-building vignettes:
  ...
--- re-building ‘examples.Rmd’ using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
FuzzyAHP
 --- call from context --- 
fuzzyPairwiseComparisonMatrix(comparisonMatrix)
 --- call from argument --- 
if (class(fuzzyScale) != "matrix") {
    if (!(length(fuzzyScale)%%3 == 0)) {
        stop(paste("The fuzzy scale lenght has to be x*3. This fuzzy scale does not fulfill this condition."))
    }
    fuzzyScale = matrix(data = fuzzyScale, nrow = length(fuzzyScale)/3, 
        ncol = 3, byrow = TRUE)
}
 --- R stacktrace ---
where 1: fuzzyPairwiseComparisonMatrix(comparisonMatrix)
where 2: fuzzyPairwiseComparisonMatrix(comparisonMatrix)
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)
    }
}, error = function(e) {
    OK <<- FALSE
    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", 
        file, conditionMessage(e)))
})
where 27: tools:::.buildOneVignette("examples.Rmd", "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/FuzzyAHP.Rcheck/vign_test/FuzzyAHP", 
    TRUE, FALSE, "examples", "UTF-8", "/home/hornik/tmp/scratch/Rtmp2uEea1/file20112f1cd2.rds")

 --- value of length: 2 type: logical ---
[1] FALSE  TRUE
 --- function from context --- 
Method Definition:

function (pairwiseComparisonMatrix, fuzzyScale = getFuzzyScale(type = "full"), 
    comparsionNotInScale = FALSE, width = 1) 
{
    if (class(fuzzyScale) != "matrix") {
        if (!(length(fuzzyScale)%%3 == 0)) {
            stop(paste("The fuzzy scale lenght has to be x*3. This fuzzy scale does not fulfill this condition."))
        }
        fuzzyScale = matrix(data = fuzzyScale, nrow = length(fuzzyScale)/3, 
            ncol = 3, byrow = TRUE)
    }
    size = nrow(pairwiseComparisonMatrix@values)
    fnMin = matrix(data = 0, nrow = size, ncol = size)
    fnModal = matrix(data = 0, nrow = size, ncol = size)
    fnMax = matrix(data = 0, nrow = size, ncol = size)
    v1diagonal = c(1, 1, 1)
    for (i in 1:size) {
        for (j in 1:size) {
            intensity = pairwiseComparisonMatrix@values[i, j]
            if (i == j & intensity == 1) {
                fnMin[i, j] = v1diagonal[1]
                fnModal[i, j] = v1diagonal[2]
                fnMax[i, j] = v1diagonal[3]
            }
            else if (intensity >= 1) {
                number = which(fuzzyScale[, 2] == intensity)
                if (length(number) == 0) {
                  if (!comparsionNotInScale) {
                    stop(paste0("Value ", intensity, " does not exist in fuzzy scale!"))
                  }
                  else {
                    min = intensity - width
                    max = intensity + width
                    if (max > 9) {
                      max = 9
                    }
                    if (min < 1) {
                      min = 1/max
                    }
                    fnMin[i, j] = min
                    fnModal[i, j] = intensity
                    fnMax[i, j] = max
                  }
                }
                else {
                  fnMin[i, j] = fuzzyScale[number, 1]
                  fnModal[i, j] = fuzzyScale[number, 2]
                  fnMax[i, j] = fuzzyScale[number, 3]
                }
            }
            else if (intensity < 1) {
                tempIntensity = pairwiseComparisonMatrix@values[j, 
                  i]
                number = which(fuzzyScale[, 2] == tempIntensity)
                if (length(number) == 0) {
                  if (!comparsionNotInScale) {
                    stop(paste0("Value ", intensity, " does not exist in fuzzy scale!"))
                  }
                  else {
                    min = tempIntensity - width
                    max = tempIntensity + width
                    if (max > 9) {
                      max = 9
                    }
                    if (min < 1) {
                      min = 1/max
                    }
                    fnMin[i, j] = 1/max
                    fnModal[i, j] = 1/tempIntensity
                    fnMax[i, j] = 1/min
                  }
                }
                else {
                  fnMin[i, j] = 1/fuzzyScale[number, 3]
                  fnModal[i, j] = 1/fuzzyScale[number, 2]
                  fnMax[i, j] = 1/fuzzyScale[number, 1]
                }
            }
            else {
                stop("This should never happen. Error in format of pairwise comparison matrix.")
            }
        }
    }
    return(new("FuzzyPairwiseComparisonMatrix", fnMin = fnMin, 
        fnModal = fnModal, fnMax = fnMax, variableNames = pairwiseComparisonMatrix@variableNames))
}
<bytecode: 0x559627755f98>
<environment: namespace:FuzzyAHP>

Signatures:
        pairwiseComparisonMatrix  
target  "PairwiseComparisonMatrix"
defined "PairwiseComparisonMatrix"
 --- function search by body ---
S4 Method fuzzyPairwiseComparisonMatrix:FuzzyAHP defined in namespace FuzzyAHP with signature PairwiseComparisonMatrix has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1
--- re-building ‘main-info.Rmd’ using rmarkdown
--- finished re-building ‘main-info.Rmd’

SUMMARY: processing the following file failed:
  ‘examples.Rmd’

Error: Vignette re-building failed.
Execution halted