@eagleoutice/flowr - v2.16.3
    Preparing search index...
    • Asserts that in the given code, criterion a happens before criterion b according to the expected Ternary value.

      Parameters

      • shell: RShell

        The RShell instance to use for parsing and analysis.

      • code: string

        The R code to analyze.

      • a: SlicingCriterion

        The first slicing criterion.

      • b: SlicingCriterion

        The second slicing criterion that is compared against the first.

      • expected: Ternary

        The expected Ternary result indicating the happens-before relationship.

      • reversed: boolean = true

        Whether to check the reversed relationship as well, which fails where the end of a function is unreachable.

      Returns SuiteCollector<object>