@eagleoutice/flowr - v2.10.1
    Preparing search index...

    Function allRFiles

    • Retrieves all R files in a given directory (asynchronously)

      Parameters

      • input: string

        directory-path to start the search from, can be a file as well. Will just return the file then.

      • limit: number = Number.MAX_VALUE

        limit the number of files to be retrieved

      Returns AsyncGenerator<RParseRequestFromFile, number>

      Number of files processed (normally ≤ limit, is ≥ limit if limit was reached). Will be 1, if input is an R file (and 0 if it isn't).

      getAllFiles