Error(s) in re-building vignettes:
  ...
--- re-building ‘introduction-to-ggfittext.Rmd’ using rmarkdown
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
ggfittext
 --- call from context --- 
f(...)
 --- call from argument --- 
if (is.null(data$xmin) & is.null(data$xmax) & class(params$width) != 
    "unit") {
    data$xmin <- data$x - params$width/2
    data$xmax <- data$x + params$width/2
}
 --- R stacktrace ---
where 1: f(...)
where 2: self$geom$setup_data(data, c(self$geom_params, self$aes_params))
where 3: f(..., self = self)
where 4: l$compute_geom_1(d)
where 5: f(l = layers[[i]], d = data[[i]])
where 6: by_layer(function(l, d) l$compute_geom_1(d))
where 7: ggplot_build.ggplot(x)
where 8: ggplot_build(x)
where 9: print.ggplot(x)
where 10: print(x)
where 11: normal_print(x)
where 12: knit_print.default(x, ...)
where 13: knit_print(x, ...)
where 14: withVisible(knit_print(x, ...))
where 15: fun(x, options = options)
where 16: value_fun(ev$value, ev$visible)
where 17: withVisible(value_fun(ev$value, ev$visible))
where 18: withCallingHandlers(withVisible(value_fun(ev$value, ev$visible)), 
    warning = wHandler, error = eHandler, message = mHandler)
where 19: handle(pv <- withCallingHandlers(withVisible(value_fun(ev$value, 
    ev$visible)), warning = wHandler, error = eHandler, message = mHandler))
where 20: 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 21: evaluate::evaluate(...)
where 22: 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 23: 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 24: block_exec(params)
where 25: call_block(x)
where 26: process_group.block(group)
where 27: process_group(group)
where 28: 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 29: process_file(text, output)
where 30: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet, 
    encoding = encoding)
where 31: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
    ...)
where 32: vweave_rmarkdown(...)
where 33: engine$weave(file, quiet = quiet, encoding = enc)
where 34: doTryCatch(return(expr), name, parentenv, handler)
where 35: tryCatchOne(expr, names, parentenv, handlers[[1L]])
where 36: tryCatchList(expr, classes, parentenv, handlers)
where 37: 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 38: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/ggfittext.Rcheck/vign_test/ggfittext", 
    ser_elibs = "/home/hornik/tmp/scratch/RtmpBVhitN/file58ad4a731431.rds")

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (data, params) 
{
    if ("width" %in% names(data)) {
        warning("`width` is now an argument, not an aesthetic, and will be removed in a future version")
    }
    if ("height" %in% names(data)) {
        warning("`height` is now an argument, not an aesthetic, and will be removed in a future version")
    }
    if (!(("xmin" %in% names(data) & "xmax" %in% names(data)) | 
        ("x" %in% names(data)))) {
        stop("geom_fit_text needs either 'xmin' and 'xmax', or 'x'", 
            .call = FALSE)
    }
    if (!("ymin" %in% names(data) & "ymax" %in% names(data) | 
        "y" %in% names(data))) {
        stop("geom_fit_text needs either 'ymin' and 'ymax', or 'y'", 
            .call = FALSE)
    }
    if (is.null(data$xmin) & is.null(data$xmax) & class(params$width) != 
        "unit") {
        data$xmin <- data$x - params$width/2
        data$xmax <- data$x + params$width/2
    }
    if (is.null(data$ymin) & is.null(data$ymax) & class(params$height) != 
        "unit") {
        data$ymin <- data$y - params$height/2
        data$ymax <- data$y + params$height/2
    }
    data
}
<bytecode: 0x562ae008f110>
<environment: namespace:ggfittext>
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: the condition has length > 1