Skip to contents

Used as a safe fallback when scc produces no output (e.g. an empty directory or no files matching the requested extensions).

Usage

empty_scc_tibble(by_file = FALSE, dryness = FALSE)

Arguments

by_file

Logical. When TRUE returns the per-file schema; when FALSE (default) returns the per-language schema.

dryness

Logical. When TRUE includes the dryness column; when FALSE (default) the column is omitted, matching the runtime gate in scc() / scc_by_file().

Value

A zero-row tibble::tibble() whose columns and types match the output of scc() (by_file = FALSE) or scc_by_file() (by_file = TRUE) called with the same dryness flag.