@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
14 lines (13 loc) • 926 B
TypeScript
import type { PackageSignatureSource } from './sigdb/reader';
/**
* Packages that attach further packages from their `.onAttach` hook, which no package metadata records: their core
* set sits in `Imports`, indistinguishable from the packages they merely use. Whoever loads one of them gets the
* whole set on the search path, so `library(tidyverse)` has to resolve `ggplot()`.
* `Depends` is handled generally by {@link attachedAlongside} and hence not repeated here.
*/
export declare const MetaPackageCores: ReadonlyMap<string, readonly string[]>;
/**
* The packages that end up on the search path alongside `pack` when it is attached: everything it `Depends` on
* (which R attaches with it) and, for a {@link MetaPackageCores|meta-package}, the core set it attaches itself.
*/
export declare function attachedAlongside(pack: string, sources: readonly PackageSignatureSource[], version?: string): readonly string[];