In that case

```R
if (length(out) == 0) {
  no_output()
} else {
  out
}
```

would also be fine