empty_assignment

NoteAdded in 0.0.8

What it does

Looks for patterns such as x <- {}.

Why is this bad?

Assignment of {} is the same as assignment of NULL, but the latter is clearer.

Example

a <- {}
b <- {

}

Use instead:

a <- NULL
b <- NULL