@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
19 lines (18 loc) • 1.01 kB
TypeScript
import type { FunctionInfo } from './function-info';
/**
* The installers that fetch a package from somewhere other than a configured CRAN-like repository, with the
* argument naming what they fetch: a `user/repo` slug for the forge installers, a url or path for the rest.
* `remotes` implements them and `devtools` re-exports the whole API, so the entries state no package and match
* either spelling as well as the bare name.
*/
export declare const RemoteFunctions: FunctionInfo[];
/**
* What a remote reference installs, as the installers spell it: `user/repo` (the package is `repo`),
* `user/repo/subdir` (the package sits in `subdir`), `user/repo@v1.2` or `user/repo#42` (pinned to a revision),
* `github::user/repo` (a `pak` source prefix), and a clone url whose last segment names the package.
* `undefined` for a value that never resolved, which names nothing.
*/
export declare function remoteTarget(value: string | undefined): {
packageName: string;
revision?: string;
} | undefined;