@eagleoutice/flowr - v2.16.3
    Preparing search index...
    PACKAGE_STRUCTURE: {
        createSearch: () => FlowrSearchBuilder<
            "from",
            [],
            ParentInformation,
            FlowrSearchElements<ParentInformation, (...)[]>,
        >;
        info: {
            certainty: BestEffort;
            defaultConfig: () => {
                builtPackage: false;
                checkBashisms: false;
                checkFutureTimestamps: true;
                checkTopLevel: true;
                cranKnownHidden: (...)[];
                cranPack: true;
                docDirsNotInstalled: (...)[];
                hiddenAllowed: (...)[];
                leftoverExtensions: (...)[];
                maxInstalledSizeMb: number;
                maxPathLength: number;
                maxPdfBytes: number;
                reservedInstDirs: (...)[];
                standardTopLevel: (...)[];
            };
            description: "Finds problems in the package files: portable names, hidden files, top-level files, subdirectories, permissions, executables, timestamps, sizes, line endings of scripts, and vignette leftovers.";
            name: "Package Structure";
            tags: readonly [CmdCheck];
        };
        prettyPrint: {
            full: (
                r: {
                    loc: [
                        startLine: ...,
                        startColumn: ...,
                        endLine: ...,
                        endColumn: ...,
                        f?: ...,
                    ];
                    message: string;
                },
            ) => string;
            query: (
                r: {
                    loc: [
                        startLine: ...,
                        startColumn: ...,
                        endLine: ...,
                        endColumn: ...,
                        f?: ...,
                    ];
                    message: string;
                },
            ) => string;
        };
        processSearchResult: (
            _elements: FlowrSearchElements<
                ParentInformation,
                FlowrSearchElement<(...)>[],
            >,
            config: PackageStructureConfig,
            data: ReadonlyFlowrAnalysisProvider<KnownParser>,
        ) => {
            ".meta": { inspectedEntries: number; onDisk: boolean };
            results: FileResult<(...)>[];
        };
    } = ...

    Port of the file and directory structure checks of R CMD check (portable names, hidden and top-level files, subdirectories, permissions, sizes, vignettes).

    Type Declaration

    • ReadonlycreateSearch: () => FlowrSearchBuilder<
          "from",
          [],
          ParentInformation,
          FlowrSearchElements<ParentInformation, (...)[]>,
      >
    • Readonlyinfo: {
          certainty: BestEffort;
          defaultConfig: () => {
              builtPackage: false;
              checkBashisms: false;
              checkFutureTimestamps: true;
              checkTopLevel: true;
              cranKnownHidden: (...)[];
              cranPack: true;
              docDirsNotInstalled: (...)[];
              hiddenAllowed: (...)[];
              leftoverExtensions: (...)[];
              maxInstalledSizeMb: number;
              maxPathLength: number;
              maxPdfBytes: number;
              reservedInstDirs: (...)[];
              standardTopLevel: (...)[];
          };
          description: "Finds problems in the package files: portable names, hidden files, top-level files, subdirectories, permissions, executables, timestamps, sizes, line endings of scripts, and vignette leftovers.";
          name: "Package Structure";
          tags: readonly [CmdCheck];
      }
    • ReadonlyprettyPrint: {
          full: (
              r: {
                  loc: [
                      startLine: ...,
                      startColumn: ...,
                      endLine: ...,
                      endColumn: ...,
                      f?: ...,
                  ];
                  message: string;
              },
          ) => string;
          query: (
              r: {
                  loc: [
                      startLine: ...,
                      startColumn: ...,
                      endLine: ...,
                      endColumn: ...,
                      f?: ...,
                  ];
                  message: string;
              },
          ) => string;
      }
    • ReadonlyprocessSearchResult: (
          _elements: FlowrSearchElements<
              ParentInformation,
              FlowrSearchElement<(...)>[],
          >,
          config: PackageStructureConfig,
          data: ReadonlyFlowrAnalysisProvider<KnownParser>,
      ) => {
          ".meta": { inspectedEntries: number; onDisk: boolean };
          results: FileResult<(...)>[];
      }