powered by
Check that while (TRUE) is not used for infinite loops.
while (TRUE)
repeat_linter()
readability, style
linters for a complete list of linters available in lintr.
# will produce lints lint( text = "while (TRUE) { }", linters = repeat_linter() ) # okay lint( text = "repeat { }", linters = repeat_linter() )
Run the code above in your browser using DataLab