Error(s) in re-building vignettes:
  ...
--- re-building ‘InterpretingPOUMM.Rmd’ using rmarkdown
Warning in FUN(X[[i]], ...) : end value not changed
Warning in FUN(X[[i]], ...) : end value not changed
Warning in FUN(X[[i]], ...) : end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
POUMM
 --- call from context --- 
FUN(X[[i]], ...)
 --- call from argument --- 
if (class(int) == "try-error") {
    int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), ncol = 2)
    colnames(int) <- c("lower", "upper")
    int
} else {
    int
}
 --- R stacktrace ---
where 1: FUN(X[[i]], ...)
where 2: lapply(mcs, function(.) {
    int <- try(HPDinterval(.), silent = TRUE)
    if (class(int) == "try-error") {
        int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), 
            ncol = 2)
        colnames(int) <- c("lower", "upper")
        int
    }
    else {
        int
    }
})
where 3: analyseMCMCs(object$fitMCMC$chains, stat = stats[[i]], statName = names(stats)[i], 
    start = startMCMC, end = endMCMC, thinMCMC = thinMCMC, as.dt = TRUE)
where 4: FUN(X[[i]], ...)
where 5: lapply(seq_along(stats), function(i) {
    analyseMCMCs(object$fitMCMC$chains, stat = stats[[i]], statName = names(stats)[i], 
        start = startMCMC, end = endMCMC, thinMCMC = thinMCMC, 
        as.dt = TRUE)
})
where 6: summary.POUMM(x, mode = "expert", startMCMC = startMCMC, endMCMC = endMCMC, 
    thinMCMC = thinMCMC, stats = statFunctions)
where 7: summary(x, mode = "expert", startMCMC = startMCMC, endMCMC = endMCMC, 
    thinMCMC = thinMCMC, stats = statFunctions)
where 8: plot.POUMM(fitH2tMean, stat = c("H2tMean", "H2e", "H2tInf", "sigmae"), 
    doZoomIn = TRUE, doPlot = TRUE)
where 9: plot(fitH2tMean, stat = c("H2tMean", "H2e", "H2tInf", "sigmae"), 
    doZoomIn = TRUE, doPlot = TRUE)
where 10: eval(expr, envir, enclos)
where 11: eval(expr, envir, enclos)
where 12: withVisible(eval(expr, envir, enclos))
where 13: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 14: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 15: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 16: 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 17: evaluate::evaluate(...)
where 18: 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 19: 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 20: block_exec(params)
where 21: call_block(x)
where 22: process_group.block(group)
where 23: process_group(group)
where 24: 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 25: process_file(text, output)
where 26: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 27: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 28: vweave_rmarkdown(...)
where 29: engine$weave(file, quiet = quiet, encoding = enc)
where 30: doTryCatch(return(expr), name, parentenv, handler)
where 31: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 32: tryCatchList(expr, classes, parentenv, handlers)
where 33: 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 34: tools:::.buildOneVignette("InterpretingPOUMM.Rmd", "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/POUMM.Rcheck/vign_test/POUMM", 
    TRUE, FALSE, "InterpretingPOUMM", "UTF-8", "/home/hornik/tmp/scratch/RtmpmSzXp0/file3b613aaf7dcb.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (.) 
{
    int <- try(HPDinterval(.), silent = TRUE)
    if (class(int) == "try-error") {
        int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), 
            ncol = 2)
        colnames(int) <- c("lower", "upper")
        int
    }
    else {
        int
    }
}
<environment: 0x555c3f07a140>
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1
--- re-building ‘UserGuide.Rmd’ using rmarkdown

Attaching package: 'ggplot2'

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

    alpha

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Warning in FUN(X[[i]], ...) : end value not changed
Warning in FUN(X[[i]], ...) : end value not changed
Warning in FUN(X[[i]], ...) : end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
Warning in window.mcmc(mc$mcmc, start = start, end = end, thin = thinMCMC) :
  end value not changed
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
POUMM
 --- call from context --- 
FUN(X[[i]], ...)
 --- call from argument --- 
if (class(int) == "try-error") {
    int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), ncol = 2)
    colnames(int) <- c("lower", "upper")
    int
} else {
    int
}
 --- R stacktrace ---
where 1: FUN(X[[i]], ...)
where 2: lapply(mcs, function(.) {
    int <- try(HPDinterval(.), silent = TRUE)
    if (class(int) == "try-error") {
        int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), 
            ncol = 2)
        colnames(int) <- c("lower", "upper")
        int
    }
    else {
        int
    }
})
where 3: analyseMCMCs(object$fitMCMC$chains, stat = stats[[i]], statName = names(stats)[i], 
    start = startMCMC, end = endMCMC, thinMCMC = thinMCMC, as.dt = TRUE)
where 4: FUN(X[[i]], ...)
where 5: lapply(seq_along(stats), function(i) {
    analyseMCMCs(object$fitMCMC$chains, stat = stats[[i]], statName = names(stats)[i], 
        start = startMCMC, end = endMCMC, thinMCMC = thinMCMC, 
        as.dt = TRUE)
})
where 6: summary.POUMM(x, mode = "expert", startMCMC = startMCMC, endMCMC = endMCMC, 
    thinMCMC = thinMCMC, stats = statFunctions)
where 7: summary(x, mode = "expert", startMCMC = startMCMC, endMCMC = endMCMC, 
    thinMCMC = thinMCMC, stats = statFunctions)
where 8: plot.POUMM(fitPOUMM, showUnivarDensityOnDiag = TRUE, doPlot = FALSE)
where 9: plot(fitPOUMM, showUnivarDensityOnDiag = TRUE, doPlot = FALSE)
where 10: eval(expr, envir, enclos)
where 11: eval(expr, envir, enclos)
where 12: withVisible(eval(expr, envir, enclos))
where 13: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 14: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 15: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 16: 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 17: evaluate::evaluate(...)
where 18: 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 19: 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 20: block_exec(params)
where 21: call_block(x)
where 22: process_group.block(group)
where 23: process_group(group)
where 24: 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 25: process_file(text, output)
where 26: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 27: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 28: vweave_rmarkdown(...)
where 29: engine$weave(file, quiet = quiet, encoding = enc)
where 30: doTryCatch(return(expr), name, parentenv, handler)
where 31: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 32: tryCatchList(expr, classes, parentenv, handlers)
where 33: 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 34: tools:::.buildOneVignette("UserGuide.Rmd", "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/POUMM.Rcheck/vign_test/POUMM", 
    TRUE, FALSE, "UserGuide", "UTF-8", "/home/hornik/tmp/scratch/RtmpmSzXp0/file3b617852f9f2.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (.) 
{
    int <- try(HPDinterval(.), silent = TRUE)
    if (class(int) == "try-error") {
        int <- matrix(as.double(NA), nrow = ncol(as.matrix(.)), 
            ncol = 2)
        colnames(int) <- c("lower", "upper")
        int
    }
    else {
        int
    }
}
<environment: 0x5595b5fbf028>
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1
SUMMARY: processing the following files failed:
  ‘InterpretingPOUMM.Rmd’ ‘UserGuide.Rmd’

Error: Vignette re-building failed.
Execution halted