Learn R Programming

brassica (version 1.0.2)

NotRun: Check BASIC Programs

Description

Returns a data frame of any BASIC program lines that contain one or more unexecuted statements. Used with repeated calls of RUN(), this provides a test of code syntax and accessibility.

Usage

NotRun(pretty = TRUE)

Value

Returns a data frame of any lines, from the currently-loaded BASIC

program, containing one or more unexecuted statements. Lines are listed with both their BASIC line numbers and the corresponding file line numbers of the source script. A persistent appearance here may, but does not necessarily, signify a problem with the line.

Arguments

pretty

A single logical value. If TRUE (the default), formatted output is printed before the data frame is returned invisibly. If FALSE, the data frame is returned normally (visibly), without any other output being printed.

See Also

RUN

Examples

Run this code
# Peruse which lines have not yet been run.
NotRun()

Run the code above in your browser using DataLab