Closed
Description
Steps to reproduce
Run lintr::lint()
on the following snippets.
This one throws Error in rep.int(character, length) : invalid 'times' value
:
function() {)
This one hangs forever:
{ if (x) x()
Expected behavior
The function should exit cleanly and report a human-readable error.
Notes
Tested on version 3.0.0
released to CRAN as well as the development version at commit 6c3f0fd
.