@eagleoutice/flowr - v2.17.4
    Preparing search index...
    • Recovers a package from the files of its source (DESCRIPTION, NAMESPACE, R/*.R, paths relative to its root), parsing the code with parse. undefined if the files are no R package (no DESCRIPTION naming one). Without a NAMESPACE, as old packages have, every name not starting with a dot is exported, as R does.

      Parameters

      • files: ReadonlyMap<string, string>
      • parse: (code: string) => Tree
      • origin: string

      Returns RecoveredPackage | undefined