Error(s) in re-building vignettes:
  ...
--- re-building 'intro.rmd' using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
Numero
 --- call from context --- 
nroImpute(data = ds[, convars])
 --- call from argument --- 
if (class(data) == "character") stop(data)
 --- R stacktrace ---
where 1: nroImpute(data = ds[, convars])
where 2: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
where 3: suppressWarnings(confs <- nroImpute(data = ds[, convars]))
where 4: numero.prepare.regress(ds, convars)
where 5: numero.prepare(data = dataset, variables = trvars, batch = "MALE", 
    confounders = c("AGE", "T1D_DURAT"))
where 6: eval(expr, envir, enclos)
where 7: eval(expr, envir, enclos)
where 8: withVisible(eval(expr, envir, enclos))
where 9: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 10: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 11: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 12: 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 13: evaluate::evaluate(...)
where 14: 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 15: 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 16: block_exec(params)
where 17: call_block(x)
where 18: process_group.block(group)
where 19: process_group(group)
where 20: 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 21: process_file(text, output)
where 22: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 23: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 24: vweave_rmarkdown(...)
where 25: engine$weave(file, quiet = quiet, encoding = enc)
where 26: doTryCatch(return(expr), name, parentenv, handler)
where 27: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 28: tryCatchList(expr, classes, parentenv, handlers)
where 29: 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 30: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/Numero.Rcheck/vign_test/Numero", 
    ser_elibs = "/tmp/RtmpaySW0w/file62c4233a1870.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (data, subsample = 500, standard = TRUE, message = NULL) 
{
    dfbit <- is.data.frame(data)
    data <- nroRcppMatrix(data, trim = FALSE)
    binary <- attr(data, "binary")
    if (length(data) < 1) 
        return(data)
    if (ncol(data) < 2) {
        warning("Less than two columns.")
        return(data)
    }
    if (nrow(data) < 2) {
        warning("Less than two rows.")
        return(data)
    }
    if (is.null(subsample)) 
        subsample <- nrow(data)
    else subsample <- as.integer(subsample[[1]])
    if (is.null(standard)) 
        standard <- TRUE
    else standard <- as.logical(standard[[1]])
    if (is.null(message)) 
        message <- -1
    else message <- as.double(message[[1]])
    if (!is.finite(subsample)) 
        stop("Unusable subsample size.")
    if (subsample > nrow(data)) 
        subsample <- nrow(data)
    if (subsample < 10) 
        stop("Too small subsample.")
    if (!is.finite(message)) 
        message <- -1
    rnames <- rownames(data)
    cnames <- colnames(data)
    numerics <- c()
    for (j in 1:ncol(data)) {
        flags <- is.finite(data[, j])
        if (sum(flags) > 0) 
            numerics <- c(numerics, j)
    }
    if (length(numerics) < 2) {
        warning("Less than two numeric columns.")
        return(data)
    }
    if (length(numerics) < ncol(data)) 
        warning("Non-numeric column(s) excluded.")
    sigma <- rep(NA, ncol(data))
    if (standard) {
        for (j in numerics) {
            x <- data[, j]
            sigma[j] <- stats::sd(x, na.rm = TRUE)
            if (!is.finite(sigma[j])) 
                sigma[j] <- 1
            data[, j] <- x/(sigma[j])
        }
    }
    data[, numerics] <- .Call("nro_impute", as.matrix(data[, 
        numerics]), as.integer(subsample), as.double(message), 
        PACKAGE = "Numero")
    if (class(data) == "character") 
        stop(data)
    for (j in numerics) data[, j] <- (sigma[j]) * (data[, j])
    if (dfbit) 
        data <- as.data.frame(data, stringsAsFactors = FALSE)
    rownames(data) <- rnames
    colnames(data) <- cnames
    attr(data, "binary") <- intersect(binary, cnames)
    return(data)
}
<bytecode: 0x3b080c0>
<environment: namespace:Numero>
 --- function search by body ---
Function nroImpute in namespace Numero has this body.
 ----------- END OF FAILURE REPORT -------------- 
Quitting from lines 912-916 (intro.rmd) 
Error: processing vignette 'intro.rmd' failed with diagnostics:
the condition has length > 1
--- failed re-building 'intro.rmd'

SUMMARY: processing the following file failed:
  'intro.rmd'

Error: Vignette re-building failed.
Execution halted