ReadonlyabstractConfiguration options for abstract interpretation
ReadonlydataFrame: {The configuration of the shape inference for data frames
ReadonlymaxColNames: numberThe maximum number of columns names to infer for data frames before over-approximating the column names to top
ReadonlyreadLoadedData: { maxReadLines: number; readExternalFiles: boolean }Configuration options for reading data frame shapes from loaded external data files, such as CSV files
ReadonlymaxReadLines: numberThe maximum number of lines to read when extracting data frame shapes from loaded files, such as CSV files
ReadonlyreadExternalFiles: booleanWhether data frame shapes should be extracted from loaded external data files, such as CSV files
ReadonlywideningThreshold: numberThe threshold for the number of visitations of a node at which widening should be performed to ensure the termination of the fixpoint iteration
Optional ReadonlydefaultThe default engine to use for interacting with R code. If this is undefined, an arbitrary engine from engines will be used.
ReadonlydefaultPlugins to load by default when creating a new FlowrAnalyzer
ReadonlyenginesThe engines to use for interacting with R code. Currently, supports TreeSitterEngineConfig and RShellEngineConfig. An empty array means all available engines will be used.
ReadonlygasResource-usage guard (gas) configuration.
Gas checks are disabled by default (all feature factors are 0).
Set a feature factor > 0 to enable checking for that feature.
ReadonlyignoreWhether load calls should be ignored, causing processLoadCall's behavior to be skipped
ReadonlyignoreWhether source calls should be ignored, causing processSourceCall's behavior to be skipped
ReadonlylinterLinter configuration, usually specialized per ProjectKind via FlowrConfig.specializeConfig.
ReadonlydisabledRules: string[]Rule names excluded from the default rule set (a rule requested explicitly still runs).
Optional ReadonlylogReadonlyprojectOptionalbasePackages?: string[]The packages considered part of R itself, used e.g. by the project query to classify dependencies. If
unset, flowR derives them (for the assumed R version) from the signature database via baseRPackages.
Optionalclassification?: {Overrides for the signals flowR uses to classify the ProjectKind; unset fields keep the built-in defaults.
OptionalnotebookExtensions?: string[]File extensions marking a notebook (default ipynb, rmd, qmd, rnw).
OptionalshinyDescriptionTypes?: string[]DESCRIPTION Type: values that mark a shiny app (default shiny, shiny-app, shinyapp).
OptionalshinyEntryFiles?: string[]File names a shiny app is assembled from (default app.R, ui.R, server.R, global.R).
OptionalshinyUsagePattern?: stringRegex source evidencing shiny usage in an entry file.
Optionaldiscovery?: {Scoping options for the default project discovery.
Optionalfull?: booleanCollect every file below the project root (greedy) instead of only the files the detected ProjectKind needs (default false).
Optionalignore?: string[]Case-insensitive globs that drop matching files from the intelligent discovery, regardless of kind (e.g. .Renviron to ignore environment files).
OptionalperKind?: Partial<Record<ProjectKind, { exclude?: string[]; include?: string[] }>>Per-ProjectKind include/exclude glob overrides layered on the default scoping.
OptionalfailOnInaccessiblePath?: booleanWhether a directory that cannot be traversed during file discovery (e.g. due to permissions) aborts the analysis; when false (the default) such paths are logged and skipped.
OptionalimplicitSources?: string[]Files a framework loads on its own, without any source() call (e.g. global.R in a shiny app), in load
order. Entries are case-insensitive globs (R/*.R) matched against the path, a plain name matches any file
with that name; entries matching nothing are warned about. Usually set per ProjectKind via
FlowrConfig.specializeConfig.
Whether to resolve unknown paths loaded by the r project disk when trying to source/analyze files
OptionaluseProjectType?: ProjectKindOverwrite the ProjectKind flowR would otherwise infer from the analyzed files, e.g. when auto-detection guesses wrong.
ReadonlyreplConfiguration options for the REPL
OptionalautoUseFileProtocol?: booleanAutomatically use the file protocol for inputs that look like paths (default true)
This instruments the dataflow processors to count how often each processor is called
Whether to show dim inline hints (e.g. :help) on the empty prompt; automatically disabled on non-interactive terminals
Plugins to load in REPL mode
OptionalqueryStats?: booleanWhether :query closes with the line stating how long the queries took (default true, :query* never prints it)
Whether to show quick stats in the REPL after each evaluation
OptionalshowPlugins?: booleanWhether :version grays out the plugins that did not activate during the last analysis (default false)
ReadonlysemanticsConfigure language semantics and how flowR handles them
Readonlyenvironment: {Semantics regarding the handling of the environment
ReadonlyoverwriteBuiltIns: {Do you want to overwrite (parts) of the builtin definition?
Readonlydefinitions: BuiltInDefinition<The definitions to load
Optional ReadonlyloadDefaults?: booleanShould the default configuration still be loaded?
ReadonlysolverHow to resolve constants, constraints, cells, …
ReadonlyevalStrings: booleanShould we include eval(parse(text="...")) calls in the dataflow graph?
Readonlyinstrument: {These keys are only intended for use within code, allowing to instrument the dataflow analyzer!
OptionaldataflowExtractors?: (Modify the dataflow processors used during dataflow analysis. Make sure that all processors required for correct analysis are still present! This may have arbitrary consequences on the analysis precision and performance, consider focusing on decorating existing processors instead of replacing them.
Optional ReadonlyresolveSource?: FlowrLaxSourcingOptionsIf lax source calls are active, flowR searches for sourced files much more freely, based on the configurations you give it. This option is only in effect if ignoreSourceCalls is set to false.
Readonlysigdb: {Resolving library()/use() exports from a signature database (e.g. the bundled flowr-sigdb).
Optional ReadonlyadditionalPaths?: string[]Extra directories (or bundle/manifest files) searched for signature databases, alongside the shipped default and $FLOWR_SIGDB_DIR. A downloaded full-history bundle placed here is mounted automatically.
Optional ReadonlyassumedRVersion?: stringThe R version analysis assumes when resolving versioned (base-R) package exports: a pin like "4.5",
or "auto" to detect the locally installed R (falling back to DefaultAssumedRVersion when the
engine reports none, e.g. the tree-sitter engine). Resolve it with resolveAssumedRVersion.
Optional ReadonlyautoSync?: booleanOn startup, compare the cache against the committed sigdb.remote.json link file and re-download changed shards in the background (default false; needs network, so opt-in — a git pull that updates the pointer then re-syncs automatically).
Optional ReadonlydownloadRepo?: stringGitHub owner/repo the full-history bundle is downloaded from (:signature download); default flowr-analysis/flowr, release tag sigdb-v<flowR-version>.
ReadonlyeagerlyLoad: booleanParse the database up front rather than on the first package load (default false, ignored if disabled).
ReadonlyeagerlyLoadExports: booleanAdd a vertex for every export on load rather than on demand (default false); keeps the graph small.
Readonlyenabled: booleanResolve library exports from a signature database (default true); when false no database is consulted.
ReadonlylinkBaseR: booleanEagerly attach base-R namespaces (from a signature database) so bare base calls resolve without library() (default false; changes every analysis; needs a base-R signature database).
Optional ReadonlylinkBaseRCalls?: booleanAdd a lightweight Reads edge from a bare base-R call to its signature-database function vertex (built-in:pkg:fn); base-R qualification stays edge-free unless this is on (default false; adds edges to every base call).
ReadonlylinkDescriptionDependencies: booleanEagerly attach the namespaces of the project's declared DESCRIPTION dependencies (Imports/Depends) so their exports resolve without an explicit library() (default false; changes every analysis; needs a signature database resolving the declared packages).
Optional ReadonlylinkPackageCalls?: booleanAdd a lightweight Reads edge from a resolved package call (pkg::fn/attached export) to its signature-database function vertex (default false).
ReadonlyloadProjectDependencies: booleanLoad the project's declared dependencies from its metadata files (DESCRIPTION Imports/Depends, rproject.toml, renv.lock, rv.lock) into the dependency context (default true); when false these files are not read, so neither the undefined-symbol linter nor linkDescriptionDependencies sees any project-declared dependency.
Optional ReadonlyversionOverrides?: Record<string, string>Force an exact version for specific packages (mapping a package name to a version), overriding both the project constraint and the versionSelection policy; a version missing from the database falls back with a warning (default {}).
Optional ReadonlyversionSelection?: VersionSelectionWhen a project constrains a dependency, resolve to the newest (default) or oldest version satisfying the constraint, or the system-installed version (needs R; falls back to newest when unavailable). Base-R packages always resolve against the assumed R version.
Optional ReadonlywarmInBackground?: booleanDecompress the hot shards (base + most-downloaded) in a background task on startup, so the first library() lookup is warm (default false; useful for long-running servers/REPLs, not one-shot runs).
Optionalslicer?: { autoExtend?: boolean; threshold?: number }The configuration for flowR's slicer
Optional ReadonlyautoExtend?: booleanIf set, the slicer will gain an additional post-pass
Optional Readonlythreshold?: numberThe maximum number of iterations to perform on a single function call during slicing
ReadonlytrackEnvironments: booleanTrack user-created environments (new.env(), assign(..., envir=e), get(..., envir=e),
local({}, envir=e), e$x <- v, attach(e)) with precise per-variable envState.
When disabled all envir-style calls fall through to the conservative global treatment.
Readonlyvariables: VariableResolveHow to resolve variables and their values
Optional ReadonlyversionManagement?: { linkedVersionGroups?: string[][] }Policies for reasoning about dependency versions (independent of how the signature database is loaded).
Optional ReadonlylinkedVersionGroups?: string[][]Groups of packages that must resolve to the same version (like the base packages, which share the R version); version guessing intersects each group so its members stay mutually compatible (default []).
Optional ReadonlyspecializeOverwrite (parts of) this configuration depending on the ProjectKind flowR detects for the project,
e.g. to give a shiny app its implicit sources. An entry may inherit another kind's overwrite (merged first,
with the entry's own keys winning) to avoid repeating it. Resolve it with FlowrConfig.forKind.
The configuration file format for flowR.
See