Error(s) in re-building vignettes:
  ...
--- re-building ‘Gabor_Feature_Extraction.Rmd’ using rmarkdown
--- finished re-building ‘Gabor_Feature_Extraction.Rmd’

--- re-building ‘Image_segmentation_superpixels_clustering.Rmd’ using rmarkdown
--- finished re-building ‘Image_segmentation_superpixels_clustering.Rmd’

--- re-building ‘The_OpenImageR_package.Rmd’ using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
OpenImageR
 --- call from context --- 
rotateImage(tmp_image, angle = exp_grid[i, "rotate"], method = "bilinear", 
    threads = 1)
 --- call from argument --- 
if (class(image) == "data.frame") image = as.matrix(image)
 --- R stacktrace ---
where 1: rotateImage(tmp_image, angle = exp_grid[i, "rotate"], method = "bilinear", 
    threads = 1)
where 2: invariant_hash(image3a, image3b, mode = "binary", flip = T, rotate = T, 
    angle_bidirectional = 10, crop = T)
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("The_OpenImageR_package.Rmd", "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/OpenImageR.Rcheck/vign_test/OpenImageR", 
    TRUE, FALSE, "The_OpenImageR_package", "UTF-8", "/home/hornik/tmp/scratch/Rtmparqr2K/file2d7510659bfa.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (image, angle, method = "nearest", mode = "same", threads = 1) 
{
    if (threads < 1) 
        stop("threads should be greater than 0")
    if (angle > 360 || angle < 0) 
        stop("valid angles to rotate an image are values greater than 0 and less than 360")
    if (!method %in% c("nearest", "bilinear")) 
        stop("valid methods are 'nearest', 'bilinear'")
    if (!mode %in% c("same", "full")) 
        stop("invalid mode, choose one of 'same', 'full'")
    if (class(image) == "data.frame") 
        image = as.matrix(image)
    if (class(image) == "matrix") {
        out = rotate_nearest_bilinear(image, angle, method, mode, 
            threads)
    }
    else if (class(image) == "array" && !is.na(dim(image)[3]) && 
        dim(image)[3] == 3) {
        if (mode == "same") {
            out = rotate_nearest_bilinear_array_same(image, angle, 
                method, threads)
        }
        if (mode == "full") {
            out = rotate_nearest_bilinear_array_full(image, angle, 
                method, threads)
        }
    }
    else {
        stop("invalid type of image, supported types are matrix, data frame and 3 dimensional array")
    }
    return(out)
}
<bytecode: 0x55a32bc29d08>
<environment: namespace:OpenImageR>
 --- function search by body ---
Function rotateImage in namespace OpenImageR has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1
SUMMARY: processing the following file failed:
  ‘The_OpenImageR_package.Rmd’

Error: Vignette re-building failed.
Execution halted