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

--- re-building 'legendplex-analysis.Rmd' using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
beadplexr
 --- call from context --- 
.f(.x[[i]], ...)
 --- call from argument --- 
if ((class(.x) == "matrix") & is.numeric(.x)) {
    TRUE %in% (.p %in% colnames(.x))
} else {
    FALSE
}
 --- R stacktrace ---
where 1: .f(.x[[i]], ...)
where 2: purrr::map_lgl(., .get_potential_comp_matrices, .p = ff_parameters)
where 3: function_list[[k]](value)
where 4: withVisible(function_list[[k]](value))
where 5: freduce(value, `_function_list`)
where 6: `_fseq`(`_lhs`)
where 7: eval(quote(`_fseq`(`_lhs`)), env, env)
where 8: eval(quote(`_fseq`(`_lhs`)), env, env)
where 9: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
where 10: ff_keywords %>% purrr::map_lgl(.get_potential_comp_matrices, 
    .p = ff_parameters)
where 11: apply_compensation(., .compensation = .compensation)
where 12: function_list[[i]](value)
where 13: freduce(value, `_function_list`)
where 14: `_fseq`(`_lhs`)
where 15: eval(quote(`_fseq`(`_lhs`)), env, env)
where 16: eval(quote(`_fseq`(`_lhs`)), env, env)
where 17: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
where 18: flowCore::read.FCS(filename = .file_name, transformation = FALSE, 
    ...) %>% transform_bead_channels(.bead_channels = .bead_channels) %>% 
    apply_compensation(.compensation = .compensation) %>% remove_boundary_events(.channels = c(.fsc_ssc)) %>% 
    subset_channels(.filter = .filter) %>% as_data_frame_flow_frame(.channels = c(.fsc_ssc, 
    .bead_channels))
where 19: read_fcs(.file_name = .file_name)
where 20: eval(expr, envir, enclos)
where 21: eval(expr, envir, enclos)
where 22: withVisible(eval(expr, envir, enclos))
where 23: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, 
    error = eHandler, message = mHandler)
where 24: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, 
    enclos)), warning = wHandler, error = eHandler, message = mHandler))
where 25: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, 
    envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
where 26: 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 27: evaluate::evaluate(...)
where 28: 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 29: 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 30: block_exec(params)
where 31: call_block(x)
where 32: process_group.block(group)
where 33: process_group(group)
where 34: 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 35: process_file(text, output)
where 36: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 37: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 38: vweave_rmarkdown(...)
where 39: engine$weave(file, quiet = quiet, encoding = enc)
where 40: doTryCatch(return(expr), name, parentenv, handler)
where 41: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 42: tryCatchList(expr, classes, parentenv, handlers)
where 43: 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 44: tools:::.buildOneVignette("legendplex-analysis.Rmd", "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/beadplexr.Rcheck/vign_test/beadplexr", 
    TRUE, FALSE, "legendplex-analysis", "UTF-8", "/tmp/Rtmp3sUyng/file2cd717295bac.rds")

 --- value of length: 2 type: logical ---
[1]  TRUE FALSE
 --- function from context --- 
function (.x, .p) 
{
    if ((class(.x) == "matrix") & is.numeric(.x)) {
        TRUE %in% (.p %in% colnames(.x))
    }
    else {
        FALSE
    }
}
<bytecode: 0x5c0ad08>
<environment: 0x5c0efa8>
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1
SUMMARY: processing the following file failed:
  'legendplex-analysis.Rmd'

Error: Vignette re-building failed.
Execution halted