Expand description
R input validation for multi-line editing.
Determines whether an input line is a complete R expression or needs
continuation (unclosed brackets, strings, trailing operators, etc.).
When the expression is incomplete, reedline shows the + continuation
prompt and lets the user keep typing.
Structsยง
Functionsยง
- is_
likely_ ๐incomplete - strip_
trailing_ ๐comment - Strip a trailing comment from a line, returning just the code portion. For multi-line input, only considers the last non-empty line.