yihui / formatR

Format R Code Automatically
https://yihui.org/formatr/
256 stars 52 forks source link

Reformat /test/testit/*.R #90

Closed iqis closed 3 years ago

iqis commented 3 years ago

In assert() forms, yank description to the same line; use a single expression wrapped by {} as the second argument. Within this expression, wrap in ()s any sub-expressions which would evaluate to a logical value and be used for the assertion, including those who are returned by vapply() or Map(), as well as TRUEs.